The difference between the two binary numbers 10010000 and 1111001 is:
- A.11101
- B.11011
- C.10111
- D.10011
Correct answer
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
Practice Questions
View allWhat is the hexadecimal equivalent of this binary number (1110)2?
- A.F
- B.B
- C.A
- D.E
Show answer
Hexadecimal has base 16, and because 2 raised to the power 4 equals 16, exactly four binary bits make one hexadecimal digit.
Read the full explanation →The binary equivalent of octal number 627 is:
- A.111010110
- B.110010110
- C.110010111
- D.011010111
Show answer
Octal has base 8, and because 2 raised to the power 3 equals 8, every octal digit expands into exactly three binary bits.
Read the full explanation →(1101 0001)2 binary number is same as which octal number?
- A.(321)8
- B.(123)8
- C.(641)8
- D.(146)8
Show answer
To turn a binary number into octal, group the bits in threes starting from the rightmost bit, adding leading zeros to complete the last group, because three bits cover the eight octal digits.
Read the full explanation →How many bits make one nibble?
- A.2
- B.4
- C.8
- D.16
Show answer
A bit, short for binary digit, is a single 0 or 1 and is the smallest unit of data a computer handles.
Read the full explanation →One kilobyte (KB) is exactly equal to how many bytes?
- A.1000
- B.1024
- C.2048
- D.512
Show answer
Storage units in computing grow in powers of two rather than powers of ten, because addresses are binary. One kilobyte is 2 raised to the power 10 bytes, which equals 1024 bytes.
Read the full explanation →