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 11–15 of 66
A particular number is written as 132 in radix-4 representation. The same number in radix-5 representation is _____.
Answer: 110
Radix-4 to decimal:
Now change 30 into base 5:
Answer: 110
Now change 30 into base 5:
Answer: 110
Consider the IEEE-754 single precision floating point numbers
P=0xC1800000 and Q=0x3F5C2EF4.
Which one of the following corresponds to the product of these numbers (i.e., P x Q), represented in the IEEE-754 single precision format?
Which one of the following corresponds to the product of these numbers (i.e., P x Q), represented in the IEEE-754 single precision format?
Answer: (C)
. Split as . The sign is negative, the exponent is and the mantissa is . So .
. Split as . The sign is positive and the exponent bits are , so the exponent is .
Multiplying by changes the sign to negative and adds to the exponent. The mantissa of stays the same. The new exponent is , and the stored exponent is .
The bits of the product are . Regroup in 4 bits from the left: .
Answer: (C)
. Split as . The sign is positive and the exponent bits are , so the exponent is .
Multiplying by changes the sign to negative and adds to the exponent. The mantissa of stays the same. The new exponent is , and the stored exponent is .
The bits of the product are . Regroup in 4 bits from the left: .
Answer: (C)
Let R1 and R2 be two 4-bit registers that store numbers in 2's complement form. For the operation R1+R2, which one of the following values of R1 and R2 gives an arithmetic overflow?
Answer: (B)
The range of a 4-bit 2's complement number is up to .
- Case 1011 + 1110 = it fits
- Case 1100 + 1010 = overflow
- Case 0011 + 0100 = it fits
- Case 1001 + 1111 = it fits
Answer: R1 = 1100 and R2 = 1010
- Case 1011 + 1110 = it fits
- Case 1100 + 1010 = overflow
- Case 0011 + 0100 = it fits
- Case 1001 + 1111 = it fits
Answer: R1 = 1100 and R2 = 1010
Consider three floating point numbers A, B and C stored in registers , and , respectively as per IEEE-754 single precision floating point format. The 32-bit content stored in these registers (in hexadecimal form) are as follows.
Which one of the following is FALSE?
Which one of the following is FALSE?
Answer: (B)
Decode each register (sign | exponent | mantissa):
- C1400000: sign 1, exponent , mantissa 1.1 = 1.5
- 42100000: sign 0, exponent , mantissa 1.001 = 1.125
- 41400000: like A, but positive
- True
- FALSE
- True
- True
Answer: C = A + B
- C1400000: sign 1, exponent , mantissa 1.1 = 1.5
- 42100000: sign 0, exponent , mantissa 1.001 = 1.125
- 41400000: like A, but positive
- True
- FALSE
- True
- True
Answer: C = A + B
Let the representation of a number in base 3 be 210. What is the hexadecimal representation of the number?
Answer: (A)
Convert base 3 to decimal:
Split 21 as 16 + 5 Hex form:
Answer: 15
Split 21 as 16 + 5 Hex form:
Answer: 15
Keep practising