GRADE 7 · COMPUTING · UNIT 5 · LESSON 5.10
Living with AI: Digital data
Types of logic gate
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Types of logic gate
AND requires both inputs to be true. Inclusive OR requires at least one, including both. NOT reverses one input. A truth table checks every input combination against the stated rule.
- Complete and interpret truth tables for two-input AND and OR and one-input NOT.
- Match a Boolean condition to an appropriate gate and explain the resulting output.

Explore the clues
Tap one card to find out more.
Understand the idea
AND requires both inputs to be true. Inclusive OR requires at least one, including both. NOT reverses one input. A truth table checks every input combination against the stated rule.
Concept to practise: Types of logic gate.
Work through an example
For a conceptual login, A means the username is valid and B means the password is valid for that same account. Access requires A AND B: only the 1,1 row produces 1. This classroom model is not a complete authentication system.
Try before your workbook
When A = 1 and B = 1, what is the result of inclusive OR? How is NOT different from a two-input gate?
Check my readiness thinking
Inclusive OR outputs 1 when both inputs are 1. NOT uses one input and outputs its opposite. Define what each input means before choosing a gate, and use fictional demonstration credentials rather than real passwords.
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.
Combine true or false conditions
AND needs both conditions true. Inclusive OR needs at least one true, including both. NOT reverses one input. Define the inputs before interpreting a result.
Recognise standard gate symbols

AND: require both conditions
| A | B | Z = A AND B |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
OR: accept one or both conditions
| A | B | Z = A OR B |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
NOT: reverse a single condition
| A | Z = NOT A |
|---|---|
| 0 | 1 |
| 1 | 0 |
Use the original three-tab spreadsheet
| Tab | What to complete |
|---|---|
| AND Gates | Part 1 truth table; Part 2 your two-condition problem and explanations. |
| OR Gates | Part 1 truth table; Part 2 your inclusive-OR problem and explanations. |
| NOT Gates | Both input states; a one-condition problem with the opposite 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 8 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 8 worksheets
Worksheet 1
- Question 1: Which gate needs both inputs to be 1? AND
- Question 2: How many inputs does the NOT gate in this lesson have? one
Worksheet 2
- Question 3: Which symbol has an inversion circle on its output? NOT
- Question 4: Which description defines inclusive OR? output 1 when at least one input is 1, including both
Worksheet 3
- Question 5: A projector is available, but permission is false. Available AND permission gives what? 0
- Question 6: Which case makes a two-input AND output 1? both conditions are true
Worksheet 4
- Question 7: North sensor = 1, south sensor = 1. Alert = north OR south. What is the output? 1
- Question 8: Both sensors = 0. What is the OR output? 0
- Question 9: Why is this called inclusive OR? the case with both inputs 1 is included
Worksheet 5
- Question 10: Mute is 1. Sound enabled = NOT mute. What is sound enabled? 0
- Question 11: Mute is 0. What is sound enabled? 1
- Question 12: Which problem fits NOT directly? produce the opposite of one true/false condition
Worksheet 6
- Question 13: Why test all four combinations for AND and OR? to check the whole truth table, including both true and both false
- Question 14: What should you write beside a numeric output in your own problem? what it means for the actual decision
Worksheet 7
- Question 15: Open UsingLogicGates_Paxa_Starter.xlsx. Complete Part 1 on AND Gates and OR Gates, then create your own two-condition problem for Part 2 on each tab. Define A, B and Z, complete every combination and explain each decision. On NOT Gates, test both states using one true/false input and create a problem whose output is the opposite. Save your work and summarise one important result from each gate below. Completed source-equivalent AND/OR Parts1/2 and one-input NOT activity. AND outputs0001 for00,01,10,11; inclusive OR0111; NOT1,0 for0,1. Own meaningful problems define inputs/output, all numeric states and contextual explanations coherent. Live model exercised for each case and actual findings recorded, no false claim if not run. NOT has only one input; ORboth1 remains1. Starter original three-tab resource, not publisher file. Teacher reference private has original demonstration contexts; no numeric score. Grown-up review; personal evidence is required.
Worksheet 8
- Question 16: Discuss with a partner the school login requirement: access is allowed only when both the username and the password have been validated. Draw and label the suitable gate with inputs A and B and output Z. State what 0 and 1 mean and show the output for all four input combinations. Explain why speaking or typing a credential changes the input method, not the requirement for both. Record the discussion or mark it pending. AND model with A valid username, B valid password, Z allow access; both validations required. State meanings0false/invalid,1true/valid;00->0,01->0,10->0,11->1. Correct gate symbol or unambiguous labelled AND box with two inputs and one output, signal direction clear. Speech versus typing is input method, not OR permission rule. Conceptual Boolean access model only, not complete authentication engineering; no real credentials or fabricated peer discussion. No numeric score. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing 7 Student’s Book — pages 174–177
- PaxaKids Grade 7 Computing Lesson 5.10: Types of logic gate — pages 1–8
Computing for your homeschool day
Explore Types of logic gate 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.
