Practice IB Computer Science (First Exam 2027) Topic A1.2 Data Representation and Computer Logic with authentic exam-style questions for both SL and HL students. This question bank focuses on the exact syllabus content for A1.2 Data Representation and Computer Logic and mirrors Paper 1, 2 style where relevant.
Get instant solutions, detailed explanations, and build confidence with questions aligned to IB examiner expectations.
A computer graphics application processes color data in different formats.
Convert between different color representation systems and complete the table:
| RGB Values | Hexadecimal | Decimal Equivalent | Color Description |
|---|---|---|---|
| Medium Gray | |||
| Purple |
Explain why hexadecimal notation is preferred over decimal for representing color values in web development and graphics programming.
Data must be represented in binary format for computer processing.
Convert the decimal number to binary.
Convert the hexadecimal number to decimal.
Explain why hexadecimal notation is commonly used in computing.
A computer uses 8-bit two's complement representation. Calculate the decimal equivalent of the binary number .
State the range of values that can be represented using 8-bit two's complement.