Boolean Logic
T

Truth Tables and Boolean Expressions

Push a bit harder. Apply what you know to less familiar problems.

Computer Science · Medium

5

questions · ~4 min · 3 hints each (−5 pts)

Confidence tracking, 3-tier hints and instant feedback.

What you'll learn

Each question helps you build key knowledge and skills.

  • 1Truth tables can be built systematically by listing every combination of 0s and 1s for the inputs, then working out the output for each row.
  • 2Boolean expressions use the words AND, OR and NOT to describe how inputs combine to produce an output, similar to a formula.
  • 3An XOR gate outputs 1 only when its two inputs are different, while a NAND gate outputs 0 only when both inputs are 1.
  • 4Combining gates lets you build more complex behaviour, such as making an OR gate followed by a NOT gate behave like a single NOR gate.
  • 5Logic circuits can model real decisions, such as an alarm that triggers if either a door sensor or a window sensor detects something.

Question mix

A mix of question types to build your skills.

  • Multiple choice×3
  • Short answer×1
  • True / False×1

Different question types help you think in different ways.

How it works

A simple 3-step process

  1. 1

    Rate your confidence

    Tell us how sure you feel before answering. It helps us understand your starting point.

  2. 2

    Use hints if stuck

    Get up to 3 helpful hints per question. Each hint costs 5 Treasure Points.

  3. 3

    See what went wrong

    Get instant feedback with clear explanations, so you can learn and improve.

Ready when you are

This takes about 4 minutes.