Skip to content

Lesson 52: Logic from words

From words to logic

  • Exam questions describe a system in words. You write a logic expression, then a truth table.
  • Find the inputs, then the words that join them: and, or, not.
  • Here three switches are the sensors and an LED is the alarm.

Words for this lesson

Word Meaning
input a sensor value, 0 or 1
logic expression inputs joined with AND, OR, NOT
truth table the output for every row of inputs

Log in or create account

IGCSE, A-Level & AP