wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Number-Systems

Total questions: 33

Worksheet time: 29mins

Name
Class
Date
1.

What is the base (radix) of the decimal number system?

a)

2

b)

8

c)

10

d)

16

2.

In binary, the digit 1 represents...

a)

Negative value

b)

Switch OFF/False

c)

Switch ON/True

d)

Decimal digit 10

3.

How many bits are there in 1 byte?

a)

4

b)

8

c)

16

d)

32

4.

Which of the following is a valid hexadecimal digit?

a)

G

b)

F

c)

Z

d)

Q

5.

What is the binary representation of decimal 5?

a)

1010

b)

0101

c)

1111

d)

0010

6.

Which of the following systems is most natural for computers?

a)

Decimal

b)

Binary

c)

Octal

d)

Hexadecimal

7.

In two’s complement (8-bit), which value can be represented?

a)

–129

b)

–128

c)

256

d)

2000

8.

How many unique values can be represented with 3 bits?

a)

3

b)

6

c)

7

d)

8

9.

What is the hexadecimal equivalent of binary 1111₂?

a)

15

b)

A

c)

F

d)

1F

10.

Which method is most commonly used in computers to represent signed integers?

a)

Sign & Magnitude

b)

One’s Complement

c)

Two’s Complement

d)

Floating Point

11.

Convert decimal 55₁₀ to binary.

a)

110111₂

b)

111001₂

c)

100111₂

d)

101101₂

12.

What is the 8-bit two’s complement representation of +59₁₀?

a)

00111011

b)

11001011

c)

11111011

d)

00011101

13.

What is the 8-bit two’s complement representation of -1₁₀?

a)

10000000

b)

11111111

c)

00000001

d)

11111110

14.

Which decimal number cannot be represented in 8-bit two’s complement?

a)

–128

b)

0

c)

+127

d)

+200

15.

Convert 0xF1 to binary (8-bit).

a)

11110001

b)

00001111

c)

111100001

d)

Not possible in 8 bits

16.

Expand binary signed number 11011001₂ to 16-bit two’s complement.

a)

1111111111011001

b)

0000000011011001

c)

00000000011011001

d)

1111111101101001

17.

Convert decimal –97₁₀ to 8-bit two’s complement.

a)

10011111

b)

10101111

c)

01100001

d)

11011101

18.

How many bits are required to represent 0x2E8 in binary?

a)

8 bits

b)

10 bits

c)

12 bits

d)

16 bits

19.

Which of the following is the binary equivalent of hex FAC₁₆?

a)

111110101100₂

b)

111110111100₂

c)

111101101100₂

d)

101010111100₂

20.

What is the result of 11 & 7 (bitwise AND in Python)?

a)

1110₂

b)

0011₂

c)

1010₂

d)

0111₂

21.

Convert decimal 700₁₀ into binary. Then, write the result in hexadecimal.

a)

1010111100₂, 2BC₁₆

b)

1010101100₂, 2AC₁₆

c)

1100111100₂, 33C₁₆

d)

1111111100₂, 3FC₁₆

22.

Which of the following 12-bit two’s complement numbers is valid when expanding 8-bits signed number 10011101₂?

a)

000010011101

b)

111110011101

c)

101010011101

d)

Not possible

23.

Convert –128₁₀ into 8-bit two’s complement. Can –129 be represented in 8-bit two’s complement?

a)

10000000₂, –129 causes overflow

b)

01111111₂, –129 also fits

c)

11111111₂, no overflow

d)

10000001₂, works fine

24.

Resize binary 1110 1011 1001 0001₂ into 12-bit two’s complement. What happens?

a)

Fits → 101110010001₂

b)

Doesn’t fit → value overflow

c)

Becomes positive

d)

Becomes zero

25.

Convert decimal –113 to 8-bit two’s complement step by step. What is the final result?

a)

01110001

b)

10001111

c)

10110001

d)

11100001

26.

Which decimal value does the two’s complement binary 10001111₂ represent (8-bit)?

a)

+113

b)

–113

c)

–17

d)

+17

27.

If you have a variable cycles from 0 → 7. How many LEDs are needed to display the full range in binary?

a)

2

b)

3

c)

4

d)

7

28.

If the proto board shows 101 on its 3 LEDs, what decimal value is being displayed?

a)

2

b)

3

c)

5

d)

6

29.

In Python, what is the result of 13 ^ 7 (bitwise XOR)?

a)

1010₂ = 10₁₀

b)

1110₂ = 14₁₀

c)

1000₂ = 8₁₀

d)

0011₂ = 3₁₀

30.

Resize the unsigned 0000 0100 1000 1011₂ to 12-bit. Is it possible?

a)

0100 1000 1011

b)

1000 1000 1011

c)

0000 1000 1011

d)

Not possible

31.

Sign-extend 0xFAC to 16-bit two’s complement.

a)

0000 1111 1010 1100

b)

1111 1111 1010 1100

c)

1111 0000 1010 1100

d)

0000 0000 1010 1100

32.

Zero-extend the unsigned binary 1101 1001₂ to 16 bits.

a)

1111111111011001

b)

0000000011011001

c)

0011111111011001

d)

Not possible

33.

Can 0x1E5 be represented as 8-bit binary?

a)

Yes: 11100101

b)

No