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 . Put a under the largest power that fits, subtract it from the number, and repeat with the remainder. Put where a power does not fit.
What is method 2: repeated division by two?Show answer
Divide the number by , writing the remainder ( or ) each time, until you reach . The remainders read from the bottom upwards give the binary digits.
What is q1?Show answer
Convert to 8-bit binary. [2 marks]
What is q2?Show answer
Convert to hexadecimal. [2 marks]
What is q3?Show answer
Convert 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.