GRADE 7 · COMPUTING · UNIT 5 · LESSON 5.11
Living with AI: Digital data
Smart-city design and extended logic circuits
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Smart-city design and extended logic circuits
Book extension, project or review · original companion practice
Translate an explicit requirement into Boolean signals before drawing a circuit. For this cooling model, the fan is on only when temperature is above 20 degrees AND the owner has enabled it. Exactly 20 is defined as off.
- Design one smart-city application and justify sensors, processing, outputs and automation.
- Translate explicit temperature and owner-enable conditions into a testable logic circuit.

Explore the clues
Tap one card to find out more.
Understand the idea
Translate an explicit requirement into Boolean signals before drawing a circuit. For this cooling model, the fan is on only when temperature is above 20 degrees AND the owner has enabled it. Exactly 20 is defined as off.
Concept to practise: Smart-city design and extended logic circuits.
Work through an example
At 25 degrees with owner-enable 0, the temperature comparison is 1 but the AND output is 0. At 25 degrees with owner-enable 1, cooling is on. Two-input XOR instead outputs 1 only when its inputs differ.
Try before your workbook
What happens at exactly 20 degrees with owner-enable 1? For inputs 1,1, how do inclusive OR and XOR differ?
Check my readiness thinking
Cooling stays off because 'above 20' is false at 20. For 1,1, inclusive OR outputs 1 and XOR outputs 0. The stated cooling rule needs AND; adding an unused OR gate would not explain the requirement.
Your original programs and learning models
These original PaxaKids program and data models support your workbook. Some examples deliberately contain faults to investigate. Follow their headings and preserve exact code case, punctuation and order. Traces and supplied records are not claims of physical testing.
Choose one useful smart-city application
Explain what information is needed, where it comes from, what the proposed AI function does and how the output helps. A city device can also contain ordinary automation; name the specific model task rather than relying on a smart label.
Connect placement, data and a possible use
| Area | Possible sensor placement | Possible data use |
|---|---|---|
| Healthcare | Camera at an appropriate imaging station. | Support a defined image-review task. |
| Manufacturing | Camera above a product-inspection position. | Flag a possible visible defect. |
| Product advertising | Camera aimed at a product on a display stand. | Suggest relevant product information. |
Clarify the cooling controller requirements
Cooling ON only when temperature is above 20 degrees AND the owner has enabled it.
For this model, exactly 20 means OFF. Cooling is also OFF whenever owner-enable is 0.
The source leaves the equality case unclear and omits the owner-enable signal from its word bank. Our stated rule supplies both before you draw or test anything.
| Signal | Meaning of state 1 |
|---|---|
| A | The comparison temperature > 20 is true. |
| B | The owner has enabled cooling. |
| Z | Send the cooling ON command. |
Build the smallest circuit that matches the rule

Trace below, at and above the boundary
| Temperature | Owner enabled | A = T > 20 |
|---|---|---|
| 19 | 0 | 0 |
| 19 | 1 | 0 |
| 20 | 0 | 0 |
| 20 | 1 | 0 |
| 21 | 0 | 1 |
| 21 | 1 | 1 |
Research exclusive OR and recognise its symbol
Primary research: Texas Instruments SN74HC86 datasheet, Table 8-1, page 10. In its table, L means low and H means high.

Compare XOR with inclusive OR
| A | B | OR | XOR |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 1 | 0 |
Classify labels at the stated model level
| Label | Role in the gate model |
|---|---|
| Temperature > 20 / Temperature < 20 | Boolean input signals after comparison. |
| Owner enabled | Required Boolean input signal. |
| AND / OR | Processing operations; select only what the rule needs. |
| Cooling ON command | Output. |
Practice files for this lesson
Save a copy of these original PaxaKids learner files before editing in suitable software. Some code and datasets deliberately need completion or repair. Downloading a file does not run it. Use invented data; record actual tests separately from predictions. Native software practice files are not print-optimised; use the student PDF for printing.

Try one step with Paxa!
Use supplied fictional records. Do not disclose personal details, upload private photos or bypass browser warnings to complete an activity. Save personal responses before leaving.
Our Unit 5 learning path
- Lesson 5.1: Applications and systems software
- Lesson 5.2: AI around us
- Lesson 5.3: AI in industry
- Lesson 5.4: Collecting the input
- Lesson 5.5: Designing your own AI system
- Lesson 5.6: Representing data: Images
- Lesson 5.7: Vector graphics
- Lesson 5.8: Representing data: Sound and text
- Lesson 5.9: Introduction to logic gates
- Lesson 5.10: Types of logic gate
- Lesson 5.11: Smart-city design and extended logic circuits
- Lesson 5.12: Final project: School AI learning-system design
- Lesson 5.13: Evaluation
- Lesson 5.14: What can you do?
For grown-ups: using this lesson
Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Read one explanation, discuss the model and try the readiness check before the workbook. Choose “Mark lesson finished” when ready. Optional account progress saves lesson position and completion across devices; save personal responses before leaving.
2. Fill in your workbook
Read the teaching and the complete workbook instructions. Choose, write or draw; Answer list offers larger controls. Trace code precisely and distinguish predictions from actual tests. Review designs, explanations and drawings with a grown-up.
Opening your PDF…
Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.
You’ve completed the checked activities.
TAKE YOUR PRACTICE OFFLINE
3. Download the student worksheet
All 10 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.
Student worksheet only · PDF · 8.4 MiB · No answer key included
TRY FIRST, THEN CHECK TOGETHER
Download the student worksheet →4. Answers & guidance
Finished your try? Open the guide and compare one worksheet at a time. Your own words may be different and still explain the right idea.
Shown on this webpage only. There is no answer-key download, and this guide is left out when printing the page.
Show answers for all 10 worksheets
Worksheet 1
- Question 1: Which design choice matches the required areas? a factory inspection system that flags possible defects
- Question 2: What makes a sensor placement suitable? it can collect the information needed for the defined task
Worksheet 2
- Question 3: When should image recognition be included? when it has a useful defined task and suitable input data
- Question 4: Which claim is realistic? an AI-assisted result may need checking
Worksheet 3
- Question 5: At exactly 20 with owner-enable 1, what is Z in this model? 0
Worksheet 4
- Question 6: How many AND gates are needed after the comparison here? one
- Question 7: Why is OR unsuitable for combining A and B? it could activate cooling when only one required condition is true
Worksheet 5
- Question 8: At 21 with owner-enable 0, what is Z? 0
- Question 9: At 21 with owner-enable 1, what is Z? 1
Worksheet 6
- Question 10: When is a two-input XOR output 1? when the inputs are different
- Question 11: What distinguishes the XOR symbol from OR here? an extra curved line at the input side
Worksheet 7
- Question 12: Which case distinguishes OR and XOR? A = 1, B = 1
- Question 13: Which problem fits two-input XOR? signal when exactly one of two switches is on
Worksheet 8
- Question 14: At the gate-model level, classify AND: input, process or output. process / processing
- Question 15: Classify the cooling ON command: input, process or output. output
Worksheet 9
- Question 16: Design one smart-city application in healthcare, a manufacturing organisation or a business advertising products. Draw and annotate the system below and complete SmartCityDesign_Paxa.txt. Show where each sensor is placed, what information it collects, the processing and outputs, and how AI-supported automation helps. Decide whether image recognition is useful and explain why. Identify the actual model task, a benefit, a limitation and a check on uncertain results. One source-permitted sector, coherent application and annotated placement design. Each sensor/location justified by needed data; IPO and user/recipient clear. Actual AI function separated from ordinary rules, benefit and practical limitation realistic, human check/fallback appropriate. Image recognition included with clear task/data if useful, or justified omission; no compulsory cameras/biometric monitoring. Healthcare is conceptual application research, not diagnosis. No claims automatic crime prevention, perfect recognition or universal continuous learning. Complete original design record retained. No numeric scores. Grown-up review; personal evidence is required.
Worksheet 10
- Question 17: Complete ChallengeCircuit_Paxa.txt: classify the supplied labels by role, explain the cooling rule and trace 19, 20 and 21 degrees with owner-enable 0 and 1. Draw the cooling circuit below. Research two-input XOR using the primary link on page 6; draw its symbol and explain its rule. Create your own two-input true/false problem with all four outputs, and explain the case that differs from inclusive OR. Classification at gate-model level: temperature>20 and temperature 20) AND enabled, equality20 OFF explicitly declared, all19/20 cases OFF;21 enabled0OFF,enabled1ON. One AND gate sufficient after comparison; no forced OR or two-gate construction. Correct connected diagram with owner input, labels, output and truth traces. XOR researched primary TI Table8-1, symbol OR-shaped plus extra rear curve, outputs0110; own suitable exactly-one context and allfour cases,11 distinctionOR1/XOR0 explicit. No physical build or unperformed research/test fabricated; no numeric score. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing 7 Student’s Book — pages 177–178
- PaxaKids Grade 7 Computing Lesson 5.11: Smart-city design and extended logic circuits — pages 1–10
Computing for your homeschool day
Explore Smart-city design and extended logic circuits with this free Grade 7 Computing lesson. Read one idea together, try the fillable workbook and return to review at your own pace. Download the same student worksheet PDF for pencil-and-paper practice.
Fit learning around your family’s day. There is no timer and no sign-up is needed to use the lesson. An optional account saves your lesson position and completion across devices. Workbook responses and drawings stay in this tab; save a copy of your responses before leaving.
Understand your results
Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Choose Review Answers after trying the activity. The guide stays on the webpage; the worksheet download contains only the student pages.
For programme background, visit the Cambridge Lower Secondary Computing overview. PaxaKids provides independent original companion practice.
The book pages identify the related teaching topic. The explanations, characters, programs and exercises here are original PaxaKids companion practice. Practical tasks require the appropriate editor and, where applicable, suitable equipment. A design or paper trace is not a verified hardware result. Only completed, reviewed lessons are listed.
Explore the Cambridge Lower Secondary Computing curriculum for programme background. PaxaKids is an independent learning resource.
