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.

Rethinking Secondary Schools And Teachers With AI | Preparing for the Next Era in Education | How Should Secondary Schools Teach Computing When AI Can Write Code and Build Digital Systems?

Three learners review open books together at a classroom table, with stacks of textbooks, stationery and a whiteboard in the bright room.

Secondary schools should teach computing with AI by developing students who can specify a problem, understand an algorithm, read and modify code, examine data, test results and explain the consequences of a system. A generated program may be useful, but it does not establish that its author understands the logic or that the program behaves correctly. Computing education becomes a way to direct, inspect and create intelligence rather than simply request code.

This international guide uses a fictional school-resource tagging exercise to connect programming foundations, classification, evaluation and human review. It includes worked tests, a transfer task, a four-week studio and a progression from a single instruction to institutional and civilisation-scale digital capability. Vocabulary Coding and Engineering and EnDist are developing eduKate frameworks; the classroom activity is a proposal, not a validated intervention.

  • Teach computational thinking, algorithms, data and code reading as foundations.
  • Use AI for bounded assistance, code explanation, test generation and comparison.
  • Distinguish explicit rules from learned classification and generated responses.
  • Define labels, units, inputs and expected outputs before testing.
  • Inspect errors, missing cases, permissions, privacy and downstream effects.
  • Assess what students can explain and modify, not simply whether code runs.

SECONDARY SCHOOLS AND TEACHERS WITH AI · ARTICLE 29

Choose your reading route

Start with the question closest to yours, or read in order.

Full chapter index · Four-week plan · Explore the series

Chapter index

Chapters 1–5: Understand computing in the AI age
  1. Why writing code is no longer the only question
  2. Teach the enduring computing concepts
  3. Read programs before generating more
  4. Understand algorithms and learned systems
  5. Specify the task in ordinary language
Chapters 6–10: Build precise and testable programs
  1. Decompose the task into functions
  2. Define the data types and missing values
  3. Construct test cases before trusting code
  4. Use AI as a reviewer and explain the repair
  5. Keep prototypes separate from live systems
Chapters 11–15: Evaluate a fictional classification system
  1. Worked example: classify fictional learning resources
  2. Build the four classification counts
  3. Calculate three different measures
  4. Compare an alternative fictional classifier
  5. Transfer to an unfamiliar record
Chapters 16–20: Teach debugging, design and responsibility
  1. Investigate errors rather than only counting them
  2. Use an explicit rule when it is sufficient
  3. Design the interface for the recipient
  4. Teach security as a design constraint
  5. Assess computing competence separately from the artefact
Chapters 21–26: Extend reliable systems across zoom levels
  1. Retool computing teachers around inspected practice
  2. Follow computing across the zoom levels
  3. Use EnDist to examine the useful result
  4. Preserve systems that another class can maintain
  5. Run a four-week computing studio
  6. Begin with a test you can explain

International edition. All worked cases are fictional; teaching sequences are proposals to adapt and evaluate locally.

CHAPTER 1 OF 26 · Understand computing in the AI age

1. Why writing code is no longer the only question

Back to contents

A learner can request a program and receive something that appears to run. The harder questions are what the program is supposed to do, which cases it handles and whether the student can identify a failure. Computing education should make these questions visible rather than measure progress only by the length of a generated script.

The purpose is to develop people who can understand, create and maintain systems. AI may lower the barrier to making a prototype; verification and responsible use still require knowledge.

Contents · Next chapter

CHAPTER 2 OF 26 · Understand computing in the AI age

2. Teach the enduring computing concepts

Back to contents

The 2026 CSTA PK–12 standards organise computing around algorithms and design, programming, data, systems and security, and computing’s relationship with society. AI-related content runs through these concepts rather than being treated as an isolated subject. The standards are a model that schools may adapt, not a universal mandate.

A secondary teacher can preserve foundational concepts while introducing AI as a new context in which students apply them.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 26 · Understand computing in the AI age

3. Read programs before generating more

Back to contents

The CSTA explanation of the updated standards retains programming while giving attention to reading, evaluating, changing and debugging code. Ask learners to trace a small program and predict its output before running it.

A student who can locate a faulty condition and explain the repair demonstrates understanding that a copied program cannot show. Teach syntax, control flow, variables and data types progressively.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 26 · Understand computing in the AI age

4. Understand algorithms and learned systems

Back to contents

An explicit rule might classify a document as a timetable when its verified category is timetable. A learned classifier instead estimates a label using patterns acquired during training. A generative assistant may produce a free-text response. These mechanisms can be combined but are not interchangeable.

For beginners, contrast a decision table with a set of predicted labels. Ask where the rule comes from and what happens when the input is ambiguous. The design determines how the system can be checked.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 26 · Understand computing in the AI age

5. Specify the task in ordinary language

Back to contents

In eduKate’s proposed Vocabulary Coding and Engineering, consequential words have definitions, examples, boundaries and tests. A specification for a resource sorter must define what counts as a resource, a valid label and an unknown category.

Natural language is not executable code simply because it resembles an instruction. Students should connect the specification to the program’s actual logic and check that both produce the intended behaviour.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 26 · Build precise and testable programs

6. Decompose the task into functions

Back to contents

Separate receiving an input, validating it, choosing a label and displaying the result. Each step has a purpose and a test. A learner can draw this process on paper before implementing anything.

If a program fails, the decomposition makes it easier to locate the problem. An AI-generated solution that merges everything into one opaque step may be harder for a beginner to inspect than a small hand-written function.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 26 · Build precise and testable programs

7. Define the data types and missing values

Back to contents

A Boolean value, a number, a string and a missing field represent different kinds of information. An empty description does not mean the resource is unimportant. A missing label does not mean the correct label is ‘other’.

Use invented records and define the expected behaviour for incomplete inputs. The program should return a clear review status rather than inventing a fact. Students should explain why a missing value needs a different treatment from a valid negative result.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 26 · Build precise and testable programs

8. Construct test cases before trusting code

Back to contents

Write ordinary, boundary and invalid cases before accepting a generated implementation. A rule requiring a word count of at least 100 must accept 100; one requiring more than 100 must reject it. Test below, at and above the boundary.

Ask students to predict each expected result independently. Then compare the program’s output. This is a small application of test-driven thinking, not a promise that a finite set of tests proves every possible input.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 26 · Build precise and testable programs

9. Use AI as a reviewer and explain the repair

Back to contents

A useful request is: ‘Here is the specification and a short program. Identify one test case that may fail. Explain why without replacing the entire program.’ The student traces the relevant logic, verifies the failure and makes a targeted repair.

Require an explanation of what changed and why. If the model supplies code the student cannot interpret, break it into smaller parts or return to a teacher-checked example.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 26 · Build precise and testable programs

10. Keep prototypes separate from live systems

Back to contents

Use fictional data and a local or school-approved practice environment. A resource-classification exercise does not need access to real student records, school accounts or external publishing tools. A prompt saying not to send data is not a substitute for technical permissions.

Teach the difference between a program’s possible capabilities and its authorised actions. Real deployment requires appropriate review, maintenance and school approval.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 26 · Evaluate a fictional classification system

11. Worked example: classify fictional learning resources

Back to contents

A fictional resource collection contains 20 documents. The teacher supplies reviewed reference labels: eight are practice guides, and twelve are not. An imaginary classifier predicts that nine documents are practice guides. Of those nine, six really are practice guides according to the reference labels.

The task is to inspect the classifications, not identify or label pupils. The figures are invented, not results from any named AI product. A practice guide means a document whose main purpose is to provide guided or independent exercises under this exercise’s definition.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 26 · Evaluate a fictional classification system

12. Build the four classification counts

Back to contents

Six documents are correctly labelled as practice guides, known as true positives. Three of the nine predicted guides are not guides, or false positives. Of the eight actual guides, two were missed, or false negatives. Of the twelve non-guides, nine were correctly rejected, or true negatives.

Check the totals: 6 + 3 + 2 + 9 = 20; predicted guides total nine; actual guides total eight. The table must agree with the supplied labels before any performance calculation.

Contents · Previous chapter · Next chapter

CHAPTER 13 OF 26 · Evaluate a fictional classification system

13. Calculate three different measures

Back to contents

Accuracy is the proportion of all correct labels: (6 + 9) divided by 20 = 75 percent. Precision for the practice-guide label is six divided by nine, or about 66.7 percent. Recall for that label is six divided by eight, or 75 percent.

Precision asks how many predicted guides actually qualify; recall asks how many actual guides were found. Here accuracy and recall both equal 75 percent, but they measure different quantities. Students should explain the denominators rather than memorise three names.

Reference labelPredicted guidePredicted not guideTotal
Practice guide628
Not a practice guide3912
Total91120
Fictional classifier A: accuracy 75%, precision approximately 66.7%, recall 75%.

Contents · Previous chapter · Next chapter

CHAPTER 14 OF 26 · Evaluate a fictional classification system

14. Compare an alternative fictional classifier

Back to contents

A second imaginary system marks seven of eight actual guides correctly and marks five non-guides incorrectly as guides. It has seven true positives, five false positives, one false negative and seven true negatives. Its accuracy is 14/20 = 70 percent; precision is 7/12, about 58.3 percent; recall is 7/8 = 87.5 percent.

The second finds more of the guides but creates more incorrect suggestions. The preferred choice depends on the intended purpose, the cost of missed material and the review burden. A single accuracy figure cannot settle that trade-off.

Contents · Previous chapter · Next chapter

CHAPTER 15 OF 26 · Evaluate a fictional classification system

15. Transfer to an unfamiliar record

Back to contents

In a new fictional dataset of 30 resources, ten are guides. The classifier predicts 12 guides; eight of those are correct. The remaining counts are four false positives, two false negatives and 16 true negatives. Accuracy is 24/30 = 80 percent, precision is 8/12, about 66.7 percent, and recall is 8/10 = 80 percent.

Ask a learner to reconstruct the table and identify which measure addresses a user who wants to find as many guides as possible. This task tests understanding rather than recall of the earlier numbers.

Contents · Previous chapter · Next chapter

CHAPTER 16 OF 26 · Teach debugging, design and responsibility

16. Investigate errors rather than only counting them

Back to contents

A document may contain both a timetable and exercises. The original label definition may not handle mixed-purpose resources. Examine a few invented borderline records, decide whether the specification needs a revision and record the reason.

A correction to the reference label is different from a correction to the model. Rerun relevant tests after a definition changes. The test set’s quality matters as much as the calculation.

Contents · Previous chapter · Next chapter

CHAPTER 17 OF 26 · Teach debugging, design and responsibility

17. Use an explicit rule when it is sufficient

Back to contents

If the collection already includes an authoritative category field, a simple filter may be enough. Adding an AI classifier can introduce uncertainty and review work without helping the recipient. Compare the simpler method with an AI-assisted alternative.

The student should explain which part benefits from flexible language understanding and which part is better handled by deterministic logic. Choosing not to use AI for a task can demonstrate mature computing judgement.

Contents · Previous chapter · Next chapter

CHAPTER 18 OF 26 · Teach debugging, design and responsibility

18. Design the interface for the recipient

Back to contents

A resource sorter should display the suggested label, the basis available for checking and an option to mark uncertain cases for review. Avoid representing a provisional label as confirmed. The user should understand what the output does and does not establish.

Invite a classmate to inspect a fictional example and explain what action they think the system permits. Revise ambiguous wording or inaccessible presentation.

Contents · Previous chapter · Next chapter

CHAPTER 19 OF 26 · Teach debugging, design and responsibility

19. Teach security as a design constraint

Back to contents

Computing systems handle data and permissions. A school prototype should use only the information necessary for the stated task and should avoid connecting to real accounts or sensitive records without appropriate approval. Text found in an input file is not automatically an authorised instruction.

Use a harmless paper exercise in which a resource description tries to change the labelling rule. Students should distinguish data being analysed from instructions given by the authorised designer.

Contents · Previous chapter · Next chapter

CHAPTER 20 OF 26 · Teach debugging, design and responsibility

20. Assess computing competence separately from the artefact

Back to contents

Ask the learner to trace one algorithm, explain a variable, reconstruct a test and modify a condition. Give them a new classification table with the assistance rules stated in advance. A working generated program does not establish that the student can maintain it.

Preserve agreed accessibility supports. Assess problem specification, code understanding, testing, communication and responsible judgement. Avoid treating a person’s prompt count as a proficiency score.

Contents · Previous chapter · Next chapter

CHAPTER 21 OF 26 · Extend reliable systems across zoom levels

21. Retool computing teachers around inspected practice

Back to contents

Teachers can review a small generated program together, locate a failure, write an expected test and decide how to explain the repair. Record the version, learning objective and assumptions before sharing the example.

The UNESCO student framework provides a broad direction for ethical AI application and creation. A school should test its own teaching designs rather than treating a framework as proof of effectiveness.

Contents · Previous chapter · Next chapter

CHAPTER 22 OF 26 · Extend reliable systems across zoom levels

22. Follow computing across the zoom levels

Back to contents

At word level, define positive and missing. At algorithm level, specify conditions. At learner level, trace and debug. At team level, share tests and code. At school level, govern systems and preserve usable documentation. At institutional level, cooperate with appropriate domain and technical expertise.

At civilisation scale, digital systems can project useful capability or multiply errors. The pathway from a school exercise to that outcome requires fresh evidence and accountable direction at each scale.

Contents · Previous chapter · Next chapter

CHAPTER 23 OF 26 · Extend reliable systems across zoom levels

23. Use EnDist to examine the useful result

Back to contents

EduKate’s EnDist lens asks whether usable capability reaches people after correction, misunderstanding and rework. A classifier can produce many labels while imposing substantial review on the librarian. A smaller, checked output may be more useful.

EnDist is not physical energy or an established numerical intelligence metric. Track corrected suggestions, missed resources, recipient understanding and maintenance effort separately. Ask who benefits and who carries the burden.

Contents · Previous chapter · Next chapter

CHAPTER 24 OF 26 · Extend reliable systems across zoom levels

24. Preserve systems that another class can maintain

Back to contents

Keep the specification, source schema, expected tests, program or paper procedure, observed failures and correction owner. Mark the current version and the limits of its intended use. A new class should be able to run the checks without guessing what earlier authors meant.

Retire a prototype if it no longer serves the purpose or cannot be maintained appropriately. Preservation is a responsibility, not a requirement to keep every generated file.

Contents · Previous chapter · Next chapter

CHAPTER 25 OF 26 · Extend reliable systems across zoom levels

25. Run a four-week computing studio

Back to contents

Week 1: teach variables, algorithms and explicit rules; create paper test cases. Week 2: reconstruct the fictional classification records and compare performance measures. Week 3: inspect a simple implementation or simulated workflow, challenge missing inputs and revise it. Week 4: solve the transfer case and hand over a checked specification.

Review student understanding, access and staff preparation effort. Adapt the sequence to curriculum and resources. It is an original teaching proposal rather than a validated schedule.

Contents · Previous chapter · Next chapter

CHAPTER 26 OF 26 · Extend reliable systems across zoom levels

26. Begin with a test you can explain

Back to contents

Choose one modest problem whose expected answer can be checked. Have students specify inputs and outputs, predict a test, inspect the result and explain a repair. AI can assist at a clearly defined step.

The future of computing education is not a competition against the speed of code generation. It is the development of people who can design, inspect and sustain useful systems, and decide when those systems should or should not act.

Contents · Previous chapter · Continue the series

Continue the secondary schools and AI series

Continue with the other subject guides in this four-part sequence: computing, arts and music, physical education, and economics and financial literacy.

Earlier articles: purpose, teaching, mastery, collaboration and subject guides

Connect the wider eduKate ideas

Sources and evidence limits

Vocabulary Coding and Engineering and EnDist are developing eduKate frameworks, not validated universal measures. Classroom methods and worked examples are original proposals, not reported findings.