Hong Kong · IB Diploma Computer Science · exams from May 2027

IB Computer Science Paper 1 and Paper 2, explained

From May 2027 the IB Computer Science exam is two papers, not three, and the papers do different jobs. Paper 1 asks what a student knows about computers, networks, data and machine learning, and how they read a case study released before the exam. Paper 2 asks them to think and program. This guide sets out both, from summaries of the new guide, and how we prepare students for them one to one, live online, in English.

Teaching live since 2020 · 10,000+ students worldwide · Hong Kong lessons are one to one, online, in English

The two papers in brief

Under the IB Computer Science guide first examined in May 2027, students sit two papers. Paper 1 covers Theme A (computer fundamentals, networks, databases, machine learning) and, in its Section B, a pre-seen case study; Paper 2 covers Theme B (computational thinking, programming, object-oriented programming, and abstract data types at HL), in a Java or a Python version. Vendor summaries give 1 hour 15 minutes per paper at SL and 2 hours at HL. Modern Age Coders prepares Hong Kong students for both, live online, one to one and in English, at hours the family chooses; the first class is free.

Exam courses

Which course prepares a Hong Kong student for IB CS Paper 1 and Paper 2?

The first course covers both papers. The second sharpens Paper 2 problem solving; the third suits students on the Java version of Paper 2. Hong Kong families take all three one to one.

Structure

How are IB Computer Science Paper 1 and Paper 2 structured from 2027?

ibo.org refuses our requests, so the figures here come from AssessPrep and ManageBac, two Faria Education Group platforms used by IB schools, summarising the new guide. Treat them as summaries: the school's copy of the guide and the specimen papers are the authority.

IB Computer Science exams from May 2027, SL against HL (AssessPrep summary; marks per minute and totals are our arithmetic)
PaperSL lengthHL lengthSL weightHL weight
Paper 1: Theme A, Section A; pre-seen case study, Section B1 h 15 min2 h35%40%
Paper 1 marks: Section A plus Section B38 + 12 = 5056 + 24 = 80case study 24% of the papercase study 30% of the paper
Paper 2: Theme B, Java or Python version1 h 15 min2 h35%40%
Internal assessment (computational solution)not timednot timed30%20%
Exam time in total150 min240 min70% from papers80% from papers

Lengths, weights and Paper 1 section marks: AssessPrep (Faria Education Group), “IB DP Computer Science new syllabus 2027: 10 changes to know”, 18 May 2026, read 24 November 2026. The sums, the case-study shares (12 of 50, 24 of 80) and the totals are our arithmetic. Paper 2 mark totals were not in the summaries we read, so they are not printed.

Ninety seconds a mark

Our arithmetic: Paper 1 gives 75 minutes for 50 marks at SL and 120 minutes for 80 at HL. Both work out at 1.5 minutes a mark, which is a useful pace to train.

The case study is bigger at HL

Section B is 12 of 50 Paper 1 marks at SL but 24 of 80 at HL. ManageBac adds that HL students explore 4 case-study challenges to SL's 2.

Paper 3 has gone

AssessPrep reports that from May 2027 “Paper 3 no longer exists at SL or HL”; the case study that used to fill it now sits in Paper 1.

The weights explain where revision time should go. At HL the two papers carry 80% of the grade between them; at SL they carry 70%, and the internal assessment the other 30%. The IA has its own page, our guide to the 2027 IB CS syllabus covers what changed in the course as a whole, and this page concentrates on the two exams.

Paper 1

What is on IB Computer Science Paper 1?

Paper 1 is the concepts paper. AssessPrep describes Theme A as “Computer fundamentals, networks, databases, and a new focus on machine learning”, and Section B as “the case-study section, based on a pre-seen scenario released ahead of the exam”.

Section A: Theme A concepts

Section A is where a student explains how computers, networks and databases work, and what machine learning is and is not. Summaries of the new guide say databases, once optional, are now studied by everyone, and machine learning enters the course for the first time, with deeper treatment at HL.

Marks go to precise vocabulary used correctly. A student who writes that a database “stores data” scores less than one who explains what a primary key prevents. Hong Kong students who learned these topics first in Chinese, at a DSS school, often know the idea and lose the English term; we drill the terms.

Section B: the pre-seen case study

The IB releases a case study before the exam. Section B asks questions on it, and ManageBac reports that SL students explore 2 “challenges” in it and HL students 4. AssessPrep notes that SL students now meet a case study their predecessors never faced.

Preparing well means reading the case study the way an analyst would: listing its systems, data, stakeholders and risks, and the technical terms it introduces, then practising answers to questions we write about it. We do not reproduce the IB's case study here; your child's school provides it.

  1. Command words first. “Describe”, “explain” and “evaluate” ask for different lengths and kinds of answer. Each practice answer starts with the command word underlined.
  2. One fact per mark. With 1.5 minutes a mark (our arithmetic), a four-mark answer has room for four distinct, correct points, not a page of prose.
  3. The case study as a glossary. Students keep their own list of every technical term in the case study, defined in their own words, weeks before the exam.
  4. Machine learning, carefully. Questions reward knowing what training data does, why a model can be biased, and what overfitting looks like. We teach these with small examples a student can run.

Paper 2

What is on IB Computer Science Paper 2, and is it Java or Python?

Paper 2 is the thinking and programming paper. AssessPrep describes Theme B as “Computational thinking, programming, object-oriented programming, and abstract data types for HL only”, and reports “two separate versions of Paper 2 (one Java, one Python)”.

Java or Python

ManageBac says the new course was designed to “support both Java and Python”. AssessPrep adds that the choice is made at department level and runs through teaching, the IA and the final exam. So the language of Paper 2 is your child's school's decision, not the student's, and a tutor must teach in that language.

For Hong Kong students who sat HKDSE-style ICT or IGCSE work in Python before switching schools, a Java department means learning a new syntax under time pressure. That is a common reason families come to us in Year 12.

Built-ins may be banned

In the IA, AssessPrep says, calling sort, pop, len, max or min is fine, while “specific exam questions will explicitly prohibit their use”. A student who has only ever called sort() will be stuck when a question asks for the sorting itself.

The same summary notes that two SL Paper 2 questions reappear on HL Paper 2, including one that tests algorithmic thinking without asking students to write or interpret code. Reasoning about an algorithm in words is part of the paper, not only coding it.

ManageBac's summary says the abstract data types topic “is the only unit exclusive to HL students”, and that “HL candidates are recommended to have been exposed to programming”. In practice an HL student must be able to build and reason about structures such as stacks, queues, linked lists and trees by hand. The sample lesson below uses a binary search tree, written with no library help, because that is exactly the mode a no-built-ins question demands. Students new to programming can begin with our Python course in Hong Kong or Java course in Hong Kong.

A sample lesson

What does a one-to-one IB CS Paper 2 lesson look like?

This lesson builds a binary search tree from scratch: no sort, no library containers. We use it with HL students on abstract data types, and with SL students as recursion practice. The code and the numbers are ours.

  1. Draw first. The student inserts 50, 30, 70, 20, 40, 60, 80, 35, 65 by hand on the whiteboard: smaller keys go left, larger go right. They predict the height of the finished tree.
  2. Code the insert. A recursive insert of about ten lines. The student explains, aloud, what happens when the key is already present (it is ignored) and why the function returns the root.
  3. Traverse. An in-order traversal visits left subtree, node, right subtree, and prints 20, 30, 35, 40, 50, 60, 65, 70, 80. The student explains why that order is always sorted.
  4. Measure. The tree is 4 levels high. Then the same nine keys are inserted in sorted order, and the height becomes 9: every node hangs to the right, and the tree has become a linked list.
  5. Exam answer. The student writes three sentences on why insertion order matters and what it does to search time, the kind of reasoning-without-code question the new Paper 2 includes.
Binary search tree in PythonPython
# Binary search tree by hand: the tree code itself calls no sort and no library structure.
class Node:
    def __init__(self, key):
        self.key = key
        self.left = None
        self.right = None

def insert(root, key):
    if root is None:
        return Node(key)
    if key < root.key:
        root.left = insert(root.left, key)
    elif key > root.key:
        root.right = insert(root.right, key)
    return root  # equal keys are ignored

def in_order(node, out):
    if node is not None:
        in_order(node.left, out)
        out.append(node.key)
        in_order(node.right, out)
    return out

def height(node):
    if node is None:
        return 0
    return 1 + max(height(node.left), height(node.right))

mixed = [50, 30, 70, 20, 40, 60, 80, 35, 65]
root = None
for k in mixed:
    root = insert(root, k)
print("in-order:", in_order(root, []))
print("height, mixed order:", height(root))

chain = None
for k in sorted(mixed):
    chain = insert(chain, k)
print("height, sorted order:", height(chain))

Our own lesson code. Run with Python 3, it prints exactly the three lines below. The tree functions use no sort and no library structure; sorted() appears only to build the bad input for the second experiment. Java students write the same tree with a Node class and references.

OutputOutput
in-order: [20, 30, 35, 40, 50, 60, 65, 70, 80]
height, mixed order: 4
height, sorted order: 9

Same nine keys, two insertion orders: height 4 when mixed, height 9 when already sorted. That difference is the whole argument for balanced trees.

What the lesson trains

Recursion that a student can trace line by line, which Paper 2 asks for. Hand-built structures that work when built-ins are forbidden. And a written explanation of efficiency, which turns code into marks.

It also links the two papers. The idea that data order changes performance appears in Paper 1 discussions of databases and searching, so one lesson serves both.

Extensions for HL

Delete a node with two children. Count comparisons for a search in each tree. Then ask: which insertion orders of these nine keys give a height of 4? Students who reason this out are doing the algorithmic thinking the paper rewards.

Students who enjoy this can go further with one-to-one IB CS tutoring in Hong Kong or alongside competitive programming, where trees are everyday tools.

Exam mode

Will IB Computer Science exams be on paper or on screen?

Either, depending on the school. AssessPrep reports that digital examinations “become available to all IB World Schools from November 2026, with a dual-running phase across the 2027, 2028, and 2029 examination sessions”.

What changes for students

The same summary says the core paper structure and content are the same in both modes. What changes is the experience: typing an extended answer rather than writing it, and reading code on screen without line numbers in some source texts.

A Hong Kong school may choose either mode for a given session. Ask your child's Diploma coordinator which mode applies, and practise in that mode for the last two months.

What about old past papers?

AssessPrep says the final assessment for the legacy course is November 2026, and that “Legacy past papers are also of limited value because the paper format and weightings have changed”. Old questions on surviving topics still teach, but full old papers no longer rehearse the real exam.

We write our own practice questions in the new format and never reproduce IB papers. Specimen papers for the new guide reach schools through the IB; ask the school for them.

Revision

How should a Hong Kong student revise for IB CS Paper 1 and Paper 2?

With the papers' different jobs in mind. Here is the order we follow across the two Diploma years, adjusted to each school's calendar.

  1. Year 12, first term: comfortable coding in Java or Python, whichever the department uses, because Paper 2 and the IA both depend on it. Theme A topics as the school teaches them.
  2. Year 12, second term: hand-built algorithms and, at HL, abstract data types, practised without built-ins. Theme A vocabulary lists start.
  3. When the case study is released: a close reading, a personal glossary, and our own practice questions on it, weekly.
  4. Year 13, autumn: mixed timed sections. Paper 1 at 1.5 minutes a mark; Paper 2 with one reasoning-only question per session.
  5. Final months: full papers in the mode the school will use, paper or screen, then a post-mortem of every lost mark.
Lesson times from Hong Kong, shown on the India clock too (our arithmetic)
Hong Kong timeIndia timeGood for
5:30 pm, weekday3:00 pmPaper 2 coding while the day's lesson is fresh
10:00 pm, weekday7:30 pmA short Paper 1 vocabulary drill
9:00 am, Sunday6:30 amA timed section before the week begins

Clock facts: UTC+8 in Hong Kong all year (the Observatory lists no summer time after 1979) and UTC+5:30 in India (IANA tz). The example rows are our arithmetic, not a timetable.

Progress

How do we track readiness for both papers?

Six stages of our own, used to plan lessons and to report monthly to parents. They are not IB grade boundaries.

IB CS papers with us: six stages
StageThe student canShown by
1. LanguageWrite and trace short programs in the school's languageTrace tables done without running the code
2. By handWrite searches, sorts and structures with no built-insOur no-built-ins drills, correct first time
3. Theme A termsDefine and use every Theme A term preciselyVocabulary checks in English
4. Case studyAnswer our questions on the released case studySection B style answers at 1.5 minutes a mark
5. ReasoningExplain an algorithm's behaviour in wordsReasoning-only questions answered fully
6. Full papersFinish both papers in time, in the right modeTimed papers and a shrinking error list

For students

If sort() is banned, can you still sort?

Ninety seconds a mark: count your points.

For parents

A monthly note covers topics, timed results and the error list.

Grades and predictions come from the school, not from us.

More courses

Which other courses help with the two papers?

Grouped by the paper they help most. Each is live, in English and, for Hong Kong, one to one.

I

For Paper 2

Ages 14 to 18

IBGU / P2 / 01

Python for Teens

For the Python version of Paper 2.

Open the syllabus

IBGU / P2 / 02

Competitive Programming

Contest problems with a clock running.

Open the syllabus

IBGU / P2 / 03

C++ for Teens

Memory and pointers, which make trees and lists concrete.

Open the syllabus
II

For Paper 1

Ages 14 to 18

IBGU / P1 / 01

MySQL for Teens

SQL for the database questions in Theme A.

Open the syllabus

IBGU / P1 / 02

Teen Machine Learning

The new Theme A topic, hands on.

Open the syllabus

IBGU / P1 / 03

Orange Data Mining

Training and testing models visually.

Open the syllabus
III

Around the Diploma

Ages 15 to 18

IBGU / DP / 02

AP Computer Science A

Extra Java practice for US applicants.

Open the syllabus

IBGU / DP / 03

Teen Data Science

Python and data beyond the syllabus.

Open the syllabus

How lessons run

How do IB CS exam lessons work online from Hong Kong?

Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. Lessons connect a student at home in Hong Kong with a mentor in India, where it is always 150 minutes earlier.

Weekday after school

5:30 pm Hong Kong, 3 pm India.

Weekday night

10 pm Hong Kong, 7:30 pm India.

Sunday morning

9 am Hong Kong, 6:30 am India.

Code on screen

Programs are written and traced in a shared editor.

Whiteboard trees

Structures are drawn before they are coded.

School language

Java or Python, matching Paper 2.

Our questions

Practice in the new format, written by us.

Timed sections

Paced at 1.5 minutes a mark.

Same mentor

One mentor through Year 12 and Year 13.

Student work

Projects by our students

Software our students made during longer courses. Making things is the surest cure for a Paper 2 that feels abstract; see more on student labs.

NutriLife AI nutrition coach project screenshot

AI and ML

NutriLife

An AI nutrition coach that reads what you eat and works you toward a target.

by Bhavya · Open it

Misti AI chatbot for maths and coding screenshot

AI and ML

Misti

A chatbot that answers mathematics and programming questions, built and deployed by a student.

by Harshit · Open it

GuardianX AI internet safety assistant screenshot

AI and ML

GuardianX

An assistant that helps a young person recognise unsafe situations online.

by Vivaan · Open it

SkyCast weather forecast application screenshot

Web app

SkyCast

A weather forecasting site with live conditions for any location.

by Krish

Fees

What do IB CS exam lessons cost?

Payment is monthly and the card shows it in Hong Kong dollars. Each payment covers the lessons of one month; there are no term fees or deposits, and a gateway charge, where one applies, is listed on screen before payment goes through.

Free first class

Free

no card required

  • A free first class with an IB CS mentor
  • A quick tracing and by-hand coding check
  • No card required
Book it

One to one

$1,200 HKD

a month, eight live classes

  • Your own IB Computer Science mentor
  • Both papers, in Java or Python
  • Lesson times your family picks
Start here

What families say

Rated 4.9 across 547 Google reviews

Parents and students on Google, in their own words.

★★★★★

"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."

Ria Mukherjee

Parent

★★★★★

"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."

Samriddha Mondal

Student

★★★★★

"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."

Vansh Agarwal

Student

★★★★★

"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."

Sonam Oswal

Parent of Dhairya

★★★★★

"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."

Sonu Goyal

Parent

★★★★★

"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."

Ritu Kedia

Parent

Questions from Hong Kong families

IB Computer Science Paper 1 and Paper 2: questions and answers

How long are IB Computer Science Paper 1 and Paper 2?

According to AssessPrep's summary of the guide first examined in May 2027, each paper lasts 1 hour 15 minutes at SL and 2 hours at HL, and each is worth 35% at SL and 40% at HL.

What is the difference between Paper 1 and Paper 2?

Paper 1 covers Theme A concepts (computer fundamentals, networks, databases, machine learning) plus a pre-seen case study in Section B. Paper 2 covers Theme B: computational thinking, programming, object-oriented programming and, at HL, abstract data types.

Is there still a Paper 3?

No. Summaries of the new guide report that Paper 3 no longer exists at SL or HL from May 2027, and the case study moved into Paper 1 Section B for both levels.

Is Paper 2 in Java or Python?

Both versions exist, according to AssessPrep, and the school department chooses one. We teach in whichever language your child's school uses.

Can my child use sort() or len() in the exam?

Not always. AssessPrep reports that some exam questions will explicitly prohibit built-in functions, even though they are allowed in the IA. We practise writing those algorithms by hand.

Are old past papers still useful?

Partly. Questions on topics that survived still teach, but the paper format and weights changed for 2027, so full old papers no longer rehearse the real exam. We write practice questions in the new format and never reproduce IB papers.

Are lessons in English?

Yes. A mentor in India teaches every session over live video, entirely in English, the same language as both papers and the case study. Cantonese and Mandarin are not used in our lessons.

When can lessons be scheduled?

Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. With the mentor's clock 150 minutes behind yours on every date, 6:45 pm for your child is 4:15 pm in India.

How are fees paid?

Month by month, in Hong Kong dollars, at the figure printed on the fee card. You never pay for a month that has not started, a gateway charge, if any, appears before payment, and the first class costs nothing.

Is there a certificate?

A student who completes a course gets a certificate from us recording it. That is all it is: the IB, schools and government bodies have no part in it, and it says nothing about an IB result.

Related

What else should IB CS students in Hong Kong read?

Pages on the course, the tutor and the alternatives.

Classes in Hong Kong

Every Hong Kong page for coding, AI and maths.

IB CS tutor in Hong Kong

One-to-one help across the whole course.

The 2027 IB CS syllabus

What changed, and the IA criteria.

IB CS tuition online

The same course for students outside Hong Kong.

HKDSE ICT tutor

The local exam, for comparison.

How we teach

Our lesson method, step by step.

More pages for Hong Kong

Part of the guide: Every Hong Kong page

More guides: Coding and AI classes in Hong Kong · 中文:英文授課編程課程 · Start here: Online coding for kids · AI, vibe coding and AI agents: AI agents course · Coding subjects and courses: App development · By age and school level: Adults · HKDSE ICT and maths: DSE ICT elective guide · Olympiads and competitions: AMC 10 preparation · Guides for families: After-school coding · School holidays: AI summer course · Districts and areas: Causeway Bay

Start here

Try an IB CS exam lesson free

Let us know which language your child's department chose for Paper 2. During the trial, your child traces and writes a short algorithm without built-ins and answers one Theme A question; the mentor then names the two or three things most worth practising before the next mock.

The IB Computer Science course page lists every topic we teach, and how we teach describes a typical session.

WhatsApp us · +91 91233 66161 · connect@modernagecoders.com

One to one, live online, taught in English from India. Send a WhatsApp message for the quickest reply.

Free, no card, no obligation.

Want a class sooner? Book a priority demo

A priority demo is a full class of about 45 to 60 minutes. After the class the mentor sends a written skill report and a personal learning roadmap on WhatsApp. If you enrol, the demo fee is adjusted against your first month's fee. Share your demo Order ID with us on WhatsApp and we take it off.

Book a priority demo

Keep exploring Modern Age Coders

Related courses and guides

Learn more

Free resources

From the blog

Start here

Free classPriority demoCall us