GRADE 7 · COMPUTING · UNIT 5 · LESSON 5.9

Living with AI: Digital data

Introduction to logic gates

Read a little. Try the workbook. Check your answers. Choose one section below to get started.

6 fillable worksheet pagesRead at your own pace

LET’S TRACE, REASON AND TEST

Introduction to logic gates

A logic gate processes defined binary input states to produce a binary output. In a simple model, 0 and 1 may mean false and true or off and on. Trace intermediate outputs before interpreting a chain of gates.

Today’s two goals
  • Represent a simple digital input or output using binary states.
  • Trace how an output from one logic gate can feed another gate.
Original PaxaKids illustration for Introduction to logic gates. 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

A logic gate processes defined binary input states to produce a binary output. In a simple model, 0 and 1 may mean false and true or off and on. Trace intermediate outputs before interpreting a chain of gates.

Concept to practise: Introduction to logic gates.

Work through an example

If an AND gate receives A = 1 and B = 1, its output X is 1. A following NOT gate makes Z = 0. If B changes to 0, X becomes 0 and Z becomes 1.

Try before your workbook

In that AND-then-NOT chain, what are X and Z when A = 0 and B = 1? Does a signal value of 0 mean the whole device has no electricity?

Check my readiness thinking

X is 0 because both AND inputs are not 1; NOT then makes Z equal to 1. A binary signal state is part of a defined electronic model, not a claim that the entire powered device has no electrical supply.

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.

Use two states to represent a digital signal

In a simple digital model, 0 and 1 represent two signal states. We can use them for false/true or off/on once the meanings are defined.

A logic gate processes binary inputs to produce a binary output. Digital electronic circuits use physical signal levels to represent these states; 0 does not mean that the whole device has no electricity.

Define what each state means

Define what each state means — original model
SignalState 0State 1
Button pressed?Not pressed.Pressed.
Door open?Closed.Open.
Warning enabled?Disabled.Enabled.

Feed one gate’s output into another

For this conceptual circuit, Gate 1 outputs 1 only when A and B are both 1. Gate 2 outputs the opposite of X. Trace the intermediate result X before the final result Z.
Feed one gate’s output into another — original logic chain model. Refer to the adjacent explanation and original student workbook for labels.
Feed one gate’s output into another · original PaxaKids workbook model.

Connect circuits with familiar digital devices

A programmable traffic model can read a button or sensor and decide which model light to show. A calculator reads keys, performs operations and displays results. Each needs electronic processing to carry out its programmed behaviour.

A simplified logic diagram explains a decision. It does not describe every component in a real product or prove that the product uses a learned AI model.

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.

Introduction to logic gates6 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 6 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 6 worksheets

Worksheet 1

  1. Question 1: Which pair fits a binary state model? 0 and 1
  2. Question 2: What does a logic gate do? process input states to produce an output state

Worksheet 2

  1. Question 3: Using the table, which state means the door is open? 1
  2. Question 4: Using the table, which state means the button is not pressed? 0
  3. Question 5: Why define the meaning of each state? so the same bit is interpreted consistently

Worksheet 3

  1. Question 6: A = 1, B = 1. What is X? 1
  2. Question 7: For that same case, what is Z? 0
  3. Question 8: What is X in this circuit? Gate 1 output and Gate 2 input

Worksheet 4

  1. Question 9: Which example clearly involves digital data processing? a calculator reading keys and displaying a result
  2. Question 10: Why connect gates into a circuit? to combine simple operations for a larger decision

Worksheet 5

  1. Question 11: As a class, list familiar digital devices used at home or school that process data using electronic circuits. Choose examples and identify an input, a decision or processing step and an output. Use the rows as a starting point and keep further class examples in LogicIntroduction_Paxa.txt. Distinguish a digital device from a simple non-electronic object. Relevant class/device list with honest class discussion or pending. Digital examples such as calculator, digital alarm, tablet, remote controller or programmable light; specific input/data, processing decision and output coherent. Not every ordinary bell/light is necessarily digital; qualify chosen implementation. A circuit supports physical signal processing, rather than merely being a line in a drawing. No fabricated teardown or class observation; additional rows are scaffold not official minimum count. No numeric score. Grown-up review; personal evidence is required.

Worksheet 6

  1. Question 12: Discuss with a partner why the proposed school AI device needs electronic circuits and logic gates. Name a task, identify binary input conditions and a possible output, and show or describe how a gate output could feed another gate. Explain how the processor’s circuits support the programmed decision and why a simple logic decision is not the whole AI model. Record the discussion or mark it pending. School device task connected to electronic processing of represented signals; binary meanings defined, input -> gate/function -> output flow clear, one output can become another input. E.g validation signals combined for an access decision, then another condition controlling a display. Processor hardware implements digital operations supporting programs; logic circuit alone does not prove learned AI or describe all model behaviour. Circuit design is conceptual, not physical hardware claim. Actual partner evidence or pending; no invented result or numeric scoring. Grown-up review; personal evidence is required.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Introduction to logic gates 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.