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 36–40 of 66
P is a 16-bit signed integer. The 2's complement representation of P is . The 2's complement representation of 8*P is
Answer: (A)
To multiply by 8, shift the bits left by 3 places.
F87B = 1111 1000 0111 1011 shift left by 3 bits 1100 0011 1101 1000 = C3D8
(Here P = 1925 and 8P = 15400, so the result still fits in 16 bits.)
Answer:
F87B = 1111 1000 0111 1011 shift left by 3 bits 1100 0011 1101 1000 = C3D8
(Here P = 1925 and 8P = 15400, so the result still fits in 16 bits.)
Answer:
is equivalent to
Answer: (B)
Convert octal to binary, 3 bits per digit: .
Regroup the bits in 4s from the right: , which is hex digits .
So .
Check in decimal: and .
Answer: (B)
Regroup the bits in 4s from the right: , which is hex digits .
So .
Check in decimal: and .
Answer: (B)
The two numbers given below are multiplied using the Booth's algorithm.
Multiplicand : 0101 1010 1110 1110
Multiplier: 0111 0111 1011 1101
How many additions/Subtractions are required for the multiplication of the above two numbers?
Multiplicand : 0101 1010 1110 1110
Multiplier: 0111 0111 1011 1101
How many additions/Subtractions are required for the multiplication of the above two numbers?
Answer: (B)
Add a on the right of the multiplier, :
Take overlapping pairs from the right. The pair means subtract (), the pair means add (), and or means no operation.
For to , the pairs are:
10, 01, 10, 11, 11, 11, 01, 10, 11, 11, 11, 01, 10, 11, 11, 01
The pairs (subtractions) are at , so there are 4. The pairs (additions) are at , so there are 4. All other pairs are and need no operation.
So the total is additions and subtractions.
Answer: (B)
Take overlapping pairs from the right. The pair means subtract (), the pair means add (), and or means no operation.
For to , the pairs are:
10, 01, 10, 11, 11, 11, 01, 10, 11, 11, 11, 01, 10, 11, 11, 01
The pairs (subtractions) are at , so there are 4. The pairs (additions) are at , so there are 4. All other pairs are and need no operation.
So the total is additions and subtractions.
Answer: (B)
The following bit pattern represents a floating point number in IEEE 754 single precision format
1 10000011 101000000000000000000000
The value of the number in decimal form is
1 10000011 101000000000000000000000
The value of the number in decimal form is
Answer: (C)
Split the pattern as sign, exponent and mantissa: .
The sign bit is , so the number is negative.
The exponent bits are . IEEE single precision uses a bias of , so the exponent is .
The mantissa bits are . A leading is implied before the point, so the mantissa is .
The value is .
Note: the pattern as printed has 24 bits after the exponent, one more than the 23-bit mantissa field of single precision. The extra bit is a trailing 0, so it does not change the value.
Answer: (C)
The sign bit is , so the number is negative.
The exponent bits are . IEEE single precision uses a bias of , so the exponent is .
The mantissa bits are . A leading is implied before the point, so the mantissa is .
The value is .
Note: the pattern as printed has 24 bits after the exponent, one more than the 23-bit mantissa field of single precision. The extra bit is a trailing 0, so it does not change the value.
Answer: (C)
Let r denote number system radix. The only value(s) of r that satisfy the equation is / are
Answer: (D)
So every integer makes this true. But has to be larger than , because the digit appears in and the radix must be larger than every digit. (D) is the most suitable answer
Keep practising