Skip to content
Marlbridge

Study Guides

IB DP Computer Science B.3: Object Oriented Programming

Overview study guide to B.3 Object oriented programming in IB DP Computer Science (first assessment 2027): SL and HL hours, Paper 2 coverage and how to prepare.

Level
IB
Topic
B.3 – Object oriented programming (OOP)
Updated

Aligned to International Baccalaureate IB Diploma Programme Computer Science (DP Computer Science), First assessment 2027. Official subject brief .

Syllabus page (what it covers and how it is assessed): IB Diploma Programme Computer Science.

Found an error? Report a correction.

Need help with this topic? Request a free trial class for IB Diploma Programme Computer Science (DP Computer Science (2014) / DP Computer Science (2027)).

B.3 Object oriented programming (OOP) is the third sub-topic of Theme B, “Computational thinking and problem-solving”, in the IB Diploma Programme Computer Science course first assessed in 2027. It is studied at both levels but is much larger at HL (23 hours) than at SL (7 hours), and the IB subject brief says Paper 2 includes additional HL questions focused on OOP. Programming questions can be answered in Java or Python.

Scope of this page. This overview is written from the IB’s public Diploma Programme Subject Brief, Sciences: Computer science, first assessment 2027 (© International Baccalaureate Organization 2024). The brief names B.3 and gives its teaching hours and assessment, but it does not list the B.3 learning outcomes. Those are in the full DP Computer Science guide, available to IB schools through the Programme Resource Centre. Follow your school’s copy of the full guide for exact content, terminology and depth.

What does the IB subject brief say about B.3?

Item Subject brief
Name B.3 Object oriented programming (OOP)
Theme B, “Computational thinking and problem-solving” (Theme B “focuses on how we can use computing systems to solve real-world problems”)
Recommended teaching hours 7 SL / 23 HL
Paper 2 Questions for SL and HL on the three topics in Theme B; additional questions for HL focused on OOP and abstract data types
Languages The course can be studied in Python or Java; Paper 2 programming questions have equivalent Java and Python versions

Because Paper 2 at SL covers “the three topics in Theme B”, B.3 is examined at SL as well as HL. The large difference in hours (7 against 23), together with the extra HL questions, means HL students should expect considerably more depth.

B.3 has 7 recommended teaching hours at SL and 23 at HL. HL has 16 more hours, which is more than three times the SL time.
B.3 has 7 teaching hours at SL and 23 at HL.
SL Paper 2 is 1 hour 15 minutes and 35 percent, with questions on the three Theme B topics. HL Paper 2 is 2 hours and 40 percent, with the same Theme B questions plus extra HL questions on OOP and abstract data types. Programming questions have equivalent Java and Python versions.
How Paper 2 differs at SL and HL, and that programming questions come in Java and Python.

How does B.3 fit with the rest of Theme B?

The brief describes the course as developing “skills in algorithmic thinking and computer programming”, underpinned by the computational thinking process. In Theme B, B.1 sets out that process, B.2 Programming builds general programming skill (40 SL / 42 HL hours), and B.3 applies programming in an object oriented style. At HL, B.4 Abstract data types (23 hours, HL only) follows.

B.1 sets out the thinking process, B.2 builds general programming skill, and B.3 applies programming in an object oriented style. B.4 follows at HL only. Hours are shown for each at SL and HL.
B.3 sits between general programming (B.2) and abstract data types (B.4) in Theme B.

General background: what is object oriented programming?

This short section is general computer-science background, not the IB’s list of B.3 outcomes. In object oriented programming, a program is organised around classes, which define the data (attributes) and behaviour (methods) of a kind of thing, and objects, which are individual instances of a class. Both Java and Python, the two languages the brief names, support this style. The exact OOP terms and features you must know, such as how far the course goes into relationships between classes, are defined in the full guide.

A class defines the attributes (data) and methods (behaviour) of a kind of thing. Objects are individual instances of the class. In this illustrative example two Book objects hold different data and each answers describe() with its own details.
A class is a blueprint and objects are instances of it (illustrative example).

How should you prepare for B.3?

  • Get your teacher’s list of B.3 learning outcomes from the full guide and turn it into a checklist.
  • Write small object oriented programs in your course language (Java or Python) regularly; Paper 2 includes programming questions.
  • At HL, plan for B.3 to take more than three times the SL teaching time and practise the longer HL Paper 2 questions.
  • Use the computational thinking process from B.1 when designing classes: specify the problem and success criteria, decompose it, abstract the data that matters, then test and evaluate.
  • Consider using OOP in your computational solution (internal assessment) if it suits your problem.
Designing a class follows the B.1 process. Specify the problem and a success criterion, decompose it, abstract the data that matters, then test and evaluate. This illustrative example uses a Book class and a describe() test that passes.
Using the four B.1 steps to design a class (illustrative example).

Frequently asked questions

Is OOP examined at SL? Yes. The brief says Paper 2 has questions for SL and HL on the three topics in Theme B, and gives B.3 7 hours at SL. HL has 23 hours and additional Paper 2 questions on OOP.

Do I have to use Java for OOP? No. The brief says the course can be studied in Python or Java, and Paper 2 programming questions have equivalent versions in each.

Where is the full list of B.3 content? In the full DP Computer Science guide, available through the IB Programme Resource Centre. The public subject brief does not list it.

How heavily is Paper 2 weighted? 35% of the final grade at SL (1 hour 15 minutes) and 40% at HL (2 hours).

Source

International Baccalaureate Organization, Diploma Programme Subject Brief, Sciences: Computer science, first assessment 2027 (© 2024). The complete subject guide is available through the IB Programme Resource Centre.

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.

Subjects (optional, up to 6)

Choose a qualification to see its subjects.

Related resources

Related articles

Studying this with a teacher

Working through Computer Science IB?

This page is free and stays free. If you would rather be taught it, Marlbridge runs Computer Science classes one-to-one, online in your own time zone. The first trial class is free. WhatsApp replies within an hour (8am–11pm Pakistan time, every day); email the same day.

IB Computer Science teachers at Marlbridge