Back to Topic 1.2 — Data representation and logic
1.2.4Computer Science SL5 flashcards

Truth tables

Practice Flashcards

Flip to reveal answers
Card 1 of 51.2.4
1.2.4
Question

How many rows does a truth table need?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All 5 Flashcards — Truth tables

Sign up free to track progress and get spaced-repetition review schedules.

Card 1concept

Question

How many rows does a truth table need?

Answer

Two to the power of the number of inputs: 2 inputs give 4 rows, 3 give 8, 4 give 16. The rows are counted upwards in binary, so no combination is missed.

Card 2process

Question

How do you build a truth table from a logic circuit?

Answer

Give every gate its own column and work left to right. Fill the input columns first, then each gate column using only its own inputs, then combine those for the final output.

Card 3definition

Question

How do you write a circuit as a Boolean expression?

Answer

Use · for AND, + for OR and NOT for inversion. A circuit where an AND of A and B feeds an OR alongside an inverted C is X = (A·B) + NOT C.

Card 4process

Question

How does a Karnaugh map simplify an expression?

Answer

The outputs are arranged so neighbouring squares differ by one variable only. Circle the largest groups of adjacent 1s in sizes 1, 2, 4 or 8; for each circle keep the variables that stay constant and drop those that change.

Card 5concept

Question

Why simplify a Boolean expression?

Answer

A shorter expression is a circuit built from fewer gates — less hardware, less power consumption and fewer things to fail. For example A·B + A·(NOT B) simplifies to just A, needing no gates at all.

Track your progress with spaced repetition

Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.

Start Free
IB Computer Science Truth tables Flashcards | 1.2.4 | Aimnova