Examplary
Start for free
Oak ComputingTest · Computing

Logic statements and expressions

The starter and exit quiz of the lesson “Logic statements and expressions”, from the unit “Boolean logic” (Year 10 Computing) by Oak National Academy.

Free to use. Edit it, share it and hand it out to your students.

Oak National Academy

12 questions

  1. What type of data does a logic gate process, where each value can only be True or False?
  2. Which logic gate does the following symbol represent?
  3. Which type of logic gate is used when the output is True when at least one input is True?
  4. Match the logic gate to the description.
  5. We are building a truth table with two inputs for the expression A AND B. Put the inputs into the order most people would use to ensure all possibilities have been accounted for.
  6. Which of these are inputs for this statement? “If it is after 9.45 PM on a weekday and it is not the school holidays, I will go to bed.”
  7. Match the terms to the correct definitions.
  8. If A = True, B = True and C = False, which of these is a correctly evaluated expression?
  9. What is output for this expression when A = True, B = False and C = False? NOT (A OR B) AND C
  10. Label the output for this sentence: “If it is raining and not windy, I take an umbrella.”
  11. Write this expression another way so that the logic is still the same: X = A OR (NOT B)
  12. Write an expression for this sentence: “I’ll go swimming (S) if my friend (F) is coming and the pool (P) is open.”

License: OGL

Logic statements and expressions · Examplary