WorksheetsBinary Numbers Review
Total questions: 14
Worksheet time: 23mins
The block of code below is supposed to display "Multiple of 5" if the positive number value is in fact a multiple of 5. Which of the following could be placed in the "hexagon" so the code will execute as intended?
Which of the following decimal (base-10) values is equivalent to the binary (base-2) value 10110?
15
22
44
90
Which of the following decimal (base-10) values is equivalent to the binary (base-2) value 1010111?
70
85
87
165
Which of the following decimal (base-10) values is equivalent to the binary (base-2) value 11111?
31
32
33
34
Convert 54 from decimal (base-10) to binary (base-2).
11011
111111
110110
Convert 37 from decimal (base-10) to binary (base-2).
100101
101101
1100100
Which of the following is an example of a byte?
001011
101010101001
00110011
If you have 4 binary digits ( ____ ), how many different numbers can you encode with 0's and 1's?
4
8
16
32
What is the equivalent of the binary number 01101110 in decimal?
31
46
94
110
What is the equivalent of the binary number 00001011 in decimal?
7
11
15
19
What is the equivalent of the decimal number 32, expressed as a byte in binary?
00000010
00100000
00001000
10000000
What is the equivalent of the decimal number 51, expressed as a byte in binary?
11001100
01010101
00110011
10101010
Convert 128 from decimal (base-10) to binary (base-2).
(a)
Reorder the following sets of binary numbers from smallest to biggest.
00001110
00001111
00010000
00010001
