1. Foundations

Number Systems — Quiz

Test your understanding of number systems with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

Which condition must a decimal fraction satisfy to be exactly representable in finite binary form?

Question 2

Which sequence of bitwise and shift operations multiplies an unsigned integer X by 9 most efficiently?

Question 3

Convert the 4-bit Gray code 1101 to its binary equivalent.

Question 4

What is the two’s complement (negation) of the 8-bit binary number $01011011_2$?

Question 5

What is the result of applying the bitmask 0xF0 to the 8-bit value 0xBE using bitwise AND?