ASPast paper9618 Paper 11 · May/Jun 20252026196 views
بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ
Stop revising.
Start running it.
Cambridge O Level, IGCSE and A Level Computer Science (2210 · 0478 · 9618) — the only CS site where pseudocode, Python, SQL, assembly and Prolog actually run, every topic has its notes and an assignment with solutions, the past papers are already sorted, the quizzes mark themselves and the tutor answers at 2 a.m. Built by ZAK, the teacher behind 25+ years of A*s in Karachi.
No sign-up.No paywall.Progress saved on your phone.Made in Karachi, used worldwide.
cswithzak.com — the tour
Site tourTry it — right here, right now
Press Run — this is a real interpreter, not a picture.
Pick your level
Every topic. Every paper. Nothing you have to hunt for.
Each topic page bundles AskZ-written Smart Notes, an assignment with solutions, videos, topical past-paper questions with mark schemes, a quiz, a flashcard deck, infographics and runnable pseudocode. Three clicks from here to revising.
O Level
Paper 1 theory + Paper 2 problem-solving. Where the habit starts.
- 10
- topics
- 1,627
- real exam Qs
- 434
- quiz Qs
- 594
- flashcards
Open O Level
AS Level
Papers 1 & 2. Theory gets deeper, pseudocode gets real.
- 12
- topics
- 683
- real exam Qs
- 502
- quiz Qs
- 616
- flashcards
Open AS Level
A2 Level
Papers 3 & 4. OOP, recursion, files, the lot.
- 8
- topics
- 517
- real exam Qs
- 405
- quiz Qs
- 494
- flashcards
Open A2 Level
Not just notes
Tools that do the boring part for you.
Five languages that run in your browser — pseudocode, Python, SQL, assembly and Prolog — AskZ-written notes and assignments for every topic, and everything else below. All live on this page; nothing is a screenshot.
ZAK's Pseudocode Playground
The full CAIE 9618 pseudocode standard, running in your browser: records, files, classes, recursion, pointers, exceptions. 111 worked examples (and the same again in Python), a trace table for every run, and errors that point at the exact line. You already ran it in the hero.
Open the Playground
PROCEDURE Swap(BYREF A, B : INTEGER)
DECLARE T : INTEGER
T ← A
A ← B
B ← T
ENDPROCEDURE
$ X=7 Y=3 → X=3 Y=7 ✓
AskZ Smart Notes
Complete notes for all 30 topics, written once by AskZ from ZAK's material, the syllabus, the mark schemes and past papers — with that topic's infographics, quiz, flashcards and real exam questions woven in. Highlight anything to ask about it.
- Reads like ZAK's notes
- Saved on your device, works offline
- Slides download
Open the notes library
ZAK Assignments
A full assignment for every topic — 3 sets each, 90 in all — built from ZAK's own class assignments and real past papers: figures, model answers, a mark scheme and an examiner's tip on every part. Answer on screen, self-mark for XP, or print the PDF on ZAK's letterhead.
- Set A
- Set B
- Set C
Browse the assignments
Python Playground
Real Python 3 in your browser, with input(), files, classes and a trace table. 49 examples — the Python twin of every pseudocode topic.
def fact(n):
return 1 if n == 0 else n * fact(n - 1)
for i in range(1, 6):
print(i, fact(i))
1 1
2 2
3 6
4 24
5 120
SQL Lab
43 queries against a ready-made school database — joins, GROUP BY, DDL — with real keys and referential integrity.
SELECT LastName, Title, Mark
FROM STUDENT INNER JOIN ENROLMENT ON …
WHERE Mark >= 95 ORDER BY Mark DESC;
| LastName | Title | Mark |
|---|---|---|
| Khan | Computer Science | 95 |
| Iqbal | Mathematics | 95 |
| Qureshi | English | 96 |
Assembler & CPU simulator
Every 9618 instruction, stepped through an animated fetch–decode–execute cycle with the exam trace table.
LDD 200; ACC ← [200]
ADD 201; ACC ← ACC + [201]
STO 202; [202] ← ACC
END ; halt
ACC
0
00000000
fetch → decode → execute
Declarative Lab (Prolog)
Facts, rules, queries, backtracking — with the errors an A2 examiner would flag.
parent(sonia, ali).
parent(sonia, ayesha).
mother(M, C) :- parent(M, C), female(M).
?- parent(sonia, X).
X = ali ;
X = ayesha.
Quizzes that mark themselves
1,341 MCQs with an explanation for every answer. Wrong ones come back until you get them.
Which is a lossless compression method?
- MP3
- JPEG
- RLE
- H.264
✓ Correct · +10 XP
Flowchart Studio
Draw a flowchart with the Cambridge symbols and run it; type pseudocode and watch the chart draw itself; check your drawing against the mark scheme.
Data structures, live
Stacks, circular queues, linked lists with a free list, binary trees and hash tables — the arrays and pointers the 9618 mark scheme draws.
TopPointer = 1
PUSH 7
Networks Lab
Corrupt a bit and let the parity block find it, route packets, cut up an IP address, walk the TLS handshake, break a blockchain.
sent with even parity…
Programming tasks, auto-marked
Exam-style scenario tasks marked against hidden boundary and abnormal tests — pseudocode or Python — with a model answer after two attempts.
Trace tables, generated
Paste any algorithm and watch the table fill in. The exact skill Paper 2 tests.
Total ← Total + i · FOR i ← 1 TO 5
| i | Total | OUTPUT |
|---|---|---|
| 1 | 0 | |
| 2 | 1 | |
| 3 | 3 | |
| 4 | 6 | |
| 5 | 10 | 10 |
2,363 real exam questions
Every CS question Cambridge has asked since 2015 (and the still-relevant ones back to 2010), sorted by topic, with the mark scheme — and what the examiner said about it — one tap away.
The Statometer
Every topic measured against 180 real Cambridge papers: the odds it is set next time, marks a paper, trend, command words, what inside it gets asked — ranked, and re-ordered by your own quiz record. Updates itself with every new session.
Logic gates lab
Type a Boolean expression, get the circuit and the truth table instantly.
X = (A AND NOT B) OR (NOT A AND B)
| A | B | X |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Boolean algebra & K-map lab
Karnaugh maps looped the way Cambridge draws them, every algebra law named, adders and flip-flops live — and Paper 3 practice marked like the mark scheme.
T = B.D + A.D
572 video lectures
522 hours of ZAK's YouTube — topic lectures, past-paper walkthroughs, Zakathon marathons — indexed by syllabus topic and playable right here.
Number systems lab
Binary, hex, two's complement and A2 floating point, with the working shown. Practice mode included.
Flashcards
1,704 cards across 93 decks. Flip, rate, repeat.
tap to flip · rate · repeat
Past paper finder
Every 2210, 0478, 9618 and 9608 paper since 2015: QP, MS and examiner reports, filtered by year, session and variant.
63 exam-ready infographics
One diagram per idea, downloadable as PNG or SVG. Print them, stick them on the wall.
Exam planner
Your zone's paper dates and Key Times, a live countdown, calendar export and a week-by-week revision plan.
Pseudocode ↔ Python
Every construct side by side with its Python equivalent. The Paper 2 and Paper 4 cheat sheet.
Glossary: 39 key terms
Every syllabus term defined in the words that earn the mark, linked to the topic where it is taught.
28 command words, decoded
State, Describe, Explain, Evaluate… what each one wants from you, the mark it loses, and a real question stem for each.
Syllabus + specimen papers
The official 2210, 0478 and 9618 PDFs, pseudocode guides and every specimen paper with its mark scheme — including the 2029 ones.
2,363
real exam questions, by topic
1,341
auto-marked quiz questions
30
topics, each with Smart Notes + assignments
63
exam-ready infographics
271
runnable examples in 5 languages
522
hours of video lectures, by topic
2015→
every past paper since

Zafar Ali Khan
O & A Level Computer Science Educator · Entrepreneur · Programmer at Heart · President & Co-founder, ByteCorp · Creator of AskZ
The person behind the site
“I am not a teacher.
I am an awakener.”
A proud Pakistani educator, entrepreneur and programmer at heart: twenty-five years of O and A Level Computer Science (0478, 2210, 9618) across Karachi's most renowned institutes, thousands of students, A*s and CAIE distinctions every session, and an online following of 65,000+ wherever CAIE CS is offered. ZAK built this free platform because the resources students actually needed did not exist — so he wrote the interpreter, sorted the papers, shot the lectures and trained the tutor himself.
- The City School
- Beaconhouse
- Alpha College
- Cedar College
- Whales College
- Sceptre College
- Nixor College
- Foundation Public School
- Credo
- Heuser College
- Reads College
- DHA Public School
Watch ZAK teach it
Every lecture, indexed by syllabus topic.
572 videos — 522 hours — from ZAK's YouTube channel, each tagged with the topic it teaches. New uploads land here on their own. These are the latest; press play.
ASPast paper9618 Paper 11 · Oct/Nov 20252026180 views
A2Past paper9618 Paper 32 · Oct/Nov 20252026114 views
A2Past paper9618 Paper 31 · Oct/Nov 20252026236 views
The ZAK community
65,000+
students and teachers follow ZAK across 8 pages, groups and channels — wherever CAIE Computer Science is offered.
- 33K+
O Level Computer Science
- 9.6K+
A Level Computer Science
- 8.3K+
ZAK on YouTube
- 7.1K+
O Level CS study group
- 6.2K+
Zafar Ali Khan
- 1.1K
@zakonweb
- 372
zakonweb
- 2
CS with ZAK on Discord
- Facebook Page
O Level Computer Science
facebook.com/OLevelComputer
33K+
followers
Paper 1 & 2 tips, topical questions and every new resource for 2210 / 0478, the day it lands.
Follow
- Facebook Page
A Level Computer Science
facebook.com/ALevelComputer
9.6K+
followers
9618 Paper 1–4 walkthroughs, pseudocode drills and exam-week reminders.
Follow
- YouTube Channel
ZAK on YouTube
youtube.com/zakonweb
8.3K+
subscribers · 573 videos · 853K views
Full topic lectures and past-paper solutions, recorded the way ZAK teaches them in class.
Subscribe
- Facebook Group
O Level CS study group
facebook.com/groups/olevelcomputer
7.1K+
members
The 2210 / 0478 discussion group ZAK started for his own students — ask anything, someone has been stuck there before.
Join
- Facebook Page
Zafar Ali Khan
facebook.com/zakonweb
6.2K+
followers
ZAK himself — announcements, ZAKATHON, admissions and the occasional classroom story.
Follow
- Instagram Profile
@zakonweb
instagram.com/zakonweb
1.1K
followers · 141 posts
Infographics, one-minute concepts and behind-the-scenes from ZAKATHON.
Follow
- GitHub Profile
zakonweb
github.com/zakonweb
372
followers · 16 public repos
The code behind the labs, the interpreter and ZAK's open-source teaching tools.
Follow
- Discord Server
CS with ZAK on Discord
discord.gg/ZSWzS2azBm
2
members · 1 online now
Open to every 2210 / 0478 / 9618 student: the daily question, MCQ and trace-it, threads to argue the mark scheme, and Ask Z on call — type /askz.
Join
- Facebook Group
A Level CS discussion group
facebook.com/groups/computing9691
Members only
private group · ask to join
Running since the 9691 days: 9618 questions, answers and mark-scheme arguments, every session.
Join
Counts are read from each platform once a day — where a network only publishes a rounded figure it is shown with a +. The groups are private, so their member counts are checked by hand. Prefer WhatsApp? Message ZAK directly.

Cambridge · Edexcel · AQA · OCR · WJEC Eduqas · CCEA · IB
Every board.
Every subject.
Ask Z.
Revision that knows your syllabus. AskZ began here with Computer Science; at askzbot.com the same tutor covers every subject on seven boards, with the real paper structure and marking that follows the mark scheme.
45 days free. No card.Then Free forever, or pay per subject for the ones you sit.
Sitting Cambridge Computer Science? It is complimentary, in full, right here — start on cswithzak.com.

Free forever
- Yearly full past papers, free forever
- Every syllabus point, mapped to papers
- Topic one of every subject: notes, questions, flashcards
- The tutor answers every day on the Free plan
Pick your syllabus
Choose your board and the exact code you are entered for. Series, syllabus years and the official PDF come with it.
Practise with real paper structure
Papers, command words, mark tags like [3] and timings match the exam, so nothing on the day looks new.
AskZ marks and explains
Type or photograph an answer. AskZ marks it against the mark scheme and shows the marks you lost and why.
For Students
Pick the subjects you sit this session. They're yours until the last paper.
Find your subject →
For Parents
One Family plan pools subjects across up to four students — every board, one bill.
Family plan →
For Tutors
Your students' syllabus, papers and marking in one place, so lessons start from the mark scheme.
Plans →
For Schools
Campus seats give every student every subject, with the real paper structure for every board you offer.
Campus →
askzbot.com is the AskZ platform for every board and every subject. Computer Science stays free here on cswithzak.com.
ZAKATHON
Marathon revision workshops right before the CAIE papers. Started as an experiment with a few students in a room, now fills an auditorium every year.
About the endeavourLearn with ZAK in person
Small-group classes for O Level, AS and A2 across 5 centres in Karachi, plus live online sessions for students anywhere.
Centres & registrationSuccess Packs
Everything ZAK gives his own students, in one drive. ZAK's notes, tests and mocks plus every CAIE paper, mark scheme and examiner report — one drive per level, updated every session.
What's insideFrom the blog
Exam technique, study skills, real talk.
71 posts from ZAK, pulled live from the blog.
The 7 Pseudocode Mistakes That Cost You Marks in Paper 2
Forgetting ENDIF, using ELSE IF, off-by-one FOR loops — the examiner has seen every one of these. Here's the checklist to run before you put your pen down.
How to Read a Mark Scheme Like an Examiner
The mark scheme is the closest thing to the examiner's brain. Learn what 'any two from' really means, why command words matter, and how to stop dropping easy marks.
VideoYour Ultimate Guide To Ace Your A-Level Computer Science (9618) with Active Recall
If you're studying A-Level Computer Science (9618), you've likely faced the frustration of reviewing your notes only to feel like you've retained nothing. You're not alone!
Your A* starts with one topic.
Pick a level, open a topic, read the notes, run a bit of pseudocode — or Python, SQL, assembly, Prolog — and try the assignment. That's it. Come back tomorrow and the streak counter does the rest.