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.

10 fillable worksheet pagesRead at your own pace

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.

Today’s two goals
  • Design one smart-city application and justify sensors, processing, outputs and automation.
  • Translate explicit temperature and owner-enable conditions into a testable logic circuit.
Original PaxaKids illustration for Smart-city design and extended logic circuits. Precise program text and data are supplied in the workbook models.
An original PaxaKids workbook scene. Use the supplied programs and data for precise workbook facts.

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

For your design, choose healthcare, a manufacturing organisation or a business advertising products. Define a useful task and the people it serves.

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

Connect placement, data and a possible use — original model
AreaPossible sensor placementPossible data use
HealthcareCamera at an appropriate imaging station.Support a defined image-review task.
ManufacturingCamera above a product-inspection position.Flag a possible visible defect.
Product advertisingCamera aimed at a product on a display stand.Suggest relevant product information.

Clarify the cooling controller requirements

Use this explicit classroom interpretation:
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.
Clarify the cooling controller requirements — original model
SignalMeaning of state 1
AThe comparison temperature > 20 is true.
BThe owner has enabled cooling.
ZSend the cooling ON command.

Build the smallest circuit that matches the rule

The temperature comparison produces A. The app supplies B. The AND gate combines these Boolean signals. An OR gate is not needed for this stated rule.
Build the smallest circuit that matches the rule — original cooling gate model. Refer to the adjacent explanation and original student workbook for labels.
Build the smallest circuit that matches the rule · original PaxaKids workbook model.

Trace below, at and above the boundary

Trace below, at and above the boundary — original model
TemperatureOwner enabledA = T > 20
1900
1910
2000
2010
2101
2111

Research exclusive OR and recognise its symbol

For two-input XOR, the output is 1 when exactly one input is 1. It is 0 when the inputs match. The symbol adds an extra curved line behind an OR-shaped gate.

Primary research: Texas Instruments SN74HC86 datasheet, Table 8-1, page 10. In its table, L means low and H means high.
Research exclusive OR and recognise its symbol — original gate symbols model. Refer to the adjacent explanation and original student workbook for labels.
Research exclusive OR and recognise its symbol · original PaxaKids workbook model.

Compare XOR with inclusive OR

Compare XOR with inclusive OR — original model
ABORXOR
0000
0111
1011
1110

Classify labels at the stated model level

At the whole-system level, temperature readings are input and comparisons are processing. At the gate-diagram level, the result of a comparison is an input signal to the gate. Keep this distinction clear.
Classify labels at the stated model level — original model
LabelRole in the gate model
Temperature > 20 / Temperature < 20Boolean input signals after comparison.
Owner enabledRequired Boolean input signal.
AND / ORProcessing operations; select only what the rule needs.
Cooling ON commandOutput.

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.

Paxa the Fox

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
  1. Lesson 5.1: Applications and systems software
  2. Lesson 5.2: AI around us
  3. Lesson 5.3: AI in industry
  4. Lesson 5.4: Collecting the input
  5. Lesson 5.5: Designing your own AI system
  6. Lesson 5.6: Representing data: Images
  7. Lesson 5.7: Vector graphics
  8. Lesson 5.8: Representing data: Sound and text
  9. Lesson 5.9: Introduction to logic gates
  10. Lesson 5.10: Types of logic gate
  11. Lesson 5.11: Smart-city design and extended logic circuits
  12. Lesson 5.12: Final project: School AI learning-system design
  13. Lesson 5.13: Evaluation
  14. 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.

Smart-city design and extended logic circuits10 student pages · original artwork

Opening your PDF…

Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.

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

Download worksheet PDF ↓

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

  1. Question 1: Which design choice matches the required areas? a factory inspection system that flags possible defects
  2. Question 2: What makes a sensor placement suitable? it can collect the information needed for the defined task

Worksheet 2

  1. Question 3: When should image recognition be included? when it has a useful defined task and suitable input data
  2. Question 4: Which claim is realistic? an AI-assisted result may need checking

Worksheet 3

  1. Question 5: At exactly 20 with owner-enable 1, what is Z in this model? 0

Worksheet 4

  1. Question 6: How many AND gates are needed after the comparison here? one
  2. Question 7: Why is OR unsuitable for combining A and B? it could activate cooling when only one required condition is true

Worksheet 5

  1. Question 8: At 21 with owner-enable 0, what is Z? 0
  2. Question 9: At 21 with owner-enable 1, what is Z? 1

Worksheet 6

  1. Question 10: When is a two-input XOR output 1? when the inputs are different
  2. Question 11: What distinguishes the XOR symbol from OR here? an extra curved line at the input side

Worksheet 7

  1. Question 12: Which case distinguishes OR and XOR? A = 1, B = 1
  2. Question 13: Which problem fits two-input XOR? signal when exactly one of two switches is on

Worksheet 8

  1. Question 14: At the gate-model level, classify AND: input, process or output. process / processing
  2. Question 15: Classify the cooling ON command: input, process or output. output

Worksheet 9

  1. 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

  1. 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.
Back to my workbook ↑

Curriculum & workbook reference

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.