Question 96
96. Perform the following operation for the binary equivalent of the decimal numbers
(−14)10+(−15)10 The solution in 8-bit representation is :
Answer : (1) 11100011 (−14)10+(−15)10 The solution in 8-bit representation is :
Previous | Next |
UGC NET CS 2018 July - II Question 95 | UGC NET CS 2018 July - II Question 97 |
(−14)10 + (−15)10 = (-29)10
Value of 29 in binary is 00011101
To get a binary value of -29:
-
We need to take 1’s complement of 00011101 → 11100010
- Then add 1 to it. i.e. 11100011.
So, option (A) is the correct answer.