Unit 1: A1 Computer fundamentals

Topic 1.2: Data representation and logic Questions

Practice 20 exam-style questions for IB Computer Science Topic 1.2. Review the question stems below, then unlock the full Question Bank to access markschemes, model answers, and AI grading.

1Suggest2 marks
2026
A circuit has inputs A, B and C and its truth table shows X = 1 in exactly four rows. Suggest what this indicates about the expression.
Markscheme and model answer locked
Unlock Question
2Choose1 mark
2026
Choose the number of rows in a truth table for a circuit with five inputs.
Markscheme and model answer locked
Unlock Question
3Explain3 marks
2026
Explain how a truth table helps a programmer write a correct if-statement with two conditions.
Markscheme and model answer locked
Unlock Question
4Describe2 marks
2026
Describe the logic diagram needed for X = A AND B.
Markscheme and model answer locked
Unlock Question
5Describe1 mark
2026
Describe the logic diagram needed for X = NOT A.
Markscheme and model answer locked
Unlock Question
6Describe3 marks
2026
Describe the logic diagram needed for X = A AND NOT B.
Markscheme and model answer locked
Unlock Question
7Describe3 marks
2026
Describe the logic diagram needed for X = NOT (A AND B).
Markscheme and model answer locked
Unlock Question
8Construct2 marks
2026
Construct the expression represented by this circuit: A and B feed an OR gate; the output of that OR gate and input C feed an AND gate, whose output is X.
Markscheme and model answer locked
Unlock Question
9Construct2 marks
2026
Construct the expression represented by this circuit: A feeds a NOT gate; the output of that NOT gate and input B feed an OR gate, whose output is X.
Markscheme and model answer locked
Unlock Question
10Explain3 marks
2026
Explain why the diagram for X = A OR B AND C depends on which operator is applied first.
Markscheme and model answer locked
Unlock Question
11State1 mark
2026
State the number of gates needed for the circuit X = NOT (A OR B), using the smallest number of standard gates.
Markscheme and model answer locked
Unlock Question
12Determine2 marks
2026
Determine the smallest number of gates needed for X = NOT A AND NOT B.
Markscheme and model answer locked
Unlock Question
13Describe3 marks
2026
Describe how a half adder is built from logic gates.
Markscheme and model answer locked
Unlock Question
14Explain3 marks
2026
Explain why a half adder cannot be used on its own to add multi-bit binary numbers.
Markscheme and model answer locked
Unlock Question
15Determine2 marks
2026
A circuit feeds A and B into a NAND gate, and the NAND output into a NOT gate. Determine the single gate that behaves identically.
Markscheme and model answer locked
Unlock Question
16Determine3 marks
2026
A circuit feeds A into a NOT gate and B into a NOT gate, then feeds both NOT outputs into a NAND gate. Determine the single gate that behaves identically.
Markscheme and model answer locked
Unlock Question
17Outline2 marks
2026
Outline one advantage of drawing a logic diagram rather than writing the Boolean expression.
Markscheme and model answer locked
Unlock Question
18Outline2 marks
2026
Outline one advantage of the Boolean expression over the logic diagram.
Markscheme and model answer locked
Unlock Question
19Suggest2 marks
2026
A logic diagram uses six gates. Suggest how an engineer might reduce that number.
Markscheme and model answer locked
Unlock Question
20Explain3 marks
2026
Explain why reducing the gate count of a circuit matters in a manufactured product.
Markscheme and model answer locked
Unlock Question

Ready to practice Topic 1.2?

Get instant AI feedback on your answers, view detailed markschemes, and track your progress across all IB Computer Science topics.

Start Practising Now