Computer Science · Theme B: Computational thinking and problem-solving
B3.1 — Fundamentals of OOP for a single class
Computer Science · SL / HL · syllabus-mapped notes
CS_B3.1.1
Evaluating the fundamentals of OOP
The five core concepts, and the advantages and disadvantages of OOP across scenarios.
CS_B3.1.2
Designing classes with UML
Turning requirements into classes, methods and behaviour shown as a UML class diagram.
CS_B3.1.3
Static versus non-static members
Class variables and methods shared by all objects versus per-object instance members.
CS_B3.1.4
Defining classes and instantiating objects
Writing a class, the constructor's role in initializing state, and creating objects.
CS_B3.1.5
Encapsulation and information hiding
Bundling data with methods and using private and public to control access.