IB Computer Science2027 syllabus
Level view
SUBTOPIC REVIEW

A1.2 Subtopic Review — Shared

SL & HL35 minutes5 questions20 marks
Review the lesson: Principal methods of representing data
0 of 20 responses completed20 total marks
01Structured response4 marks

A weather telemetry station transmits an unsigned 8-bit pressure reading 11001010 and a signed 8-bit two's complement temperature-change byte 11110010.

  1. Convert the unsigned 8-bit binary integer 11001010 to decimal. Enter only the whole number. (1)
  2. Convert the unsigned 8-bit binary integer 11001010 to hexadecimal. Enter only the two-digit hexadecimal value. (1)
  3. Convert the 8-bit two's complement value 11110010 to its signed decimal value. Enter the signed number. (1)
  4. Explain one reason hardware engineers choose two's complement rather than sign-and-magnitude representation for signed integers inside CPUs. (1)
02Structured response4 marks

A digital museum kiosk stores multilingual captions, high-resolution exhibit photographs, guided audio narration, and short documentary clips in binary files.

  1. Compare standard 7-bit ASCII and Unicode (such as UTF-8) in terms of character capacity and variable vs. fixed byte usage. (1)
  2. Explain how bitmap resolution and colour depth together determine image detail and uncompressed file size. (1)
  3. Explain how sampling rate and bit depth affect digital audio accuracy and raw storage size during analogue-to-digital conversion. (1)
  4. Name and distinguish the two compression approaches (spatial and temporal) that shrink digital video frame sequences. (1)
03Structured response4 marks

A control board uses combinational logic gates to manage an alarm circuit:

  • Inputs A and B feed an XOR gate whose output wire is P.
  • Input C feeds a NOT gate whose output wire is Q.
  • Wires P and Q enter an AND gate producing final output X.
  1. Identify a different single 2-input gate—not used above—that outputs 0 only when both inputs are 1 and outputs 1 in all other cases. (1)
  2. Write the complete Boolean expression for X represented by the three-gate alarm circuit above. (1)
  3. Evaluate the binary output X (0 or 1) of the circuit above when A = 1, B = 0, and C = 0. Enter 0 or 1. (1)
  4. Explain how Boolean logic gates (A1) underpin conditional branching statements (if / else) written in high-level programming languages (B2). (1)
04Structured response4 marks

An automated greenhouse vent (X = 1) opens only when the safety lock is disengaged (A = 0) AND either the temperature exceeds the threshold (B = 1) OR the manual vent button is active (C = 1).

  1. Write the Boolean expression for X in terms of A, B, and C. (1)
  2. Evaluate X for (A = 0, B = 0, C = 1) and (A = 1, B = 1, C = 1), briefly explaining each result. (1)
  3. State the exact number of rows (out of all 8 possible combinations) in the full truth table for which X = 1. Enter only the whole number. (1)
  4. Explain why including intermediate columns (P, Q) makes truth-table construction more reliable for multi-gate circuits or problem descriptions. (1)
05Structured response4 marks

A three-input circuit produces the Karnaugh map below for output Y, with row variable C and Gray-coded column variables AB:

C \ AB00011110
00011
11111
  1. Explain why the AB columns across a 3-input Karnaugh map must appear in Gray-code order (00, 01, 11, 10) rather than normal binary order (00, 01, 10, 11). (1)
  2. Identify the two largest valid overlapping power-of-two rectangular groups of 1s that cover every 1 in this map (state the row/columns for each group). (1)
  3. Write the fully simplified Boolean expression for Y. (1)
  4. Describe the single gate and connected inputs needed to construct the simplified logic diagram for Y, and state one physical hardware benefit over an unsimplified circuit. (1)

Automatically graded answers are checked in your browser. Written answers are sent to Lovable AI to be marked against the answer-key rubric; they are not saved and nothing is written to the course Drive. AI marks are practice feedback, not official IB grades.

Something not right?