250+ TOP MCQs on Representation of Numbers – 2 & Answers

Digital Signal Processing Interview Questions & Answers focuses on “Representation of Numbers”.

1. What is the binary equivalent of (-3/8)?
A. (10011)2
B. (0011)2
C. (1100)2
D. (1101)2
Answer: D
Clarification: The number (-3/8) is stored in the computer as the 2’s complement of (3/8)
We know that the binary equivalent of (3/8)=0011
Thus the twos complement of 0011=1101.

2. Which of the following is the correct representation of a floating point number X?
A. 2E
B. M.2E(1/2C. 2M.2E(1/2D. None of the mentioned
Answer: B
Clarification: The binary floating point representation commonly used in practice, consists of a mantissa M, which is the fractional part of the number and falls in the range 1/2E, where the exponent E is either a negative or positive integer. Hence a number X is represented as X= M.2E(1/2

3. What is the mantissa and exponent respectively obtained when we add 5 and 3/8 in binary float point representation?
A. 0.101010,011
B. 0.101000,011
C. 0.101011,011
D. 0.101011,101
Answer: C
Clarification: We can represent the numbers in binary float point as
5=0.101000(2011)
3/8=0.110000(2101)=0.000011(2011)
=>5+3/8=(0.101000+0.000011)(2011)=(0.101011)(2011)
Therefore mantissa=0.101011 and exponent=011.

4. What is the largest floating point number that can be represented using a 32-bit word?
A. 3*1038
B. 1.7*1038
C. 0.2*1038
D. 0.3*1038
Answer: B
Clarification: Let the mantissa be represented by 23 bits plus a sign bit and let the exponent be represented by 7 bits plus a sign bit.

  250+ TOP MCQs on Frequency Transformations in the Analog Domain & Answers

5. If E=0 and M=0, then which of the following statement is true about X?
A. Not a number
B. Infinity
C. Defined
D. Zero
Answer: D
Clarification: According to the IEEE 754 standard, for a 32-bit machine, single precision floating point number is represented as X=(-1)s.2E-127(M).
From the above equation we can interpret that,
If E=0 and M=0, then the value of X is 0.

6. The truncation error for the sign magnitude representation is symmetric about zero.
A. True
B. False
Answer: A
Clarification: The truncation error for the sign magnitude representation is symmetric about zero and falls in the range
-(2-b-2-bm) ≤ Et ≤ (2-b-2-bm).

7. What is the range of round-off error for a foxed point representation?
A. [-0.5(2-b+2-bm), 0.5(2-b+2-bm)]
B. [0, (2-b+2-bm)]
C. [0, (2-b-2-bm)]
D. [-0.5(2-b-2-bm), 0.5(2-b-2-bm-bm)]
Answer: D
Clarification: The round-off error is independent of the type of fixed point representation. The maximum error that can be introduced through rounding is 0.5(2-b+2-bm) and this can be either positive or negative, depending on the value of x. Therefore, the round-off error is symmetric about zero and falls in the range
[-0.5(2-b-2-bm), 0.5(2-b-2-bm-bm)].

8. What is the 2’s complement of (1100)2?
A. (0100)2
B. (0011)2
C. (0111)2
D. (1100)2

Answer: A
Clarification: The ones complement of (1100)2 is (0011)2. Thus the two complement of this number is obtained as (0011)2+(0001)2=(0100)2.

9. The binary digit b-A is called as ______________
A. LSB
B. Total value
C. MSB
D. None of the mentioned
Answer: C
Clarification: Since the binary digit b-A is the first bit in the representation of the real number, it is called as the most significant bit(MSB. of the number.

10. If E=255 and M≠0, then which of the following statement is true about X?
A. Not a number
B. Infinity
C. Defined
D. Zero
Answer: A
Clarification: According to the IEEE 754 standard, for a 32-bit machine, single precision floating point number is represented as X=(-1)s.2E-127(M).
From the above equation we can interpret that,
If E=255 and M≠0, then X is not a number.

Digital Signal Processing for interviews,

Scroll to Top