VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

How to Integrate Artificial Intelligence in Primary School | How Can Children Learn Coding and Debugging With AI?

Artificial intelligence can help primary-school children learn coding when it gives them something useful to inspect, explain, test or improve. An adult might ask for two possible programs, a question that draws attention to an error, or a simpler explanation of a command. The child still needs to understand the task, predict what the instructions will do and check the result. Begin with a small problem whose rules are visible. A working animation is a useful product; a learner who can explain why it works and repair it when the conditions change has gained something more durable.

This international guide develops that approach through an original paper-robot lesson. It needs a grid, a directional counter and a few command cards; it does not require children to have AI accounts or a particular device. Any general-purpose AI is operated and reviewed by an adult under current school and service arrangements. The lesson, dialogue and candidate programs are illustrative teaching materials, not results from a classroom study. Vocabulary Coding and Engineering and intelligence projection provide conceptual ways to discuss how clear language becomes useful action. They do not make a chatbot behave like a guaranteed program interpreter.

  • Choose one clear purpose and teach the commands needed to pursue it.
  • Distinguish an algorithm, a program and an AI-generated suggestion.
  • State the starting position, direction, boundaries and success condition.
  • Ask children to predict and trace a short sequence before changing it.
  • Find the first relevant difference between the intended and actual behaviour.
  • Test a proposed repair instead of accepting a confident explanation.
  • Keep necessary access support while checking each learner's reasoning.
  • Revisit the idea with changed conditions and preserve a record others can understand.

Choose your reading route

Begin with the question closest to your classroom or family. Every chapter remains open for full reading.

Full chapter index · Four-week plan · Explore the AI learning library

CHAPTER 1 OF 26 · Define the task

1. Make coding a way to understand a situation

Back to contents

A child can assemble a working project without understanding every decision behind it. That happens with copied instructions as well as with AI-generated code. The teaching question is which decisions the child should learn to make and how the activity will make those decisions visible.

For a first route program, the goal might be understanding sequence and direction. A later lesson might introduce repetition or a conditional choice. Trying to teach every concept through one impressive game can make it difficult to see what a beginner understands.

Start with a manageable situation: move a paper robot to a marked square while respecting the board’s rules. Ask children to describe the goal in ordinary language before introducing commands. They should know what the program is meant to achieve.

AI can widen the examples available to the teacher. It can also produce unnecessary features, unfamiliar notation or a complete answer before pupils have reasoned about the problem. Select its contribution deliberately. The useful measure is whether it helps a child understand, choose, test and explain the next step.

Contents · Next chapter

CHAPTER 2 OF 26 · Define the task

2. Distinguish algorithms, programs and AI suggestions

Back to contents

An algorithm is an organised method for carrying out a task. A program expresses instructions in a form a particular computing system can execute. In the paper activity below, children simulate a tiny instruction system themselves. This is a model of programming, not software running on a computer.

A generative AI response is different again. It may propose an algorithm, write code or explain a result. That proposal must still be checked against the task and the rules of the intended system. A convincing explanation does not establish that the proposed program runs or solves the right problem.

For this lesson’s fixed rules, the same starting state and the same commands produce the same simulated route when followed correctly. Do not turn that local property into a claim that every real program always has a fixed output: software can use changing inputs, randomness and other processes.

Children need a modest distinction they can use: the tool suggests; the agreed command system specifies what a command means; a trace or execution shows what happens under the stated conditions. People decide whether that behaviour meets the goal.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 26 · Define the task

3. Teach the knowledge that makes the task thinkable

Back to contents

Before discussing debugging, check whether children can follow one movement and one turn. They need to recognise the robot’s direction, distinguish a location from an orientation and understand the board labels. These are teaching requirements, not signs that a child is or is not suited to computing.

Use a directional counter with a clear front. Demonstrate a turn without moving to another square. Ask a learner to show the difference between facing right and moving right. Then let them explain the same action through speech, gesture or their usual communication support.

The National Centre for Computing Education’s computing pedagogy guidance gives attention to concepts, vocabulary, modelling and program comprehension. It also encourages reading and tracing code before expecting pupils to produce it independently. These are computing-teaching principles; they do not demonstrate that an AI contribution improves this particular lesson.

Give children enough practice to use the commands meaningfully. A small vocabulary securely understood can support substantial reasoning. An extensive list of coding terms is less useful if the learner cannot connect a term to an action on the board.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 26 · Define the task

4. State the goal before selecting the commands

Back to contents

“Make the robot work” is too vague for a useful test. A clearer goal is: “Starting at A4 and facing north, finish on D1 without entering a blocked square or leaving the board.” That statement identifies a start, a destination and conditions the route must respect.

The final direction is unrestricted in this first task. Say so explicitly. Otherwise one learner may accept a robot facing east at D1 while another assumes that it must face north. They would be testing different requirements without realising it.

Separate essential conditions from preferences. Reaching D1 is essential. Using fewer commands may be a later preference. A visually attractive route is not a substitute for satisfying the task.

Ask pupils to restate the goal in their own words and identify one example that would not satisfy it. A route that stops beside D1 has not reached the destination. A route that arrives by crossing a forbidden square has broken a condition. This preparation makes later feedback specific enough to act on.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 26 · Define the task

5. Build a small, stable command vocabulary

Back to contents

For the paper model, agree three basic commands. MOVE advances the counter exactly one square in the direction it is facing. RIGHT turns it a quarter-turn clockwise in the same square. LEFT turns it a quarter-turn anticlockwise in the same square. A turn never includes a move.

If a MOVE would enter a blocked square or leave the board, stop the run before making that movement and record the attempted command. Do not silently steer around the obstacle, wrap to the other side or let the robot guess what the author intended.

Write these meanings on a reference card. During a test, anyone can consult it. The purpose is not memorising arbitrary rules under pressure; it is using shared rules to predict and explain behaviour.

This is a limited but useful connection to precise vocabulary and better thinking. A word such as “right” can mean several things in ordinary conversation. Here its meaning is deliberately narrowed for a particular task. Natural language outside this model remains richer and more context-dependent.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 26 · Trace and repair

6. Prepare an activity that works without a screen

Back to contents

Draw a four-by-four grid on paper or use sixteen suitable spaces on a tabletop. Label the columns A, B, C and D from left to right. Label the rows 1, 2, 3 and 4 from top to bottom. In this model, north points towards the top of the page, so a northward MOVE reduces the row number by one.

Use a counter whose front can be identified by touch or sight, command cards and a simple recording sheet. The adult chooses materials and an arrangement appropriate for the learners. A child can direct another person to move the counter if handling it is not a suitable response method.

Keep the first trial small. A tabletop model avoids requiring children to navigate around furniture or manage a device at the same time as the reasoning. It also gives everyone access to the same state of the program.

The activity can stand alone. AI is useful only if an adult-reviewed contribution improves the comparison, explanation or feedback. No live model is needed while children investigate a prepared candidate sequence.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 26 · Trace and repair

7. Set up the original paper-robot problem

Back to contents

Place the counter at A4 facing north. Mark B3 as blocked and D1 as the goal. All other squares are open. The table is the complete board specification; a teacher may draw it in a larger format for the lesson.

Row Column A Column B Column C Column D
1 Open Open Open Goal
2 Open Open Open Open
3 Open Blocked Open Open
4 Start, facing north Open Open Open
Chapter 7: Set up the original paper-robot problem

In the illustrative lesson, Jo is the teacher and Ben and Aisha are learners. Jo asks them to point out the start, the goal and the blocked square before discussing any route. These characters do not represent observed pupils or reported outcomes.

Ask the children to describe a possible route with a finger or a second marker. Then connect the description to the command card. “Go up and then across” identifies an intention, but it does not yet specify the number of movements or the turn.

Record the starting state beside every program. Reset to A4 facing north before each run. A correct command sequence tested from yesterday’s finishing position is a different test, even if its written commands have not changed.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 26 · Trace and repair

8. Predict a short candidate before running it

Back to contents

Offer this deliberately constructed candidate: MOVE; MOVE; RIGHT; MOVE; MOVE; MOVE. Semicolons separate commands. The notation is classroom pseudocode, not syntax to paste into a named programming product.

Ask each learner to predict the finishing square and direction before touching the counter. They can sketch a route, arrange cards or describe their prediction. The teacher should distinguish a reasoned prediction from a lucky selection of the final square.

Do not announce that the candidate is wrong at the beginning. Say that it is a proposal whose behaviour must be examined. It is useful because its six commands are short enough to inspect while containing a difference from the intended route.

Ben might predict D1 because the program looks like “up and across”. Aisha might count the two initial movements and predict D2. These are fictional possible responses. The teacher can ask which command changes the row and which changes the direction, then use the trace to resolve the disagreement. The program’s appearance does not decide the result.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 26 · Trace and repair

9. Trace both position and direction

Back to contents

A trace records the state after each command. Include direction as well as position, because the next MOVE depends on which way the robot faces. Turning is a real change even when the square stays the same.

Stage Command just completed Position Facing
Start None A4 North
1 MOVE A3 North
2 MOVE A2 North
3 RIGHT A2 East
4 MOVE B2 East
5 MOVE C2 East
6 MOVE D2 East
Chapter 9: Trace both position and direction

The candidate finishes on D2, not D1. It stays within the board and avoids B3, but it does not meet the destination requirement. Those are separate findings: a program can satisfy some conditions while missing another.

Let children compare their predictions with the trace. Ask where a prediction first diverged from the recorded state. If someone moved the counter while turning, revisit the command meaning before discussing a repair.

The table describes the outcome under the stated rules. It is not an AI-generated measurement or a claim about a real robot’s accuracy. The class can reproduce it manually, checking one instruction at a time.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 26 · Trace and repair

10. Find the relevant difference before changing the program

Back to contents

The intended route along the left edge needs to reach A1 before turning east. The candidate turns at A2. That identifies a useful place to investigate: it contains two northward movements where this intended route requires three.

Ask, “What did we expect at this point, and what does the program actually specify?” This gives the learner a reason for a change. Replacing several commands at random may produce a successful route while hiding why the change worked.

Do not assume every failure is a missing command. Another program might start from the wrong square, turn the wrong way, use an undefined command or pursue a different destination. Diagnose the mismatch in this case instead of teaching a repair rule that applies to every problem.

A child who identifies the turn at A2 has made a meaningful contribution even before rewriting the sequence. The teacher can support the next step while preserving that decision. Debugging involves understanding the observed behaviour and connecting it to the intended goal; it is more than obtaining a replacement answer from a tool.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 26 · Trace and repair

11. Make one justified repair and test it

Back to contents

Insert one MOVE before the RIGHT command. The revised sequence is MOVE; MOVE; MOVE; RIGHT; MOVE; MOVE; MOVE. Reset the counter and run the whole sequence under the same board rules.

The three initial movements take it from A4 through A3 and A2 to A1. RIGHT leaves it at A1 facing east. The remaining three movements take it through B1 and C1 to D1. It finishes facing east, which is permitted because the task specified no final direction.

Contrast this with adding MOVE at the very end of the original candidate. That candidate ends at D2 facing east, so an extra MOVE would attempt to leave the board towards column E. The location of the repair matters as much as the command selected.

Ask the learner to complete a short record: “We changed… because…; our new trace shows…”. This connects the repair to evidence. If the revised run fails, inspect the trace calmly. A failed attempt supplies information about the program or its execution; it does not establish anything sweeping about the child.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 26 · Trace and repair

12. Compare two valid solutions without inventing one best answer

Back to contents

Another valid sequence is RIGHT; MOVE; MOVE; MOVE; LEFT; MOVE; MOVE; MOVE. It first faces east, travels along row 4 to D4, turns north and moves to D1. It avoids B3 and finishes facing north.

Both routes meet the original goal. Each includes six MOVE actions. The left-edge route has one turn and seven commands in total; the bottom-edge route has two turns and eight commands. These counts use the uncompressed sequences shown here.

Which route should the class prefer? That depends on the purpose. If the additional criterion is fewer commands under these rules, the seven-command version has the advantage. If the final direction must later be north, the earlier comparison needs revisiting. A preference becomes meaningful when its criterion is stated.

This is a useful AI application: an adult can request alternatives, then children compare them against the same specification. Do not ask the system to label one option “best” without saying what matters. A justified comparison teaches more than accepting a ranking whose assumptions remain invisible.

Contents · Previous chapter · Next chapter

CHAPTER 13 OF 26 · Extend the ideas

13. Introduce repetition after the repeated work is understood

Back to contents

Once children understand the longer route, introduce a compact notation: REPEAT 3 [MOVE]; RIGHT; REPEAT 3 [MOVE]. For this lesson, REPEAT means perform the commands inside the brackets the stated number of times before continuing. A bracketed group may contain more than one command in later tasks.

Expand the notation together. The first repeated group gives three MOVE actions, then RIGHT occurs once, then the second group gives three more MOVE actions. The shorter written description has the same movement behaviour as the repaired sequence on this board.

Do not confuse fewer written items with fewer physical movements. The robot still moves six squares. Repetition changes how the instruction is represented; it does not teleport the counter or remove the need to follow the commands.

Ask children to identify the repeated part before introducing the abbreviation. If the pattern is not yet clear, keep the expanded cards available. A learner can explain repetition through arranging or grouping cards without typing anything. AI may suggest a compact version, but the child’s job is to check what that version expands into.

Contents · Previous chapter · Next chapter

CHAPTER 14 OF 26 · Extend the ideas

14. Show how a condition differs from a fixed sequence

Back to contents

For a separate extension, define a local rule: “If the square ahead is open, MOVE; otherwise, RIGHT.” Here open means inside the board and not blocked. The condition is checked against the counter’s present position and direction each time the rule is applied.

At A3 facing north on the original board, A2 is open, so the rule produces MOVE to A2. At B4 facing north, B3 is blocked, so the rule produces RIGHT: the counter stays at B4 and faces east. These are two illustrative tests of the same rule.

This is a conditional instruction, not an AI judgement about the board. A human checks the printed square in the paper model. A real implementation would need a specified way of obtaining the relevant information.

These one-step tests do not establish a general solution to a destination problem. From A4 facing north on this particular board, seven applications of the rule reach D1; an eighth turns the counter south, and a ninth moves it to D2. The rule has no instruction to stop at the goal. A different board also needs its own checks. Introduce selection when learners understand the earlier commands, and use a stated number of paper steps or an explicit stopping condition.

Contents · Previous chapter · Next chapter

CHAPTER 15 OF 26 · Extend the ideas

15. Choose tests that expose the assumptions

Back to contents

A successful run answers a question about that starting state and board. It does not establish that the program works for every arrangement. Useful tests change a condition deliberately and ask what the change should affect.

Test of the seven-command repaired sequence What the trace shows What the test reveals
Original start A4, facing north; B3 blocked; goal D1 Finishes at D1 facing east Meets the stated original task
Start A4 facing east instead Reaches D4, turns south, then attempts to leave the board The starting direction matters
Original start, but move the blocked square from B3 to A2 Reaches A3; the next MOVE is blocked The route depends on the obstacle arrangement
Original board and start, but change the goal to D2 Still finishes at D1 Legal movement can still miss a revised goal
Chapter 15: Choose tests that expose the assumptions

Run these as clearly labelled variants, resetting before each. Keep the original and changed specifications separate so children do not accidentally mix them.

Ask learners to propose another informative test and explain its purpose. A test is useful because it examines a relevant assumption or requirement, not because it makes the worksheet longer. Several successful examples can increase local confidence while still leaving untested conditions.

Contents · Previous chapter · Next chapter

CHAPTER 16 OF 26 · Extend the ideas

16. Give AI a contribution the adult can inspect

Back to contents

An adult could supply the board and command definitions to an approved AI tool and ask for candidate sequences or checking questions. For example:

Using only the stated paper-board rules, suggest two short candidate routes from A4 facing north to D1. Show a separate position-and-direction trace for each. Do not add commands, move the blocked square or assume a required final direction. Label the routes as proposals to check. Also suggest one question that helps a learner examine the start state without giving a repair.

The teacher must verify the response before classroom use. A trace printed beside a program can be wrong too. Compare every state with the actual rules instead of treating the additional explanation as proof.

A useful response may save preparation time or reveal an alternative worth discussing. An incorrect response may be repaired or discarded. The class should not be made responsible for ensuring model reliability through perfect prompt wording.

There is no need to send pupil names, personal histories or private assessment records for this task. The fictional board and general teaching objective contain the information needed for the requested contribution.

Contents · Previous chapter · Next chapter

CHAPTER 17 OF 26 · Extend the ideas

17. Use feedback that leaves a decision for the learner

Back to contents

Feedback should meet the current learning need. If a child does not understand RIGHT, explain and demonstrate it. If they understand the commands but have overlooked the starting direction, ask them to mark that direction before tracing. If they can find the mismatch, let them propose the repair.

A small menu of prompts can help: “Where is the counter now?”, “Which way is it facing?”, “What does this command change?”, and “Which requirement have we checked?” These questions direct attention without always naming the replacement command.

Avoid turning a preference for independence into refusal to teach. A learner who needs a worked example should receive one. Afterwards, offer a related example where they can make more of the decisions themselves.

An adult can use AI to draft feedback questions, then select and adjust them. Review whether a supposed hint actually reveals the answer or introduces an unfamiliar concept. Record the assistance used when assessing the child’s response. A correct explanation after a full demonstration means something different from a repair the learner proposed and justified independently.

Contents · Previous chapter · Next chapter

CHAPTER 18 OF 26 · Extend the ideas

18. Move from paper to a digital environment deliberately

Back to contents

The paper model establishes a small set of ideas. Moving to software adds interface controls, syntax, events and an actual execution system. The teacher should choose an approved environment suited to the learning goal and check its current access arrangements.

Do not assume that a command with a similar name has the same meaning. A digital “move” block might use pixels or steps rather than grid squares. A turn might use an angle. The starting point and direction may need to be set explicitly when a project begins.

Translate one relationship at a time. Show which digital instruction corresponds to one paper action and test it. A child should understand the connection before importing a complete AI-generated project. Keep the paper reference available if it helps explain an unexpected result.

The Teach Computing robot-algorithms unit connects sequencing, prediction, design and debugging in a primary curriculum example. Its year-group placement belongs to that curriculum. It is not a universal readiness rule, a product requirement or evidence that the proposed AI-assisted lesson has been evaluated.

Contents · Previous chapter · Next chapter

CHAPTER 19 OF 26 · Keep learning visible

19. Organise participation without hiding individual thinking

Back to contents

In a pair, one learner might place the next command while the other traces the resulting state. Exchange responsibilities after a short sequence, and ask both to explain a decision. Neither role should become a permanent label such as “the coder” and “the helper”.

Provide equivalent access to the board and reference card. Large print, tactile markers, spoken instructions, eye pointing or an established communication aid may help a learner participate. The relevant question is who makes the reasoning decision, not who physically moves the counter.

Keep appropriate supports during an individual check. If the objective is predicting a sequence, difficulties with handwriting or dragging a screen object should not silently become the assessment. If a separate objective concerns operating an interface, teach and examine that objective explicitly.

The guide to supporting different learning needs explains this distinction further. Shared ambition can coexist with individually appropriate goals. Offer a meaningful next step for each learner while preserving opportunities to contribute to the common discussion.

Contents · Previous chapter · Next chapter

CHAPTER 20 OF 26 · Keep learning visible

20. Check whether the reasoning survives a change

Back to contents

After practising the main route, ask each child to solve a related problem with one condition changed. They might need to explain why facing east changes the result, identify the first blocked movement after A2 is closed, or design a route to a different destination.

Choose a change that matches the taught concept. A beginner learning sequence should not suddenly be assessed on nested loops or unfamiliar coordinate conventions. Transfer is informative when the learner recognises a relevant relationship in a new situation.

Ask for the prediction, a trace and a short reason for a revision. Accept a suitable response mode and retain necessary access support. Note whether a hint supplied part of the reasoning. The purpose is to plan the next teaching step, not to catch children out.

The earlier article on learning rather than copying develops this approach to evidence. A working group program, an individual explanation and a later transfer task reveal different things. Together they offer a more useful picture than the final product alone.

Contents · Previous chapter · Next chapter

CHAPTER 21 OF 26 · Keep learning visible

21. Keep the contribution record simple and honest

Back to contents

Children should know what help is allowed in a particular task. During a lesson, comparing an adult-reviewed AI proposal may be the intended activity. During an independent assessment of writing a sequence, supplying the whole sequence would change what the result demonstrates. Explain that difference before work begins.

Use a short contribution note rather than a complicated authorship investigation. It might say: “We drew the first route. The adult showed an AI-suggested alternative. We traced both and chose this version because…”. This fictional example records the role of assistance without claiming the software is a responsible team member.

Keep early attempts where they help explain a decision. A crossed-out turn and the learner’s reason for changing it can be more informative than a polished final display. Do not use a detector score to settle whether a child understands their code.

When sharing work beyond the lesson, follow the school’s existing arrangements and check any reused materials. The classroom can value other people’s contributions while being clear about what the learner planned, received, checked and changed.

Contents · Previous chapter · Next chapter

CHAPTER 22 OF 26 · Keep learning visible

22. Use a four-week sequence to build understanding

Back to contents

This is an adaptable teaching proposal, not a validated intervention or a promised schedule of progress. Use shorter or longer periods where the learners and curriculum require them.

Week Teaching focus Learner decisions Evidence to keep
1 Establish the goal, board and three command meanings Predict one move and one turn; describe the starting state A brief initial explanation or demonstrated trace
2 Trace the candidate and locate its mismatch Identify where behaviour differs from the intended route The six-command trace and a proposed repair with a reason
3 Compare valid routes; introduce repetition if ready Explain equivalent behaviour and select a meaningful test A checked alternative, expanded repetition and one changed-condition test
4 Apply the reasoning to a new task and review the approach Predict, trace, revise and explain with appropriate support An individual transfer response and a teacher note on learning and preparation effort
Chapter 22: Use a four-week sequence to build understanding

The AI contribution can remain small throughout: preparing a candidate comparison or feedback question. The teacher may omit it if preparation and checking cost more than the contribution helps.

End each week by identifying the next uncertainty. Does the learner understand turns? Can they keep direction in the trace? Can they distinguish a legal route from a successful one? Those observations should shape the next lesson more than completing the calendar.

Contents · Previous chapter · Next chapter

CHAPTER 23 OF 26 · Keep learning visible

23. Review the quality of the lesson as well as the program

Back to contents

A program can pass its tests while the teaching needs revision. Perhaps one pupil did all the tracing, the coordinate labels were unfamiliar, or the AI explanation introduced vocabulary the class did not need. Review participation and understanding alongside the final route.

Keep a modest adult record: what the tool contributed, what required correction, which learner decisions remained visible and how long the preparation took. Include time spent checking the generated trace and adapting the resource. Faster generation is not automatically faster preparation.

Look for specific changes worth keeping. A clear command card may help more than an elaborate automated hint system. A second valid route may create a useful discussion. A long generated project may be unnecessary for the chosen goal.

If a pupil is confused, revisit the relevant concept instead of adding more AI output. If a resource is wrong, repair or remove it before reuse. The aim is a lesson whose conditions are understandable and whose evidence supports the next decision. A short local trial can guide that decision without establishing a general causal claim about AI.

Contents · Previous chapter · Next chapter

CHAPTER 24 OF 26 · Keep learning visible

24. Connect vocabulary, debugging and intelligence projection

Back to contents

At the word level, a stable meaning for MOVE prevents the instruction from changing unnoticed. At the program level, sequence and state turn those meanings into a predicted route. At the classroom level, a shared trace lets several people examine the same claim. Across time, a clear record allows another teacher or learner to reproduce and adapt the example.

This is a practical illustration of Vocabulary Coding and Engineering: preserve the important meanings while building more complex instructions. If the rules change, label a new version and keep the earlier definitions with the earlier test. Do not pretend that all natural language can be reduced to this small formal command set.

In eduKate’s EnDist framing, useful forward capability depends on what remains usable after misunderstanding, misalignment and rework. EnDist is a nonphysical conceptual lens, not a validated measure of intelligence or a score for pupils. Here the meaningful improvement would be a learner who can carry a checked method into another problem.

AI may expand the options a person can consider. Education helps that person choose, inspect and responsibly apply those options. The wider social ambition is conditional: communities benefit when more people can understand the systems they use and repair mistaken assumptions before others inherit them.

Contents · Previous chapter · Next chapter

CHAPTER 25 OF 26 · Ask and continue

25. Answer the questions parents and teachers often ask

Back to contents

If AI can generate code, why should children learn programming?

Understanding a small program helps a learner connect a goal, instructions and observable behaviour. They can ask whether a generated solution does the right thing and explain what a change should affect. This does not require every child to become a professional programmer or justify a prediction about future jobs.

Does this activity teach children how AI itself works?

It teaches a limited comparison between explicit commands and generated suggestions. The paper robot is not an AI system. Understanding trained models, data and model limitations requires further teaching. Keep the analogy useful by stating where it ends.

Can a younger learner do the task without coordinates?

Yes. An adult can begin with fewer squares and familiar location labels, then introduce the grid notation when appropriate. Preserve the intended relationship between a starting state, a command and an outcome. Readiness depends on the task and available support, not a universal age cutoff invented for this lesson.

What should happen when the AI gives a correct complete answer?

Use it only if it serves the learning goal. Children can predict its behaviour, trace it, compare alternatives or examine a changed condition. If the goal is creating their own sequence, show the answer at a different stage or choose another contribution. Correct output can still remove a decision the learner needs to practise.

Should every incorrect attempt be corrected immediately?

Correct misunderstandings that prevent meaningful participation and intervene where the setting requires it. Within the manageable paper task, allow a learner to test a reasoned proposal and inspect the result. The adult decides how much support is useful; productive exploration does not mean leaving children confused indefinitely.

What if the family has no suitable device or subscription?

The lesson works with paper, counters and an adult-prepared comparison. A school should provide an equivalent route to the intended learning. Home technology access should not determine whether a child can practise explaining a sequence or testing an assumption.

Contents · Previous chapter · Next chapter

CHAPTER 26 OF 26 · Ask and continue

26. Begin with one small program and an inspectable reason

Back to contents

Choose a goal the learner can understand, a command vocabulary they can use and a test whose result they can explain. Teach the missing knowledge. Let the child predict, trace, revise and carry the idea into a related situation. Add AI where a reviewed contribution improves that work.

The 2026 CSTA PK–12 standards overview retains programming while giving balanced attention to reading, evaluating, modifying and debugging programs. It describes learning expectations rather than prescribing this lesson, and it is not a study of the effectiveness of AI assistance. Its emphasis helps locate the broader educational purpose: understanding computing involves more than producing code.

All board layouts, programs, traces, characters and the four-week sequence in this guide are original illustrative material. The traces follow the defined paper-model rules. The teaching proposal has not been evaluated as a complete intervention, and its success in one classroom would not establish an effect for every learner or tool.

Sources and further reading

Sources reviewed on 27 November 2026. Use the requirements and approved arrangements that apply to your own school when implementing an activity.

Contents · Previous chapter · Continue in the AI learning library