Skip to content

بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ

Free forever · 2210 · 0478 · 9618

Stop revising.
Start running it.

Cambridge O Level, IGCSE and A Level Computer Science (2210 · 0478 · 9618) — 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 and past papers mark themselves and the tutor reads a photo of your question and answers at 2 a.m. Built by ZAK, the teacher behind 25+ years of A*s in Karachi.

I’m doing I’m a parent

No sign-up.No paywall.Progress saved on your phone.

cswithzak.com — the tour

AI-narrated video overview of this pageYouTube

Try it — right here, right now

grade.pseudo · CAIE 9618

Press Run — this is a real interpreter, not a picture.

“Don't let yesterday take up too much of today.” — Will Rogers ✦“If you think your teacher is tough, wait till you get a boss.” — Bill Gates ✦“Everyone should learn how to program a computer, because it teaches you how to think.” — Steve Jobs ✦“The best way to predict the future is to invent it.” — Alan Kay ✦“I am not a teacher, I am an awakener.” — Zafar Ali Khan ✦“Move fast and break things — then fix them, with a trace table.” — ZAK, probably ✦“Don't let yesterday take up too much of today.” — Will Rogers ✦“If you think your teacher is tough, wait till you get a boss.” — Bill Gates ✦“Everyone should learn how to program a computer, because it teaches you how to think.” — Steve Jobs ✦“The best way to predict the future is to invent it.” — Alan Kay ✦“I am not a teacher, I am an awakener.” — Zafar Ali Khan ✦“Move fast and break things — then fix them, with a trace table.” — ZAK, probably ✦

Just landed · updated 17 Oct 2026

What's new on CS with ZAK

AskZ now reads your photos and papers, the real past paper marks itself end to end, and every page has its own help. Here's what changed — on the website and in the ZAPP app.

All 55 updates
New17 Oct 2026

ZAK's books: prices, sets and ordering in a few taps

Every book, workbook and ebook now shows its price, and each level has a set of two books and two workbooks that costs less than its parts. Add it to your basket and the order goes straight to the books desk on WhatsApp.

  • Sets for O Level (current and new syllabus), AS, A2 and Full A Level
  • Black and white, full colour or ebook
  • Free delivery on every printed set in Pakistan
  • Printed fresh for your order, delivered in 7–10 working days

Choose your set

New16 Oct 2026

University Planner and CS admission deadlines

Tick your A Levels and see which Computer Science, Software Engineering, AI, Data Science and Computer Engineering degrees stay open in Pakistan and abroad — with the reason and each university's own rule. Every admission date we could verify is in one calendar.

  • What if I drop Physics? See what closes
  • IBCC equivalence calculator, IBCC's own method
  • Parents' table as a PDF
  • UCAS, SAT, AP CS, TMUA, NUST, LUMS, IBA, Habib dates in your calendar

Open the planner

Also new · 6

New17 Oct 2026Listen to ZAK's ebooksPress the headphones in the ebook reader and the chapter is read to you, with each sentence and word lit up on the page as it is spoken. Your device's voice starts at once and works offline; the AskZ voice gives a natural teacher's voice.Try the free sample chapters Improved17 Oct 2026Games on the topics you've studied so farHaven't finished the syllabus yet? Pick What I've studied in any game, tick the topics your class has covered, and the quiz, flashcard, trace and escape games ask only about those. The list is shared by every game.Play a game Improved17 Oct 2026Ask Z answers university and parents' questionsAsk Z now answers which degrees your A Levels keep open, entry tests, IBCC and admission dates, straight from the University Planner's checked sources. Parents can ask it anything about the site and their child's progress.Ask Z a question New16 Oct 2026Examiner's Traps: real exam mistakes, 15 seconds eachA fast true-or-false game built from the mistakes Cambridge examiners reported in their reports. Every trap names its paper and links to the question it came from.Dodge the traps New16 Oct 2026Python Paths: learn Python one checked step at a timeTwo numbered Python courses, O Level / IGCSE and 9618 Paper 4. Each step asks for one small program and checks it the moment you run it, against tests you can see and tests you can't.Start a Python Path New16 Oct 2026New game: OpcodeZ — program the CPU in 9618 assemblySolve memory puzzles in real Cambridge assembly: load, point, loop and mask until every memory layout comes out right, hidden ones included. Then chase two medals that pull against each other: fewest instructions and fewest cycles.Program the CPU

For parents · For university applicants

For parents

Follow your child's Computer Science, from your own phone

Everything here is free. With your child's invitation you see a read-only summary of their week and get a short email every Sunday — never their chats or answers.

  • What the site gives your child
  • How Ask Z is kept safe
  • Ideas to help at home
Read the page for parents

For university applicants

Which CS degrees do your A Levels keep open?

42 Computer Science, Software Engineering, AI, Data Science and Computer Engineering degrees at 34 universities in 12 countries, each with its own rule and source. IBCC calculator and a parents' table included.

  • What if I drop a subject?
  • Entry tests and IBCC
  • Every verified admission date
Open the University Planner Admission deadlines

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.

NewCS Games · 16 to play

Bored of revising? Play it instead.

Quiz battles, a daily CS word, SQL whodunnits, logic-gate puzzles and arcade — every game drills the syllabus. Solo against AskZ bots, with friends, or with your whole class. Free, no sign-up.

Play now

New Discussion Corners

Stuck? Ask the corner — @AskZ joins in.

Ask and answer Computer Science with students taking the same papers. Accepted answers, teacher endorsements, code you can run, and ZAK's AI tutor in every thread. Nicknames only, no private messages.

Open the corners

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.

Real interpreter

ZAK's Pseudocode Playground

The full CAIE 9618 pseudocode standard, running in your browser: records, files, classes, recursion, pointers, exceptions. 112 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.

PROCEDURE Swap(BYREF A, B : INTEGER)

DECLARE T : INTEGER

T ← A

A ← B

B ← T

ENDPROCEDURE

$ X=7 Y=3 → X=3 Y=7 ✓

Open the Playground

New · written by AskZ

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

New · with solutions

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 a typeset paper — table cells, code gaps, tick boxes — have AskZ mark every part for XP, or print the PDF on ZAK's letterhead.

  • Set A
  • Set B
  • Set C
  • PDF

Browse the assignments

Seven languages and tools that really run in your browser — and mark you.

  • Paper 2 & 4

    Python, Java & VB.NET Playgrounds

    Real Python 3, the real Java compiler and Microsoft's VB.NET compiler — all in your browser, with input, files, classes and a trace table. 63+ examples in each language.

    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

2,415

real exam questions, by topic

1,430

auto-marked quiz questions

30

topics, each with Smart Notes + assignments

65

exam-ready infographics

435

runnable examples in 7 languages

522

hours of video lectures, by topic

2015→

every past paper since

Zafar Ali Khan (ZAK)

Zafar Ali Khan

O & A Level Computer Science Educator · Entrepreneur · Programmer at Heart · President & Co-founder, ByteCorp · Creator of AskZ

aka ZAK

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 · May/Jun 20252026196 views

ASPast paper9618 Paper 11 · Oct/Nov 20252026180 views

A2Past paper9618 Paper 32 · Oct/Nov 20252026114 views

A2Past paper9618 Paper 31 · Oct/Nov 20252026236 views

All 572 lectures

The ZAK community

65,000+

students and teachers follow ZAK across 8 pages, groups and channels — wherever CAIE Computer Science is offered.

  1. O Level Computer Science

    33K+
  2. A Level Computer Science

    9.5K+
  3. ZAK on YouTube

    8.3K+
  4. O Level CS study group

    7.1K+
  5. Zafar Ali Khan

    6.2K+
  6. @zakonweb

    1.1K
  7. zakonweb

    376
  8. CS with ZAK on Discord

    20
Live · 18 hours ago5 networks · refreshed from each platform daily

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.

Testimonials

What students say.

Real students, real schools, real results — every testimonial is submitted with credentials and approved by ZAK before it appears.

O Level / IGCSE Featured

I had the privilege of being taught Computer Science by Sir Zafar Ali Khan during my O and A Levels, and I will always be deeply grateful that I was his student. He is an exceptional teacher, but what I value most is the genuine care, generosity and selflessness he has always shown me. He gave me his time, knowledge and support so freely, often going far beyond what anyone could expect from a teacher. Much of the confidence and passion for learning that I carried forward in life began in his classroom, and I truly believe his influence played a part in the person I became. Even years later, he has never hesitated to guide or help me whenever I have reached out. Some teachers leave you with good grades Sir Zafar left me with something far more lasting. I can never fully thank him for everything he has done for me, and I feel incredibly fortunate to still call him my mentor.

Eisha Azam · Former student

O Level · Private · Lahore · M/J 2019 · A · Working as a freelancer

A

A Level Featured

ZAK didn’t just teach Computer Science; he had an incredible way of inspiring and uplifting his students. From supporting us in the classroom to being there for us and responding even after class hours, ZAK always went above and beyond. The love for CS that I developed started with his classes, and I’m genuinely grateful for that foundation. With technology evolving so rapidly, I can only imagine how much more enriching the experience of learning from him must be today

Amna Shah · Former student

A Level · Beaconhouse College Defence · Karachi · May/June 2021-2022 · A* · SWE @ Metal (YC & a16z), Ex-FASTian

A*

A Level Featured

I was fortunate to study A-level Computer Science with this teacher in Pakistan. He made the classroom welcoming, explained difficult concepts clearly, and always made learning enjoyable. His teaching has stayed with me well beyond A-levels. The foundation he gave me in computer science, especially low-level languages, has been incredibly helpful as I study at Simon Fraser University in Canada. Many of the concepts we covered and assignments we completed prepared me for my first- and second-year university courses. He is a friendly, dedicated, and truly excellent teacher. I’m grateful for the confidence and strong foundation he helped me build.

Areez Momin · Former student

A Level · The City School PAF Chapter · Karachi · May/June 2023 · A* · Simon Fraser University - Vancouver, Canada

A*

AskZ

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
01

Pick your syllabus

Choose your board and the exact code you are entered for. Series, syllabus years and the official PDF come with it.

02

Practise with real paper structure

Papers, command words, mark tags like [3] and timings match the exam, so nothing on the day looks new.

03

AskZ marks and explains

Type or photograph an answer. AskZ marks it against the mark scheme and shows the marks you lost and why.

askzbot.com is the AskZ platform for every board and every subject. Computer Science stays free here on cswithzak.com.

Every May

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 endeavour
Karachi · Online

Learn 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 & registration
Cloud drives

Success 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 inside

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.

Enroll nowOnline classes