The Class 9 book
AI Foundations
6 units · 26 lessons · a project to end every unit, and one for the year
Written and designed by Faizan Ayoub.
Open any lesson to read it the way a student does — one step at a time. Nothing you do here is saved; students work in their own accounts, where their missions, guesses and Checks are kept.
Contents
Unit 0
1 lessonRefresher
Unit 1
5 lessonsThe AI project cycle, and ethics
- 1.1Three domains of AI, and the SDGsThree projects. Rahat says they're all the same amount of work. One question proves him wrong.40 minPicture2 laptop missionsDebateCheck · 6 questions
- 1.2Problem scoping: 4Ws, stakeholders, ethicsEleven students out of thirty-four, on a day the road was clear. “The problem is snow,” says Rahat. Is it?40 minPicture3 laptop missionsDebateCheck · 6 questions
- 1.3Data acquisition and system mapsRahat types one word at the top of a spreadsheet: SNOW. Then he realises it's four different things.40 minPicture2 laptop missionsDebateCheck · 5 questions
- 1.4Modelling and evaluationThe sticky note says 94%. Hiba tests it on twenty real leaves. One mistake could cost an orchard its season.40 minPicture2 laptop missionsDebateCheck · 5 questions
- 1.5Bias, access and deployment“It works,” says Rahat. “It works for whoever can receive it,” says Hiba. That's not the same sentence.40 minPicture2 laptop missionsDebateCheck · 5 questions
- Unit projectScope a real problem
Unit 2
5 lessonsData literacy
- 2.1What data literacy is“TOURISM DOUBLES IN KASHMIR!” Two bars, no numbers. Rahat's uncle wants to buy a second shikara.40 minPicture2 laptop missionsDebateCheck · 7 questions
- 2.2Privacy and security: two different things`survey-final-FINAL.ods` is still on the lab laptop. Column A is names. Column D says who missed nine days.40 minPicture3 laptop missionsDebateCheck · 5 questions
- 2.3Acquiring and preparing dataRow 14: a box of Delicious sold for ₹9,000. That's ₹900 a kilo. Apples aren't saffron.40 minPicture3 laptop missionsDebateCheck · 5 questions
- 2.4Interpreting data, and its limitsFeed a model the grower's name and it gets good at predicting. So what has it learned about the apple? Nothing.40 minPicture4 laptop missionsDebateCheck · 7 questions
- 2.5A data dashboardThe head teacher has four minutes. Rahat has four hundred rows. She needs one screen.40 minPicture4 laptop missionsDebateCheck · 5 questions
- Unit projectOne question, one honest screen
Unit 3
5 lessonsMaths for AI
- 3.1Why AI needs maths“I want to build AI,” says Rahat, “but I hate maths.” Then he remembers the talim, the trend line, the leaves.40 minPictureLaptop missionDebateCheck · 5 questions
- 3.2Statistics: the middle and the spread“The average box fetched ₹683.” Rahat's uncle sold fifteen boxes. Not one fetched ₹683.40 minPictureLaptop missionDebateCheck · 5 questions
- 3.3Probability, and types of eventsThe forecast said 30% rain. The day stayed dry. “Wrong again,” says Rahat. Is it?40 minPictureLaptop missionDebateCheck · 5 questions
- 3.4Probability inside an AI decision“Scab — 98% confident.” “Scab — 52% confident.” Same word. Should the uncle spray both trees?40 minPictureLaptop missionDebateCheck · 5 questions
- 3.5When the numbers misleadThree notices. “Average journey: 20 minutes.” “Our app is 80% accurate.” “90% say snow doesn't stop them.” None is a lie.40 minPictureLaptop missionDebateCheck · 5 questions
- Unit projectSame data, two headlines
Unit 4
5 lessonsGenerative AI
- 4.1Generative AI, and how it differsAsk the same question three times and get three different answers. Broken — or working exactly as designed?40 minPicture3 laptop missionsDebateCheck · 6 questions
- 4.2Prompting: role, task, context, formatSame tool, same minute. Rahat gets four paragraphs of beautiful nothing. Hiba gets six lines a parent will read.40 minPicture2 laptop missionsDebateCheck · 5 questions
- 4.3Checking the answerRahat's best-ever paragraph ends with a reference. The reference doesn't exist.40 minPicture3 laptop missionsDebateCheck · 5 questions
- 4.4Honest use, and citing AIRahat got the top mark. Then the teacher asked him one question about his own page two, and he couldn't answer.40 minPicture2 laptop missionsDebateCheck · 5 questions
- 4.5Benefits, limits and ethicsThirty seconds, a perfect seating plan — and forty children's names now on a company's servers.40 minPicture3 laptop missionsDebateCheck · 5 questions
- Unit projectMake it, check it, own it
Unit 5
5 lessonsPython
- 5.1Your first programNo blocks. An empty white page. For the first time, the computer asks what you want instead of offering a list.40 minPicture3 laptop missionsDebateCheck · 6 questions
- 5.2Variables and data typesRahat can see the 12 on the screen. Python still refuses to add 1 to it. Why?40 minPicture3 laptop missionsDebateCheck · 7 questions
- 5.3Operators and expressions₹1,100 for 18 kilos or ₹900 for 14? Two traders disagree. Rahat's program could settle it — if it would run.40 minPicture3 laptop missionsDebateCheck · 7 questions
- 5.4Making decisions — if, elif, elseA big apple with scab on it is not an A. One rule, two conditions — and both must be true.40 minPicture4 laptop missionsDebateCheck · 7 questions
- 5.5Lists, and doing something to every itemFive days, five variables. Then the teacher asks for a month: thirty-one variables. There's a better box.40 minPicture3 laptop missionsDebateCheck · 6 questions
- Unit projectA program for a real job