Skip to main contentSkip Navigation or Skip to Content
Thompson Rivers University
Thompson Rivers University

COMP 1231: Computer Programming II

In this continuation of COMP 1131: Computer Programming I, students are introduced to the programming tools required to solve a more advanced set of problems. Students further develop their knowledge of the principles of object-oriented design and programming, including the use of interfaces and inheritance, and learn the fundamentals of sorting data and data structures.

Learning outcomes

  • Work with procedural and object-oriented aspects of the Java language.
  • Develop sound techniques for designing, developing, and documenting well-structured programs using proper software engineering principles.
  • Continue to apply problem-solving skills and provide a foundation for advanced programming courses using an object-oriented programming (OOP) methodology.
  • Implement common programming algorithms for data collections for use in further programming courses.
  • Develop a GUI interface and related processing for an application.

Course topics

  • Module 1: Inheritance
  • Module 2: Polymorphism
  • Module 3: Exceptions
  • Module 4: Introduction to Collections - Stacks
  • Module 5: Graphical User Interfaces

Required text and materials

The following text would have been purchased in COMP 1131. If students did not take COMP 1131 and/or don't already own the required textbook, please be aware that students will need to purchase it. To do so, please contact Enrolment Services at or 1.800.663.9711 (toll-free in Canada), 250.852.7000 (Kamloops, BC),

  1. Lewis, J., DePasquale, P., & Chase, J. (2020). Java foundations: Introduction to program design and data structures (5th ed.). Boston, MA: Pearson.
    Type: Textbook. ISBN: 978-0-13-520597-6

Note: Students with the 4th edition of the text are not required to update to the 5th edition; however, please note that there will be some variation with page references in the course.

This textbook is also used for the TRU-OL courses COMP 2231, as well as the TRU on-campus courses COMP 1130, 1230, and 2230.

Additional requirements

  • Java Programming Language.
  • Microsoft Office or other Office software to view to view Power Point presentations.


Please be aware that should your course have a final exam, you are responsible for the fee to the online proctoring service, ProctorU, or to the in-person approved Testing Centre. Please contact with any questions about this.

To successfully complete this course, students must achieve 50% or higher on the overall course, and 50% or higher on the final mandatory exam.

Quiz 1 2%
Assignment 1: Inheritance 8%
Quiz 2 2%
Assignment 2: Polymorphism 8%
Quiz 3 2%
Assignment 3: Exceptions 8%
Quiz 4 2%
Assignment 4: Introduction to Collections - Stacks 8%
Quiz 5 2%
Assignment 5: Graphical User Interfaces 8%
Final Exam (mandatory) 50%
Total 100%

Open Learning Faculty Member Information

An Open Learning Faculty Member is available to assist students. Students will receive the necessary contact information at the start of the course.

Search To Top