Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Binary to Hex

Total questions: 10

Worksheet time: 23mins

Name
Class
Date
1.

What is the Hex equivalent for 1001 0011

a)

93

b)

12

c)

C

d)

147

2.

What is the binary equivalent of 4A

a)

1010 0100

b)

0100 1010

c)

0011 0010

d)

1000 1100

3.

What is the binary equivalent of F?

a)

0000

b)

10000

c)

1111

d)

11111

4.

What is the Hex equivalent of 1111 1111?

a)

1515

b)

100

c)

11

d)

FF

5.

What is the Binary Equivalent of B1?

a)

1011 1011

b)

1011 0000

c)

0001 1011

d)

1011 0001

6.

A certain programming language uses 4-bit binary sequences to represent nonnegative integers. For example, the binary sequence 0101 represents the corresponding decimal value 5. Using this programming language, a programmer attempts to add the decimal values 14 and 15 and assign the sum to the variable total. Which of the following best describes the result of this operation?

a)

The correct sum of 29 will be assigned to the variable total.

b)

An overflow error will occur because 4 bits is not large enough to represent either of the values 14 or 15.

c)

An overflow error will occur because 4 bits is not large enough to represent 29, the sum of 14 and 15.

d)

A round-off error will occur because the decimal values 14 and 15 are represented as approximations due to the fixed number of bits used to represent numbers.

7.

A color in a computing application is represented by an RGB triplet that describes the amount of red, green, and blue, respectively, used to create the desired color. A selection of colors and their corresponding RGB triplets are shown in the following table. Each value is represented in decimal (base 10). What is the binary RGB triplet for the color indigo?

a)

(00100101, 00000000, 10000010)

b)

(00100101, 00000000, 01000001)

c)

(01001011, 00000000, 10000010)

d)

(01001011, 00000000, 01000001)

8.

A video game character can face toward one of four directions: north, south, east, and west. Each direction is stored in memory as a sequence of four bits. A new version of the game is created in which the character can face toward one of eight directions, adding northwest, northeast, southwest, and southeast to the original four possibilities. Which of the following statements is true about how the eight directions must be stored in memory?

a)

Four bits are not enough to store the eight directions. Five bits are needed for the new version of the game.

b)

Four bits are not enough to store the eight directions. Eight bits are needed for the new version of the game.

c)

Four bits are not enough to store the eight directions. Sixteen bits are needed for the new version of the game.

d)

Four bits are enough to store the eight directions.

9.

A store uses binary numbers to assign a unique binary sequence to each item in its inventory. What is the minimum number of bits required for each binary sequence if the store has between 75 and 100 items in its inventory?

a)

5

b)

6

c)

7

d)

8

10.

Consider the following numeric values.

Binary 1011

Binary 1101

Decimal 5

Decimal 12

Which of the following lists the values in order from least to greatest?

a)

Decimal 5, binary 1011, decimal 12, binary 1101

b)

Decimal 5, decimal 12, binary 1011, binary 1101

c)

Decimal 5, binary 1011, binary 1101, decimal 12

d)

Binary 1011, binary 1101, decimal 5, decimal 12