Number System · Digital Logic
66 questions · asked in 26 of 27 years (2000–2026)
MCQ 49 · MSQ 6 · NAT 111-mark 55 · 2-mark 11
2000Questions per year2026
Questions 6–10 of 66
The following two signed 2's complement numbers (multiplicand and multiplier ) are being multiplied using Booth's algorithm:
The total number of addition and subtraction operations to be performed is ________. (Answer in integer)
The total number of addition and subtraction operations to be performed is ________. (Answer in integer)
Answer: 13
In Booth's algorithm each bit of the multiplier is paired with the bit to its right, , where . The pair means subtract , the pair means add , and the pairs and need only a shift.
, with added on the right. The pairs , from up to , are:
00, 10, 01, 10, 01, 10, 01, 10, 01, 00, 10, 01, 00, 10, 01, 10
Three pairs are (at ) and need no add or subtract. The other pairs are or : 7 subtractions and 6 additions, which is 13 operations.
Answer: 13
, with added on the right. The pairs , from up to , are:
00, 10, 01, 10, 01, 10, 01, 10, 01, 00, 10, 01, 00, 10, 01, 10
Three pairs are (at ) and need no add or subtract. The other pairs are or : 7 subtractions and 6 additions, which is 13 operations.
Answer: 13
Three floating point numbers are stored in three registers , respectively in IEEE 754 single precision format as given below in hexadecimal:
Which of the following option(s) is/are CORRECT?
Which of the following option(s) is/are CORRECT?
One or more options are correct.
Answer: (A), (B), (C)
IEEE 754 single precision: 1 sign bit, 8 exponent bits (bias 127), 23 fraction bits. Value .
RX = 0xC1100000 . Sign 1 (negative). Exponent . Fraction , so the mantissa is 1.125. .
RY = 0x40C00000 . Sign 0. Exponent . Fraction , so the mantissa is 1.5. .
RZ = 0x41400000 . Sign 0. Exponent . Mantissa 1.5. .
Check each option:
(A) . Correct.
(B) . Correct.
(C) . Correct.
(D) . Wrong.
Answer: (A), (B), (C)
RX = 0xC1100000 . Sign 1 (negative). Exponent . Fraction , so the mantissa is 1.125. .
RY = 0x40C00000 . Sign 0. Exponent . Fraction , so the mantissa is 1.5. .
RZ = 0x41400000 . Sign 0. Exponent . Mantissa 1.5. .
Check each option:
(A) . Correct.
(B) . Correct.
(C) . Correct.
(D) . Wrong.
Answer: (A), (B), (C)
Consider a system that uses 5 bits for representing signed integers in 2's complement format. In this system, two integers and are represented as and . Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow?
Answer: (B)
A 5-bit number in 2's complement can hold values from up to .
The given numbers are and .
- it fits
- it goes above +15, so overflow
- it fits (this is the lowest value)
- it fits
Answer: A B
The given numbers are and .
- it fits
- it goes above +15, so overflow
- it fits (this is the lowest value)
- it fits
Answer: A B
The format of a single-precision floating-point number as per the IEEE 754 standard is:
Choose the largest floating-point number among the following options.
Choose the largest floating-point number among the following options.
Answer: (B)
In IEEE 754, an exponent of all 1s (255) is reserved for /NaN.
- (A): the exponent is 127
- (B): the exponent is , so this is the largest finite number
- (C): the exponent is 255 and the mantissa is non-zero NaN, which is not a number at all
- (D):
Answer: B
- (A): the exponent is 127
- (B): the exponent is , so this is the largest finite number
- (C): the exponent is 255 and the mantissa is non-zero NaN, which is not a number at all
- (D):
Answer: B
Which of the following is/are EQUAL to 224 in radix-5 (i.e., base-5) notation?
One or more options are correct.
Answer: (A), (B), (D)
- Yes
- Yes
- No
- Yes
Answer: 64 in radix-10, 100 in radix-8, 121 in radix-7
Keep practising