Tag: Object-Oriented

OOP – Inheritance – Q&A

Question 1[2 marks] What code would you write to instantiate one new MP3 object called topTrack for the lastest 3 minutes 12 seconds song “Shivers” from Ed Sheeran? ✔ ✘ ↻ A Question 2[4 marks] What are all the methods

OOP – Encapsulation – Q&A

Question 1[2 marks] What code would you write to instantiate two new padlocks: One called bikeLock that is already locked with a combination of 4321 and one called gardenShedLock that is unlocked with a combination of 1234? ✔ ✘ ↻

OOP Programming: Classes & Objects

In this blog post we will investigate how to create some basic classes and objects that could be used in a range of programming projects. Classes and Objects are the building blocks of Object-Oriented programs. You can find out about

Object-Oriented Programming – Crossword

Are you confident with your knowledge of key Object-Oriented Programming concepts: Classes & Objects, Inheritance, Encapsulation, Polymorphism and Abstract Classes? You can find our more about OOP concepts on the following page.

Object-Oriented Programming – Terminology

Click on the picture below to check your knowledge of key Object-Oriented Programming concepts: Classes & Objects, Inheritance, Encapsulation, Polymorphism and Abstract Classes.  

Object-Oriented Programming – Quiz

Before taking this quiz, make sure you are confident with your understanding of key Object-Oriented Programming concepts. Take the Quiz! (open full screen) List of Keywords If you are stuck and need a clue, you can reveal below the list

Object-Oriented Programming Concepts

Object-Oriented Programming (OOP) is a programming approach based on objects and classes. The object-oriented paradigm allows us to organise software as a collection of objects that consist of both data/attributes and behaviours. This programming concept appeared in the 1980s and

UML Diagrams

By completing the following activities you will learn about the different types of UML diagrams used to design OOP projects (Object Oriented Programming). You will learn how to draw: Use Case Diagrams, Class Diagrams, Object Diagrams, Communication Diagrams, Sequence Diagrams,

Pygame: How to control your sprite?

This tutorial is the third tutorial in a series of five Pygame tutorials: Tutorial 1 – Getting Started with Pygame Tutorial 2 – Creating Sprites using Pygame Tutorial 3 – How to control your sprites Tutorial 4 – Adding More

Creating Sprites using Pygame

This tutorial is the second tutorial in a series of five Pygame tutorials: Tutorial 1 – Getting Started with Pygame Tutorial 2 – Creating Sprites using Pygame Tutorial 3 – How to control your sprites Tutorial 4 – Adding More