Exam Preparation · IB Diploma
IB Computer Science
The IB Diploma course at Standard and Higher Level, for first exams in May 2027. Choose your level and every page shows only what you need for it.
HL: everything below, including the parts marked HL.
SL: HL-only sections and points are hidden.
A1
Computer fundamentals
-
A1.1
Computer hardware and operation
CPU, GPU, memory, the fetch–decode–execute cycle, storage, compression and cloud services.
HL A1.1.3, A1.1.6
-
A1.2
Data representation and computer logic
Number bases, how binary stores data, logic gates, truth tables and logic diagrams.
-
A1.3
Operating systems and control systems
What an OS does, scheduling, interrupts and polling, multitasking and control systems.
HL A1.3.5, A1.3.6, A1.3.7
-
A1.4
Translation
How interpreters and compilers translate code, and when to use each.
A2
Networks
-
A2.1
Network fundamentals
Network types, digital infrastructure, devices, protocols and the TCP/IP model.
HL A2.1.5
-
A2.2
-
A2.3
-
A2.4
Network security
Firewalls, common vulnerabilities and countermeasures, encryption and digital certificates.
HL A2.4.2, A2.4.3
A3
Databases
-
A3.1
Database fundamentals
Features, benefits and limitations of relational databases.
-
A3.2
Database design
Schemas, ER diagrams, data types, tables, normal forms up to 3NF and denormalizing.
-
A3.3
Database programming
SQL for querying and updating, aggregate functions, views and transactions.
HL A3.3.4, A3.3.5, A3.3.6
-
A3.4
Alternative databases and data warehouses HL only
Database types, data warehouses, OLAP and data mining, distributed databases.
A4
Machine learning
-
A4.1
Machine learning fundamentals
Types of machine learning, where they are used and the hardware they need.
-
A4.2
Data preprocessing HL only
Data cleaning, feature selection and dimensionality reduction.
-
A4.3
Machine learning approaches HL only
Regression, classification, clustering, reinforcement learning, genetic algorithms, ANNs and CNNs.
-
A4.4
Ethical considerations
The ethics of machine learning as it becomes part of daily life.
B1
Computational thinking
-
B1.1
Approaches to computational thinking
Problem specifications, the core concepts of computational thinking and tracing flowcharts.
B2
Programming
-
B2.1a
Programming fundamentals, part 1
Variables, data types and substrings.
-
B2.3
Programming constructs
Sequence, selection, loops, functions and modularization.
-
B2.1b
Programming fundamentals, part 2
Exception handling and debugging.
-
B2.2
Data structures
Static and dynamic structures, arrays and lists, stacks and queues.
-
B2.4
-
B2.5
File processing
Reading from and writing to files in code.
B3
Object-oriented programming
-
B3.1
OOP for a single class
Classes, objects, encapsulation, and static and non-static members.
-
B3.2
OOP for multiple classes HL only
Inheritance, polymorphism, abstraction, composition and design patterns.
B4
Abstract data types
-
B4.1
Fundamentals of abstract data types HL only
Linked lists, binary search trees and sets as abstract data types.
IB
Assessment
-
CS
Case study
How to research the annual case study for Section B of Paper 1.
-
IA
Internal assessment
Choosing a problem and building a software solution, criterion by criterion.
How the two levels differ
| SL | HL | |
|---|---|---|
| Paper 1 total | 50 marks | 80 marks |
| Case study in Paper 1 | 12 marks (24%) | 24 marks (30%) |
| Case study essay | 6 marks | 12 marks |
| Case study teaching time | 15 hours | 30 hours |
| Internal assessment | 30% of the grade | 20% of the grade |
You can answer programming questions in Python or Java. Lessons here use Python first.
28 of 28 pages built · 26 syllabus sections plus the two assessment guides.