
Use cases
Computer scienceComputing
Browse AI use cases from computer science teachers.
12 of 12 guides shown
Computer ScienceComputingElementaryPrimary

How to run an Hour of AI
How to run an Hour of AI in three steps: pick an activity where students teach the AI, have each student test it, and ask them to explain every mistake. Shown with a free Flint activity where elementary students train a cat-or-dog sorter.
Computer ScienceComputingMiddle schoolKey Stage 3

How to run coding projects in middle school
How to run coding projects in middle school where each student writes a small Python program for a problem they choose, with the same steps and rubric for the whole class, and a free Flint activity where an AI coach reads their code and errors without writing it for them.
Computer ScienceComputingElementaryPrimary

How to teach algorithms
What is an algorithm: a list of steps, in the right order, that finishes a task. In a free Flint activity, each student writes steps for an everyday task and Sparky builds a robot that acts them out exactly as written, so a missing step shows up as a bug the student finds and fixes.
Computer ScienceComputingMiddle schoolKey Stage 3

How to teach binary numbers
How to teach binary numbers: place values that double, reading 101 as 5, and why each card is worth twice the one to its right. In a free Flint activity, each student flips binary cards to write their age and a letter, and Sparky answers a wrong count with a question about the cards they flipped.
Computer ScienceComputingMiddle schoolKey Stage 3

How to teach if-then statements
How to teach if-then statements in Python: how if, elif and else pick one branch, and why a capital letter or an extra space can skip it. In a free Flint activity, each student codes a choose-your-path story and Sparky asks what the program prints for answers the student never tried.
Computer ScienceComputingElementaryPrimary

How to teach internet safety
Internet safety for kids: keep personal details private, guard passwords, and tell a trusted adult when someone online asks for something. In a free Flint activity, students decide what to do with messages from a made-up game friend and explain why to Sparky.
Computer ScienceComputingHigh schoolKey Stages 4 and 5

How to teach logic gates
How to teach logic gates: what AND, OR and NOT gates do and how a truth table lists every input. In a free Flint activity, each student wires an alarm circuit to a client's spec, writes its truth table and gets a hint about the row their alarm gets wrong.
Computer ScienceComputingMiddle schoolKey Stage 3

How to teach pseudocode
How to teach pseudocode: what students need to write in each step so a computer can follow it. In a free Flint activity, each student writes pseudocode for a rule in a game they play, and Sparky turns it into Python line by line so the student can run it and find the steps they left out.
Computer ScienceComputingHigh schoolKey Stages 4 and 5

How to teach recursion
How to teach recursion: what a recursive function and a base case are, and why a function without a base case never stops. In a free Flint activity, students write and run recursive functions in Python or Java, and Sparky asks for the base case instead of fixing the code.
Computer ScienceComputingHigh schoolKey Stages 4 and 5

How to teach sorting algorithms
How to teach sorting algorithms: what selection sort and bubble sort do, and how to count the work each one does. In a free Flint activity, each student sorts a playlist both ways by hand, compares the comparisons and swaps, then codes the faster one in Python or Java.
Computer ScienceComputingElementaryPrimary

How to teach the parts of a computer
How to teach the parts of a computer: input, output, processing and storage, and the parts that do each job. In a free Flint activity, each student starts from a device they use at home, sorts the parts of a desktop computer with Sparky, and gets a question about their own device when a sort is wrong.
Computer ScienceComputingHigh schoolKey Stages 4 and 5

How to use AI to teach computer science
How to use AI in computer science lesson plans: an AI tutor explains a new concept through each student's interests and starting point, then checks who understood. Shown with a free malware activity.








