IB CS 2027
Computer Science
Learn to program for the new IB course, one small step at a time, then practise with exam-style questions that are marked as you go.
- Lessons69 lessonsLearn to program in small steps, with code you run as you read.
- Question bank259 questionsExam-style questions by topic and difficulty, marked as you go.
- Practice papersWhole Paper 1 and Paper 2 sets, timed, with markschemes.
- My progressWhat you have done, what is due for review, and what is next.
Computer Science · start here · lesson 1.1
Print one line
Part 1: Programs that talkA short reading2 questions
No account needed. Your progress stays in this browser.
Java answers can't run on ExamSpine yet. You can still read Java, trace it, and put an answer's lines in order.
Part 1: Programs that talk
0 of 12 lessons done.
Your programming path
Short programming lessons for the new IB Computer Science course, in Python or Java. 69 lessons ready so far. The theory side of the course (hardware, networks, databases, machine learning and more) is not written yet.
| Number | Part | Done |
|---|---|---|
| 1 | Programs that talk | 0 / 12 |
| 2 | Decisions | 0 / 10 |
| 3 | Repetition | 0 / 10 |
| 4 | Functions | 0 / 8 |
| 5 | Text, lists, stacks and queues18 of 19 lessons written so far | 0 / 18 |
| 6 | Errors, testing and files6 of 14 lessons written so far | 0 / 6 |
| 7 | Algorithms3 of 13 lessons written so far | 0 / 3 |
| 8 | One class2 of 14 lessons written so far | 0 / 2 |
Parts 9 to 10 are not written yet: Several classes (HL only), Abstract data types (HL only).
How a lesson works
- 1
Read
Most lessons start with a short reading on one idea, with examples in Python and Java.
- 2
Practise
Write the code yourself, straight away, on the same page.
- 3
Check
Code answers are run against tests, and you see what each one found.Trace tables and lines put in order are checked for you, and you can compare your code with a worked solution.
Try it: follow the code line by line
Each row is one step: the line that runs, the values of v and total after it, and anything it prints.
Exam-style programming practice
- Question bank
Exam-style questions by topic and difficulty.
- Exam mode
Write code as you would on paper, without running it.
- Trace tables
Follow code by hand. Every row is marked.
Computer Science
0 of 69 lessons
Saved in this browser only.