HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Boolean Logic
  2. /Computer Science
  3. /NAND, NOR and XOR Gates and Truth Tables
Chapter 10 · Part 2 of 3Boolean Logic
← Previous part: NOT, AND and OR GatesNext part: Logic Circuits, Logic Expressions and Truth Tables →
High School (9–10)Computer Science › Boolean LogicFree course

NAND, NOR and XOR Gates and Truth Tables

A stair light can be switched from the top or the bottom of the stairs, and either switch changes it.

  • That needs a gate that asks whether two inputs are different.
  • You meet NAND, NOR and XOR, the other three gates of the syllabus, and you set out truth tables in the order the examination uses.
  • Then you name an unknown gate from its table.
  • It covers the gates and truth tables of the Boolean logic topic of Cambridge IGCSE Computer Science.

3 lessons, about 1 h 15 min3 simulations10 problems3 practice questionsPython in every lesson

StemPy LabCreated by StemPy Lab

Free

Every lesson is open to read. Enroll to keep your place in the course. No payment needed.

This course includes

  • 3 lessons, about 1 h 15 min
  • 3 simulations with sliders
  • 3 practice questions with new numbers each time
  • 3 Python programs to run
  • 10 problems with worked solutions
  • 2 Python labs
1 question set
  • 1 revision note
  • 1 test
  • Log in to save

    Course outline (3 lessons)

    1. 1
      Lesson 1about 25 min

      The NAND and NOR gates

      NAND means NOT AND, and NOR means NOT OR. Each is one gate with a small circle at its output. You learn both symbols and truth tables, and why the output column of NAND is the AND column turned upside down in every row.

      1 simulation1 practice question1 Python program3 problems1 Python lab
      Read the lesson
    2. 2
      Lesson 2about 25 min

      The XOR gate

      The XOR gate gives 1 when its two inputs are different, and 0 when they are the same. You learn its symbol and truth table, how it differs from OR in exactly one row, and how it controls a light from two switches.

      1 simulation1 practice question1 Python program3 problems
      Read the lesson
    3. 3
      Lesson 3about 25 min

      Completing truth tables

      A truth table must have every row, in the right order, with the right outputs. This lesson gives a method that never misses a row, uses working columns for each gate, and shows how to name a gate from its output column alone.

      1 simulation1 practice question1 Python program4 problems1 Python lab1 question set1 note
      Read the lesson

    Test Your Learning

    NAND, NOR and XOR Gates: Timed Test
    IGCSE format20 questions · 25 min
    Not started

    Your teacher

    StemPy LabStemPy Lab

    1 follower

    Loading…

    ← All Courses
    ← NOT, AND and OR GatesLogic Circuits, Logic Expressions and Truth Tables →
    More onComputer Science › Boolean Logic

    Discussion (0)

    Log in to join the discussion.

    Loading…