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

Upon completion of the course, students will be able to

  • Work with procedural and object-oriented aspects of the Java language.
  • Develop sound techniques on 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 OOP (object-oriented programming) methodology.
  • Implement basic common programming data structures (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
  • 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),

  • 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.

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

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 due to COVID-19 safety guidelines all in-person exams have been suspended. As such, all final exams are currently being delivered through ProctorU, which has an approximate fee of $35 involved. There will be more information in your course shell, on how to apply, if your course has a final exam.

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

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 8%
Quiz 5 2%
Assignment 5: Graphical User Interfaces 8%
Final Examination (mandatory) 50%
Total 100%

Open Learning Faculty Member

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

Search To Top