Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CS Edexcel 2.1b Signed Binary Numbers (Two's Complement)

Total questions: 18

Worksheet time: 9mins

Name
Class
Date
1.

What is the leftmost bit used for in sign and magnitude representation of binary numbers?

a)

To determine the type of operation to perform

b)

To store additional information about the number

c)

To indicate the magnitude of the number

d)

To represent the sign of the number (positive or negative)

2.

How do you convert a positive binary number into its negative equivalent using two's complement?

a)

Invert the bits and add 1

b)

Add 1 and then invert the bits

c)

Subtract 1 and then invert the bits

d)

Leave the bits unchanged

3.

The range of values represented by a byte in two's complement is (a)  

Choose from the below words
-128 to 128
0 to 255
-255 to 255
-128 to 127
4.

In two's complement, how do you convert a negative number back to positive?

a)

Subtract 1 and flip the bits

b)

Add 1 and invert the bits

c)

Leave it unchanged

d)

Flip the bits only

5.

What is the result of adding -5 (in two's complement) and 5?

a)

-5

b)

5

c)

-10

d)

0

6.

If the second number in a subtraction is larger than the first, you can infer that the result will be (a)  

Choose from the below words
positive
zero
negative
7.

How should you interpret a two's complement result that is negative?

a)

Add it to the maximum value of the byte

b)

Leave it as is, it is already understandable

c)

Convert it back to positive to understand the value

8.

What is the binary representation of the number 5 using sign and magnitude?

(a)  

9.

What is a drawback of using sign and magnitude for binary numbers?

a)

It cannot represent positive numbers

b)

It makes addition difficult

c)

It uses too much memory

d)

It is not compatible with decimal numbers

10.

Match the following binary numbers with their two's complement representation.

a)

0 0 0 0 0 0 0 0

1.

Two's complement of 0

b)

1 0 0 0 0 0 0 0

2.

Two's complement of -128

c)

0 1 1 1 1 1 1 1

3.

Two's complement of 127

d)

1 1 1 1 1 1 1 1

4.

Two's complement of -1

11.

What is the first step in converting a positive binary number to a negative using two's complement?

a)

Add one

b)

Flip the bits

c)

Subtract one

d)

Multiply by -1

12.

Why is it beneficial to represent numbers using two's complement?

a)

It makes subtraction easier

b)

It allows for larger numbers

c)

It makes addition work correctly

d)

It simplifies multiplication

13.

Using two's complement, what is the decimal equivalent of the binary number 11111110 after flipping the bits and adding one?

a)

-1

b)

-2

c)

-3

d)

0

14.

What is the main issue with logical binary shifts when used with signed binary values?

a)

The signed bit (MSB) is lost.

b)

The number becomes zero.

c)

The number doubles in size.

d)

The number remains unchanged.

15.

What is the key difference between arithmetic shifts and logical shifts?

a)

Arithmetic shifts retain the signed bit (MSB).

b)

Arithmetic shifts double the number.

c)

Arithmetic shifts lose the signed bit (MSB).

d)

Arithmetic shifts make the number zero.

16.

The type of binary shift that should be used with signed binary numbers to retain the signed bit is (a)  

Choose from the below words
Arithmetic right binary shift
Logical left binary shift
Logical right binary shift
Arithmetic left binary shift
17.

The result of an arithmetic right binary shift on the two’s complement binary value 10101010 is (a)  

18.

Arithmetic left binary shifts do not consistently work on signed two’s complement binary values because:

a)

They can cause overflow errors.

b)

They are slower than right shifts.

c)

They do not change the sign bit.

d)

They require more processing power.