Complete IB Computer Science Guide: What to Know Before Choosing

Every app you open, search you run, and message you send depends on code someone designed. IB Computer Science teaches you how those systems work and how to build solutions of your own.
In the new syllabus, first assessed in May 2027, Paper 1 covers concepts and a case study, Paper 2 tests problem-solving and programming, and your internal assessment is software you build to solve a real-world problem you choose.
In this guide, we'll discuss what the course covers, how HL and SL differ, how the papers and internal assessment work, how IB compares with AP and A-levels, and where it leads.
Let's define the subject first.
Key takeaways
- Taught at SL (150 hours) or HL (240 hours), IB Computer Science is a Group 4 science in the Diploma Programme. You'll write code in Java or Python.
- Two themes shape the syllabus. Theme A covers computer fundamentals, networks, databases, and machine learning, while Theme B covers computational thinking, programming, and OOP.
- HL adds five extra subtopics, such as translation and machine learning approaches, plus one new topic on abstract data types.
- From May 2027, both levels sit Paper 1 and Paper 2, each worth 35% at SL and 40% at HL. The internal assessment, a software solution to a problem you define, covers the remaining 30% or 20%.
- In May 2026, under the previous syllabus, HL students averaged 4.8 and SL students 4.4, against a Diploma mean of 4.9. Weekly coding practice and early case study research are the strongest preparation.
- Choose HL for computer science, software engineering, or data science degrees, many of which also require HL Mathematics: Analysis and Approaches. SL suits students using coding to support careers in finance, business, or engineering.
What is IB Computer Science?
IB Computer Science, or DP Computer Science, is a Group 4 science in the International Baccalaureate, alongside Biology and Chemistry. It teaches you how computing systems work and how to use them to solve real-world problems.
The syllabus is split into two themes. Theme A covers computer fundamentals, networks, databases, and machine learning. Theme B covers computational thinking, programming, and object-oriented programming, with abstract data types added at HL. You'll write code in Java or Python.
SL has 150 recommended teaching hours, while HL has 240. Both levels include a 10-hour collaborative sciences project, tackling a real-world issue with other science students.
If you're planning an EE in computer science, our IB Extended Essay Guide covers choosing a research question, structuring your essay, and managing your time.
Biology

Marketing & Entertainment

HL vs SL: which should you choose?
In a nutshell, choose HL if you'll study computer science at university, and SL if the subject supports another path.
Here's a quick guide you can use to decide:
- Choose HL if you're aiming for a computer science, software engineering, or data science degree and enjoy mathematical problem-solving. The extra depth gives you a stronger foundation for university-level study.
- Choose SL if computer science supports goals beyond a computing degree. You'll still build solid programming skills while leaving more room for your other HL subjects.
The IB Computer Science syllabus, topic by topic
The IB Computer Science syllabus has two themes: Theme A on how computing systems work, and Theme B on problem-solving.
Here are the topics each level covers:
Core topics for SL and HL
Every IB Computer Science student studies the same seven core topics, whichever level they choose.
They fall into two themes:
- Theme A: Concepts of computer science
- Computer fundamentals: Your phone runs music, messages, and maps at once thanks to its CPU, memory, and binary logic. You'll also see how operating systems decide which task runs next.
- Networks: A message reaches your friend's phone in seconds through IP addresses and packet switching. Along the way, firewalls and encryption keep that data safe from attackers.
- Databases: Grades and timetables at your school sit in databases like the ones you'll design. Using SQL, you'll then query those tables to find exactly the records you need.
- Machine learning: Behind your social media feed is an algorithm that learns what you like. Studying it means exploring the main types of machine learning and the ethical questions they raise.
- Theme B: Computational thinking and problem-solving
- Computational thinking: Before writing any code, programmers break big problems, like planning a school timetable, into small, manageable steps. Flowcharts then map out the logic of each step.
- Programming: Leaderboards and contact searches rely on sorting and searching algorithms, which you'll write yourself in Java or Python. It's the largest topic, so expect plenty of hands-on coding.
- Object-oriented programming: Think of a game with hundreds of characters, where classes and objects let each one follow shared rules. This approach keeps large programs organised and easy to update.
HL extension topics
As with most HL courses, HL Computer Science adds extra topics, with one entirely new topic on abstract data types.
These are the new areas you'll cover:
- Theme A: Concepts of computer science
- Translation: Think of translation as a live interpreter versus a translated book. Interpreters convert code as it runs, while compilers translate the whole program before it starts.
- Alternative databases and data warehouses: Supermarkets analyse years of sales to decide what to stock each season. Data warehouses make that possible, and you'll compare them with distributed and other database types.
- Data preprocessing: Training a model on bad data is like revising from notes full of mistakes. You'll learn to clean datasets, select useful features, and reduce dimensions first.
- Machine learning approaches: Face unlock, spam filters, and game-playing AI each rely on different learning methods. You'll study neural networks, clustering, linear regression, genetic algorithms, and reinforcement learning.
- Theme B: Computational thinking and problem-solving
- OOP for multiple classes: In a banking app, savings and current accounts can share one Account class while keeping their own rules. That's inheritance, which you'll study alongside polymorphism and design patterns.
- Abstract data types (new topic): Checking whether a username is taken happens instantly thanks to hash tables and sets. You'll also build linked lists, explore binary search trees, and learn when to use each.
How IB Computer Science is assessed
Two external exam papers and one internal assessment - the computational solution, make up your final IB Computer Science grade.
Here's how each part works:
Paper 1 and Paper 2
Both levels sit Paper 1 on Theme A and the pre-seen case study, and Paper 2 on Theme B. HL papers run longer, with extra questions on HL-only topics.
The table below sets out each paper at SL and HL.
Internal assessment
The internal assessment, called the computational solution, asks you to choose a computer science topic and define a problem within it. You then build software that solves it, showing the computational thinking the assessment criteria reward. It takes 35 hours and counts for 30% at SL and 20% at HL.
You'll submit documentation of up to 2,000 words, a video no longer than five minutes, and your full source code. Your teacher marks the work out of 30 across five criteria, and the IB then moderates it.
Is IB Computer Science hard?
IB Computer Science is challenging but manageable with regular practice. According to the IB Diploma Programme Statistical Bulletin (May 2026), HL students averaged 4.8 and SL students 4.4. At HL, 10.9% earned a 7.
Both sit below the overall mean grade of 4.9 for Diploma candidates, with HL only slightly behind. These results reflect the previous syllabus though, since the new course is first assessed in May 2027.
To ace Paper 1, research the case study early. For Paper 2 and your internal assessment, code in Java or Python every week and practise tracing algorithms by hand.
IB Computer Science vs AP Computer Science vs A-level Computer Science
None of IB, AP, and A-level Computer Science is the hardest, because each tests the subject differently.
Here's what makes each one challenging:
- IB Computer Science: Breadth is the challenge, with two years covering everything from networks to machine learning. You'll also tackle a pre-seen case study and a software project.
- AP Computer Science A: Everything rides on one three-hour exam, with no coursework to balance your grade. Strong Java fluency under time pressure is essential.
- A-level Computer Science: Two exams test both theory and problem-solving under pressure. The programming project then demands sustained independent work, often over several months.
Join the Immerse Education 2027 Essay Competition
Follow the instructions to write and submit your best essay for a chance to be awarded a 100% scholarship.

Where IB Computer Science can take you
After the Diploma, IB Computer Science sets you up for several degrees. These include computer science, software engineering, data science, and cybersecurity. Many also require HL Mathematics: Analysis and Approaches.
At SL, it's a strong supporting subject for careers in finance, business, and engineering, where coding skills add real value.
Graduates become software developers, data scientists, and information security analysts. If you want to learn more, our Careers in Computer Science guide explores more roles, from systems analyst to product manager.
Explore IB Computer Science with Immerse Education
Choosing HL without coding experience can feel like a leap, especially as the IB recommends some programming background first. The good news is that you can build that foundation before your Diploma begins.
Our Computer Science Summer School runs for two weeks in Cambridge and Oxford for ages 13 to 18. Guided by tutors from academia and industry, you'll learn Python, explore algorithms and machine learning, and complete a personal project.
Prefer to learn from home? Our Online Research pathway offers one-to-one guidance from expert tutors on programming and data structures, with no prior experience needed.
FAQs
What does the IB Computer Science course actually involve?
The course teaches how computing systems work and how to use them to solve problems. You'll study two themes, sit two exam papers, and build your own software for the internal assessment.
What's on the IB Computer Science syllabus?
Theme A covers computer fundamentals, networks, databases, and machine learning. Theme B covers computational thinking, programming, and object-oriented programming. HL adds extra subtopics and a new topic on abstract data types.
What is the IB Computer Science IA?
The IA is a computational solution: software solving a problem you define within a computer science topic. You submit up to 2,000 words of documentation, a video of up to five minutes, and source code.
Is IB Computer Science hard?
It's challenging but manageable with regular practice. May 2026 results, under the previous syllabus, put HL at an average of 4.8 and SL at 4.4. Both sit below the overall Diploma mean grade of 4.9.
What is the hardest IB subject?
The IB doesn't officially rank any subject as the hardest. Many students point to Mathematics: Analysis and Approaches HL. In practice, difficulty depends on your strengths and how well a subject's assessment suits you.
Is IB harder than AP?
Neither is simply harder, because they test computer science differently. IB runs for two years with coursework, while AP Computer Science A rests on one three-hour Java exam.
Conclusion: making your decision
Whether you love writing code, working with data, or understanding everyday technology, IB Computer Science rewards curiosity. The right level depends on where you want it to take you.
Choose HL if a computer science degree is your goal and you've already written some code. Choose SL if computing supports another path, such as business or engineering.
Whichever level you pick, start early: research the case study as soon as it's released, and code every week to prepare for Paper 2 and your internal assessment.
Want to start your Diploma already confident in Python? Join our Computer Science Summer School in Cambridge or Oxford, and build your first real project before day one.

Unlock Inspiring Opportunities with the Immerse Education Newsletter
Join our newsletter to stay ahead with exclusive updates, exciting programme highlights, and expert insights from the world of immersive education.
Learn how Immerse can transform your life
An in-depth overview of our university and career preparation programmes
Get a glimpse into the life of an Immerse participant
Find the right programme for you with sample timetables, location showcases, and more





