2's Complement MCQ Quiz - Objective Question with Answer for 2's Complement - Download Free PDF

Last updated on Jun 10, 2025

Latest 2's Complement MCQ Objective Questions

2's Complement Question 1:

Two's complement of -8 is 

  1. 1000
  2. 1010
  3. 110
  4. 1110

Answer (Detailed Solution Below)

Option 1 : 1000

2's Complement Question 1 Detailed Solution

Explanation:

Two's Complement Representation

Definition: Two's complement is a mathematical operation used in computer science to represent signed integers in binary. It is widely used because of its simplicity in handling arithmetic operations and representing negative numbers. In this system, positive numbers are represented in standard binary form, while negative numbers are obtained by inverting all the bits of the absolute value (in binary) and adding 1 to the least significant bit (LSB).

Steps to Find Two's Complement:

  1. Start with the binary representation of the absolute value: Represent the number in binary. For example, the absolute value of -8 is 8, which in binary (for a 4-bit system) is 1000.
  2. Invert all the bits: Flip all the bits of the binary representation. For 1000, the inverted bits become 0111.
  3. Add 1 to the result: Adding 1 to the inverted binary number gives 0111 + 1 = 1000.

Thus, the two's complement representation of -8 (in a 4-bit system) is 1000.

Correct Option Analysis:

The correct option is:

Option 1: 1000

This is the correct two's complement representation of -8 in a 4-bit system. Following the steps outlined above, the binary value 1000 is derived by inverting the bits of the binary representation of 8 and adding 1.

Additional Information

To further understand the analysis, let’s evaluate the other options:

Option 2: 1010

This option is incorrect because 1010 is not derived using the two's complement method for -8 in a 4-bit binary system. The inverted bits of 1000 are 0111, and adding 1 results in 1000, not 1010.

Option 3: 110

This option is incorrect because 110 does not represent -8 in two's complement form within a 4-bit binary system. It neither matches the expected binary format nor adheres to the two's complement operation rules.

Option 4: 1110

This option is incorrect as it does not represent the two's complement of -8 in a 4-bit binary system. The correct result, as derived earlier, is 1000. 1110 represents a different value altogether in two's complement.

Conclusion:

Understanding two's complement representation is essential for dealing with signed integers in binary arithmetic. The process involves inverting the bits of the absolute value and adding 1 to the least significant bit. This method simplifies arithmetic operations and provides a consistent way to handle negative numbers in binary systems.

In the context of the given problem, -8 is correctly represented as 1000 in two's complement form for a 4-bit binary system. This representation is derived systematically by following the steps outlined above, ensuring accuracy in binary arithmetic operations and signed integer representation.

2's Complement Question 2:

2’s complimentary representation of value -50 is 

  1. 10111111  
  2. 11011111  
  3. 11001110 
  4. More than one of the above
  5. None of the above

Answer (Detailed Solution Below)

Option 3 : 11001110 

2's Complement Question 2 Detailed Solution

The correct option is 3
Concept:

The procedure for representing a negative decimal in 2's complement representation is as shown:

F2 S.B 8.6.20 Pallavi D6

Calculation:
Converting 50 into 8-bit binary form
5010 = (00110010)2

Taking the 1's complement of the above, we get 11001101

Adding 1 to the 1's complement, we get the 2's complement representation of the number, i.e.

11001101 + 1 = 11001110 

(-50)10 in 2's complement is written as:

11001110 

2's Complement Question 3:

Representation of (-20)10 in two’s complement form is: 

  1. 101111
  2. 110001
  3. 101100
  4. More than one of the above
  5. None of the above

Answer (Detailed Solution Below)

Option 3 : 101100

2's Complement Question 3 Detailed Solution

Concept:

2’s complement representation:

1) For positive numbers, the 2's complement representation of a number is simply the binary equivalent of the number.

2) For negative numbers, the 2's complement representation is obtained by taking the 2's complement of the binary equivalent of the decimal number.

Analysis:

20 can be represented in binary number system as given below.

20 = 010100

1’s complement = 101011

2’s complement = 1’s complement of the given number + 1

2’s complement = 101011 + 000001 = 101100

Tips and Tricks:

Steps to writing 2’s complement to any binary number:

  • Start from right to left and search for the first ‘1’
  • Write down the bits until that first ‘1’ as it is.
  • Write down the remaining left bits with their respective complement.


Given number is: 010100

2’s complement representation: 101100

2's Complement Question 4:

The range of numbers represented by an 8-bit two’s complement representation is

  1. -128 to +127
  2. -127 to +128
  3. -128 to +128
  4. More than one of the above
  5. None of the above

Answer (Detailed Solution Below)

Option 1 : -128 to +127

2's Complement Question 4 Detailed Solution

The range of n bit word in 2’s complement representation is,

\(\left( {-{2^{n - 1}} } \right)\;to\;\left( { {2^{n - 1}-1}} \right)\)

(n-1) is used here because out of n bits 1 bit is used as a sign bit 

There is one extra negative number because "0" has only a single representation in 2's complement form

For 8 bit word, the range will be -128 to 127. 

2's Complement Question 5:

The range of the numbers that can be represented in 8-bit using 2’s complement representation is 

  1. –128 to +128
  2. –127 to +127
  3. –128 to +127
  4. More than one of the above 
  5. None of the above

Answer (Detailed Solution Below)

Option 3 : –128 to +127

2's Complement Question 5 Detailed Solution

The correct answer is –128 to +127

Key Points

  • In a binary system, numbers are typically represented using a fixed number of bits.
  • In 2's complement representation, the most significant bit (MSB) is used as the sign bit, where 0 indicates a positive number and 1 indicates a negative number.
  • The remaining bits represent the magnitude of the number.
  • For an 8-bit system:
    • The range for positive numbers is from 0 to 2(n-1) - 1, where n is the number of bits. In this case, it's 27 - 1, which is 127.
    • The range for negative numbers is from -2(n-1) to -1. In this case, it's -27, which is -128.

So, combining both ranges, the overall range for an 8-bit system using 2's complement representation is from -128 to +127.

Top 2's Complement MCQ Objective Questions

The 2's complement of 11011111

  1. 11011111
  2. 00100001
  3. 00110001
  4. 00100000

Answer (Detailed Solution Below)

Option 2 : 00100001

2's Complement Question 6 Detailed Solution

Download Solution PDF

Concept:

1's complement of Binary: 1's complement of a Binary number is defined by the value obtained by inverting all the bit, i.e, 0 as 1 and 1 as 0.

2's complement of Binary: It is the sum of 1's complement of Binary number and 1 to the least significant bit (LSB).

∴ 2's complement = 1's complement + 1 (LSB)

Analysis:

The 1's complement of the given binary digit will be:

11011111 → 00100000

Adding 1 to the above, we get the 2's complement as:

00100000 → 00100001

Shortcut Trick

Steps to writing 2’s complement to any binary number:

  • Start from right to left and search for the first ‘1’
  • Write down the bits until that first ‘1’ as it is.
  • Write down the remaining left bits with their respective complement.

The range of numbers represented by an 8-bit two’s complement representation is

  1. -128 to +127
  2. -127 to +128
  3. -128 to +128
  4. 0 to 255

Answer (Detailed Solution Below)

Option 1 : -128 to +127

2's Complement Question 7 Detailed Solution

Download Solution PDF

The range of n bit word in 2’s complement representation is,

\(\left( {-{2^{n - 1}} } \right)\;to\;\left( { {2^{n - 1}-1}} \right)\)

(n-1) is used here because out of n bits 1 bit is used as a sign bit 

There is one extra negative number because "0" has only a single representation in 2's complement form

For 8 bit word, the range will be -128 to 127. 

2's complement of -7 is

  1. 0111
  2. 1000
  3. 1111
  4. 1001

Answer (Detailed Solution Below)

Option 4 : 1001

2's Complement Question 8 Detailed Solution

Download Solution PDF

Concept:

1. Signed magnitude representation uses the most significant bit (MSB) a sign bit.

  • If the sign bit is ‘0’ then the number is positive.
  • If the sign bit is ‘1’ then the number is negative.

The remaining bits represent the magnitude of the binary number.

2. 1’s complement representation:

It is a representation of a binary number obtained by toggling all bits in it i.e. transforming the 0 bit to 1 and the 1 bit to 0.

3. 2’s complement representation:

It is obtained by simply adding 1 to the 1’s complement of that binary number.

Calculation:

The binary form of 7 ↔ 0111

1's complement of -7 = 1(for sign) (000)(1's complement of 7)

= 1000

2's complement of -7 = 1's complement + 1 = 1000 + 1 = 1001

Representation of (-20)10 in two’s complement form is: 

  1. 101111
  2. 110001
  3. 101100
  4. 101110

Answer (Detailed Solution Below)

Option 3 : 101100

2's Complement Question 9 Detailed Solution

Download Solution PDF

Concept:

2’s complement representation:

1) For positive numbers, the 2's complement representation of a number is simply the binary equivalent of the number.

2) For negative numbers, the 2's complement representation is obtained by taking the 2's complement of the binary equivalent of the decimal number.

Analysis:

20 can be represented in binary number system as given below.

20 = 010100

1’s complement = 101011

2’s complement = 1’s complement of the given number + 1

2’s complement = 101011 + 000001 = 101100

Tips and Tricks:

Steps to writing 2’s complement to any binary number:

  • Start from right to left and search for the first ‘1’
  • Write down the bits until that first ‘1’ as it is.
  • Write down the remaining left bits with their respective complement.


Given number is: 010100

2’s complement representation: 101100

The 2’s complement of the binary number 1101101 is

  1. 0101110
  2. 0111110
  3. 0110010
  4. 0010011
  5. 0000110

Answer (Detailed Solution Below)

Option 4 : 0010011

2's Complement Question 10 Detailed Solution

Download Solution PDF

Concept:

1’s complement representation of a binary number is obtained by toggling all the bits, i.e. replacing 1 with 0, and 0 with 1.

2’s complement representation of a binary number is obtained by adding 1 to the 1’s complement representation.

Application:

Given the binary number is 1101101

Taking the 1's complement of the above, we replace all the 1's with 0's and all the 0's with 1's to get:

1's complement of 1101101 = 0010010

Adding 1 to the 1's complement, we get the 2's complement as:

0010010 + 1 = 0010011

What is the largest positive value that can be represented by an 8 bit 2’s complement number

  1. 127
  2. 128
  3. 255
  4. 256

Answer (Detailed Solution Below)

Option 1 : 127

2's Complement Question 11 Detailed Solution

Download Solution PDF

Two's complement representation, or, in other words, signed notation - the first bit tells about the sign.

The convention is that a number with a leading 1 is negative, while a leading 0 denotes a positive value.

In an 8-bit representation, we can write any number from -128 to 127.

The name comes from the fact that a negative number is a two's complement of a positive one.

Find 2's complement of -9. 

  1. 11110111
  2. 11111001
  3. 00001001
  4. 00001010

Answer (Detailed Solution Below)

Option 1 : 11110111

2's Complement Question 12 Detailed Solution

Download Solution PDF

Concept:

Steps to find 2's complement of a negative number:

Step 1: For the given negative binary number, first write the binary equivalent of the positive number of the same number.

Step 2: Then find 1's complement.

Step 3: Add 1 to it.

Calculation:

Step 1: (+9)10 = (1001)2

F2 Madhuri Engineering 08.04.2022 D1

Step 2: 1's complement of (1001)2 = (0110)2

Step 3: (0110)2 + 1

F2 Madhuri Engineering 08.04.2022 D2

2's complement of (-9) is (0111)2

For 8-bit notation, putting 1 four times before MSB does not affect the 2's complement.

Therefore, 2's complement of (-9) in 8-bit notation is 11110111.

The 2’s complement of the binary number 1101101 is

  1. 0101110
  2. 0111110
  3. 0110010
  4. 0010011

Answer (Detailed Solution Below)

Option 4 : 0010011

2's Complement Question 13 Detailed Solution

Download Solution PDF

Concept:

1’s complement representation of a binary number is obtained by toggling all the bits, i.e. replacing 1 with 0, and 0 with 1.

2’s complement representation of a binary number is obtained by adding 1 to the 1’s complement representation.

Application:

Given the binary number is 1101101

Taking the 1's complement of the above, we replace all the 1's with 0's and all the 0's with 1's to get:

1's complement of 1101101 = 0010010

Adding 1 to the 1's complement, we get the 2's complement as:

0010010 + 1 = 0010011

In an 8 bit two’s complement number system, inversion of all 8 bits occur during code transition

  1. from -127 to -128
  2. from 0 to +127
  3. from +126 to +127
  4. from -1 to 0

Answer (Detailed Solution Below)

Option 4 : from -1 to 0

2's Complement Question 14 Detailed Solution

Download Solution PDF

Concept:

2’s compliment

This comes under the signed number representation.

MSB is for the sign and remaining for magnitude.

Example 2’s complement of the number 1011 is

MSB = 1 so it is negative.

The weights will be 8, 4, 2 and 1

= - 8 + 0 + 2 + 1

= - 5 in decimal

Calculation:

When all 8 bits are 1’s then the value will be – 1 for 2’s complement number

11111111: MSB is 1 so negative number and weights will be 128, 64, 32, 16, 8, 4, 2 and 1

(11111111)2 = - 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1

= - 128 + 127

= (-1)10

The zero is represented by

(00000000)2 in 2’s complement form

So all bits will be changed when transition takes place from – 1 to 0

An 8085 microprocessor executes the following instructions:

Two numbers are represented in signed 2’s complement form as

P = 11101101 and Q = 11100110

If Q is subtracted from P, the value obtained in signed 2’s complement form is

  1. 100000111
  2. 00000111
  3. 11111001
  4. 011111001

Answer (Detailed Solution Below)

Option 2 : 00000111

2's Complement Question 15 Detailed Solution

Download Solution PDF

Given:

P = 11101101

Q = 11100110

Take the 2's complement of Q and add it to P. 

Using 2's compliment addition P + (-Q)

2's compliment of Q is:

Q = 00011010

   1 1 1 0 1 1 0 1

+ 0 0 0 1 1 0 1 0 

1 0 0 0 0 0 1 1 1 

After Neglecting the carry we'll get;

0 0 0 0 0 0 1 1 1

Get Free Access Now
Hot Links: teen patti apk download teen patti list teen patti rich teen patti joy official