Back to marketplace

Objected-orientated programming

No description yet. This curated deck is ready for daily study.

Total cards: 14•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (14)

#1
Front (Question)

Objects:

Back (Answer)

Instances of classes that encapsulate data and behaviour.

#2
Front (Question)

Classes:

Back (Answer)

Blueprint or template for creating objects.

#3
Front (Question)

Inheritance:

Back (Answer)

A mechanism for creating a new class that is a modified version of an existing class.

#4
Front (Question)

Polymorphism:

Back (Answer)

The ability of objects to take on multiple forms, often achieved through method overloading and overriding.

#5
Front (Question)

Encapsulation:

Back (Answer)

Bundling of data and methods that operate on the data within a single unit (class).

#6
Front (Question)

Attributes (Properties):

Back (Answer)

Variables that store data in a class.

#7
Front (Question)

Methods (Functions):

Back (Answer)

Functions that perform actions within a class.

#8
Front (Question)

class example (Creation)

Back (Answer)

class Car: def __init__(self, make, model): self.make = make self.model = model def display_info(self): print(f"{self.make} {self.model}")

#9
Front (Question)

What is a setter

Back (Answer)

A setter is a special type of method that sets one of the attributes equal to a special value

#10
Front (Question)

What is a Getter method

Back (Answer)

A getter is a special type of method that obtains the value of one of the attributes of the object.

#11
Front (Question)

Back (Answer)

#12
Front (Question)

Back (Answer)

#13
Front (Question)

Back (Answer)

#14
Front (Question)

Back (Answer)