UGC NET CS 2004 Dec-Paper-2
November 7, 2023UGC NET CS 2004 Dec-Paper-2
November 7, 2023UGC NET CS 2004 Dec-Paper-2
Question 6
|
An example of a binary number which is equal to its 2 ’s complement is :
1100
|
|
1001
|
|
1000
|
|
1111
|
Question 6 Explanation:
Option-A: 1100 convert into 2’s complement is
1100
1’s complement: 0011
2’s complement: 1
——–
0100
Option-B: 1001 convert into 2’s complement is
1001
1’s complement: 0110
2’s complement:
1
——–
0111
———
Option-C: 1000 convert into 2’s complement is
1000
1’s complement: 0111
2’s complement:
1
——–
1000
———
Option-D: 1111 convert into 2’s complement is
1111
1’s complement: 0000
2’s complement:
1
——–
0001
———
So, Option-C is correct answer.
1100
1’s complement: 0011
2’s complement: 1
——–
0100
Option-B: 1001 convert into 2’s complement is
1001
1’s complement: 0110
2’s complement:
1
——–
0111
———
Option-C: 1000 convert into 2’s complement is
1000
1’s complement: 0111
2’s complement:
1
——–
1000
———
Option-D: 1111 convert into 2’s complement is
1111
1’s complement: 0000
2’s complement:
1
——–
0001
———
So, Option-C is correct answer.
Correct Answer: C
Question 6 Explanation:
Option-A: 1100 convert into 2’s complement is
1100
1’s complement: 0011
2’s complement: 1
——–
0100
Option-B: 1001 convert into 2’s complement is
1001
1’s complement: 0110
2’s complement:
1
——–
0111
———
Option-C: 1000 convert into 2’s complement is
1000
1’s complement: 0111
2’s complement:
1
——–
1000
———
Option-D: 1111 convert into 2’s complement is
1111
1’s complement: 0000
2’s complement:
1
——–
0001
———
So, Option-C is correct answer.
1100
1’s complement: 0011
2’s complement: 1
——–
0100
Option-B: 1001 convert into 2’s complement is
1001
1’s complement: 0110
2’s complement:
1
——–
0111
———
Option-C: 1000 convert into 2’s complement is
1000
1’s complement: 0111
2’s complement:
1
——–
1000
———
Option-D: 1111 convert into 2’s complement is
1111
1’s complement: 0000
2’s complement:
1
——–
0001
———
So, Option-C is correct answer.