Skip to main content

Back to the full dot-point answer

SingaporeComputer ScienceQuick questions

Data Representation

Quick questions on Binary and hex conversion explained: O-Level Computing

6short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.

What is binary to hexadecimal?
Show answer
Because one hex digit is four bits, group the binary into nibbles from the right, padding the left with zeros if needed, then convert each nibble:
What is method 1: subtract descending powers of two?
Show answer
Write the place values 128,64,32,16,8,4,2,1128, 64, 32, 16, 8, 4, 2, 1. Put a 11 under the largest power that fits, subtract it from the number, and repeat with the remainder. Put 00 where a power does not fit.
What is method 2: repeated division by two?
Show answer
Divide the number by 22, writing the remainder (00 or 11) each time, until you reach 00. The remainders read from the bottom upwards give the binary digits.
What is q1?
Show answer
Convert 8989 to 8-bit binary. [2 marks]
What is q2?
Show answer
Convert 11110010211110010_2 to hexadecimal. [2 marks]
What is q3?
Show answer
Convert 6A16\text{6A}_{16} to denary. [2 marks]

Have a question we have not covered?

This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.

All Computer ScienceQ&A pages