Object-Oriented Programming
The OOP Course
This course is a first course in OOP. The main laguage is Java, although references to other languages are used to make certain points. It's mostly standalone, although contextualised for those who have studied the first courses in Computer Science Paper 1.
Materials
- The Moodle page for this course contains links to the pre-recorded videos
- A help forum is available on the Moodle page too
- Lecture slides
- Examples Sheet (for all three supervisions)
- Examples class (17 Nov) slides
- Examples class (1 Dec) slides
Practical exercises on Chime
These are in the order that they are suggested in the supervision work.
- Fibonacci
- Classic collections (note that the later parts of this exercise correspond to content later in the course.)
- Matrices
- Sorting
- Chess
- Alice in Wonderland (Streams)
- Game of Life
- Product of Primes (Daily Coding Challenge Question—optional, and not in the suggested supervision work)
- Palindrome Pairs (Daily Coding Challenge Question—optional, and not in the suggested supervision work)
Take-home test
The take-home test will be released on Tuesday 26th April 2022 at 9:00am. You will have until 9am on Thursday 28th April 2022 to submit your solution.
Note: You may download the Code via moodle, or via Chime depending on your preference. However, the code must be submitted via a zip-file to moodle:
The previous years' tests are provided below for you to practice and to give you an idea of what will be expected.
Mock take-home test: Turtle graphics
Take-home test from 2019-2020: Poker
Take-home test from 2020-2021: Mario