Skip to content
GK24
Computer AwarenessHardAsked in: RRB ALP · 21 Jan 2019, Shift 2

The difference between the two binary numbers 10010000 and 1111001 is:

  1. A.11101
  2. B.11011
  3. C.10111
  4. D.10011

Correct answer

C. 10111

Explanation

The correct answer is C, 10111. The safest way to handle a binary subtraction in an examination is to convert both numbers to decimal, subtract, and convert the answer back. The first number 10010000 has ones in the places worth 128 and 16, so it equals 144. The second number 1111001 has ones in the places worth 64, 32, 16, 8 and 1, so it equals 121. The difference is 144 minus 121, which is 23. Now convert 23 to binary by repeated division by 2, which gives the remainders 1, 1, 1, 0 and 1 read upwards, that is 10111. Option A is wrong because 11101 equals 29. Option B is wrong because 11011 equals 27. Option D is wrong because 10011 equals 19. Only 10111 equals 23, so C is the answer.

Read the full article: Number Systems and Data Representation in Computers

View all