Computer Science · IB Diploma

IB Diploma Computer Science: concepts and code

The IB course has two themes: how computers and networks work, and how to solve problems with code. The tutor teaches both on the board and traces each program with your child.

  • First five-minute lesson free
  • No card needed
  • Cancel any time

Which version of the course?

The IB introduced a new Computer Science guide for teaching from 2025, with first exams in 2027. Students who sit exams from 2027 follow it. Older cohorts followed a different guide with an option paper and an HL case study.

This page describes the new course in outline. Ask the school which guide your child follows, and check the details in the IB guide. The tutor then follows that version.

Course structure in outline

PartWhat it coversHow it is assessed
Theme A: Concepts of computer scienceComputer fundamentals, networks, databases and machine learningWritten exam paper
Theme B: Computational thinking and problem-solvingComputational thinking, programming, object-oriented programming; abstract data types at HLWritten exam paper, code in Python or Java
Internal assessmentA computational solution to a real problem, with documentationMarked by the teacher, checked by the IB

HL covers more depth in both themes. For paper lengths and weights, check the current IB Computer Science guide.

Common mistakes

  • Learning syntax, not logic

    Exam code questions test what a program does. Tracing by hand matters more than memorised syntax.

  • Short theory answers

    "Explain" and "discuss" need a reason and a link to the context, not a definition alone.

  • Mixing up OOP terms

    Class and object, attribute and method, inheritance and composition.

  • A weak IA problem

    The solution needs a real problem with clear success criteria from the start.

Try it yourself

Exam-style example (written by Tutorwell). Trace this Python code and state the output. Line 1: scores = [12, 7, 15, 9, 15]. Line 2: best = scores[0]. Line 3: count = 0. Line 4: for s in scores:. Line 5: if s > best: best = s; count = 1. Line 6: elif s == best: count = count + 1. Line 7: print(best, count). Then explain why count starts at 0.

Check your answer

Start: best = 12, count = 0. s = 12: equal to best, so count = 1. s = 7: no change. s = 15: greater, so best = 15 and count = 1. s = 9: no change. s = 15: equal, so count = 2. The output is 15 2. The count starts at 0 because the loop also visits the first item and counts it once.

A 6-8 week plan before the exams

  1. Week 1: level and guide

    Set SL or HL, the guide, Python or Java, and the exam date.

  2. Weeks 2-3: Theme A

    Fundamentals, networks and databases, with diagrams drawn on the board.

  3. Weeks 3-5: Theme B

    One algorithm or class per lesson. Your child traces it, then writes a variant.

  4. Week 6: HL extension

    Stacks, queues, linked lists and trees for HL students.

  5. Week 7: timed questions

    Original exam-style questions under time, then an error log.

  6. Final week: review

    Key terms and the topics still marked learning.

How Tutorwell teaches IB Computer Science

The tutor writes code or pseudocode on the board and draws a trace table. Your child says the value of each variable after each line. For OOP, the tutor draws class diagrams with attributes and methods.

For the internal assessment, the tutor helps your child plan and test, and explains errors. It does not write the solution, because the IA must be your child's own work. See the IB Diploma for the full programme.

Questions parents ask

Python or Java?

The school chooses. The tutor follows the language your child uses in class.

Is IB Computer Science hard without coding experience?

Many students start with little coding. Regular tracing practice from the first term helps most.

Can lessons be in Arabic?

Yes. Choose English with Arabic support. The tutor explains in Arabic and gives the English term, because the exam is in English.

Is Tutorwell linked to the IB?

No. Tutorwell is independent and writes its own practice questions.

Try a lesson

The first five-minute lesson is free, with no card. Tell the tutor the curriculum, the year and the topic.

Get started

Last checked . Tutorwell is an AI tutor, not a person, and it tells your child so.