Digital Electronic MCQ Set 1
1. If x(n) and X(k) are an N-point DFT pair, then x(n+N)=x(n).
a) True
b) False
Answer
Answer: a [Reason:] We know that the expression for an DFT is given as
Therefore, we got x(n)=x(n+N)
2. If x(n) and X(k) are an N-point DFT pair, then X(k+N)=?
a) X(-k)
b) -X(k)
c) X(k)
d) None of the mentioned
Answer
: c [Reason:] We know that
Therefore, we have X(k)=X(k+N)
3. If X1(k) and X2(k) are the N-point DFTs of x1(n) and x2(n) respectively, then what is the N-point DFT of x(n)=ax1(n)+bx2(n)?
a) X1(ak)+X2(bk)
b) aX1(k)+bX2(k)
c) eakX1(k)+ebkX2(k)
d) None of the mentioned
Answer
Answer: b [Reason:] We know that, the DFT of a signal x(n) is given by the expression
=>X(k)= aX1(k)+bX2(k).
4. If x(n) is a complex valued sequence given by x(n)=xR(n)+jxI(n), then what is the DFT of xR(n)?
Answer
Answer: d [Reason:] Given x(n)=xR(n)+jxI(n)=> xR(n)=1/2(x(n)+x*(n))
Substitute the above equation in the DFT expression
Thus we get,
5. If x(n) is a real sequence and X(k) is its N-point DFT, then which of the following is true?
a) X(N-k)=X(-k)
b) X(N-k)=X*(k)
c) X(-k)=X*(k)
d) All of the mentioned
Answer
Answer: d [Reason:] We know that
Therefore,
X(N-k)=X*(k)=X(-k)
6. If x(n) is real and even, then what is the DFT of x(n)?
d) None of the mentioned
Answer
Answer: b [Reason:] Given x(n) is real and even, that is x(n)=x(N-n)
We know that XI(k)=0. Hence the DFT reduces to
7. If x(n) is real and odd, then what is the IDFT of the given sequence?
d) None of the mentioned
Answer
Answer: a [Reason:] If x(n) is real and odd, that is x(n)=-x(N-n), then XR(k)=0. Hence X(k) is purely imaginary and odd. Since XR(k) reduces to zero, the IDFT reduces to
8. If x1(n),x2(n) and x3(m) are three sequences each of length N whose DFTs are given as X1(k),X2(k) and X3(k) respectively and X3(k)=X1(k).X2(k), then what is the expression for x3(m)?
Answer
Answer: c [Reason:] If x1(n),x2(n) and x3(m) are three sequences each of length N whose DFTs are given as X1(k),X2(k) and X3(k) respectively and X3(k)=X1(k).X2(k), then according to the multiplication property of DFT we have x3(m) is the circular convolution of x1(n) and x2(n).
9. What is the circular convolution of the sequences x1(n)={2,1,2,1} and x2(n)={1,2,3,4}?
a) {14,14,16,16}
b) {16,16,14,14}
c) {2,3,6,4}
d) {14,16,14,16}
Answer
Answer: d [Reason:] We know that the circular convolution of two sequences is given by the expression
For m=0,x2((-n))4={1,4,3,2}
For m=1,x2((1-n))4={2,1,4,3}
For m=2,x2((2-n))4={3,2,1,4}
For m=3,x2((3-n))4={4,3,2,1}
Now we get x(m)={14,16,14,16}.
10. What is the circular convolution of the sequences x1(n)={2,1,2,1} and x2(n)={1,2,3,4}, find using the DFT and IDFT concepts?
a) {16,16,14,14}
b) {14,16,14,16}
c) {14,14,16,16}
d) None of the mentioned
Answer
Answer: b [Reason:] Given x1(n)={2,1,2,1}=>X1(k)=[6,0,2,0]
Given x2(n)={1,2,3,4}=>X2(k)=[10,-2+j2,-2,-2-j2]
when we multiply both DFTs we obtain the product
X(k)=X1(k).X2(k)=[60,0,-4,0]
By applying the IDFT to the above sequence, we get
x(n)={14,16,14,16}.
11. If X(k) is the N-point DFT of a sequence x(n), then circular time shift property is that N-point DFT of x((n-l))N is X(k)e-j2πkl/N.
a) True
b) False
Answer
Answer: a [Reason:] According to the circular time shift property of a sequence, If X(k) is the N-point DFT of a sequence x(n), then the N-pint DFT of x((n-l))N is X(k)e-j2πkl/N.
12. If X(k) is the N-point DFT of a sequence x(n), then what is the DFT of x*(n)?
a) X(N-k)
b) X*(k)
c) X*(N-k)
d) None of the mentioned
Answer
Answer: According to the complex conjugate property of DFT, we have if X(k) is the N-point DFT of a sequence x(n), then what is the DFT of x*(n) is X*(N-k).
Digital Electronic MCQ Set 2
1. If x(n)=xR(n)+jxI(n) is a complex sequence whose Fourier transform is given as X(ω)=XR(ω)+jXI(ω), then what is the value of XR(ω)?
Answer
Answer: c [Reason:] We know that
2. If x(n)=xR(n)+jxI(n) is a complex sequence whose Fourier transform is given as X(ω)=XR(ω)+jXI(ω), then what is the value of xI(n) ?
d) None of the mentioned
Answer
Answer: a [Reason:] We know that the inverse transform or the synthesis equation of a signal x(n) is given as
By substituting ejω = cosω + jsinω in the above equation and separating the real and imaginary parts we get
3. If x(n) is a real sequence, then what is the value of XI(ω)?
Answer
Answer: b [Reason:] If the signal x(n) is real, then xI(n)=0
We know that,
Now substitute xI(n)=0 in the above equation=>xR(n)=x(n)
4. Which of the following relations are true if x(n) is real?
a) X(ω)=X(-ω)
b) X(ω)= -X(-ω)
c) X*(ω)=X(ω)
d) X*(ω)=X(-ω)
Answer
Answer: d [Reason:] We know that, if x(n) is a real sequence
If we combine the above two equations, we get
X*(ω)=X(-ω)
5. If x(n) is a real signal, then
a) True
b) False
Answer
Answer: a [Reason:] We know that if x(n) is a real signal, then xI(n)=0 and xR(n)=x(n)
We know that,
6. If x(n) is a real and odd sequence, then what is the expression for x(n)?
Answer
Answer: b [Reason:] If x(n) is real and odd then, x(n)cosωn is odd and x(n) sinωn is even. Consequently
XR(ω)=0
7. What is the value of XR(ω) given X(ω)=1/(1-ae-jω ) ,|a|<1?
a) asinω/(1-2acosω+a2 )
b) (1+acosω)/(1-2acosω+a2 )
c) (1-acosω)/(1-2acosω+a2 )
d) (-asinω)/(1-2acosω+a2 )
Answer
Answer: c [Reason:] Given, X(ω)= 1/(1-ae-jω ) ,|a|<1
By multiplying both the numerator and denominator of the above equation by the complex conjugate of the denominator, we obtain
X(ω)= (1-aejω)/((1-ae(-jω) )(1-aejω)) = (1-acosω-jasinω)/(1-2acosω+a2 )
This expression can be subdivided into real and imaginary parts, thus we obtain
XR(ω)= (1-acosω)/(1-2acosω+a2 ).
8. What is the value of XI(ω) given X(ω)=1/(1-ae-jω ) ,|a|<1?
a) asinω/(1-2acosω+a2 )
b) (1+acosω)/(1-2acosω+a2 )
c) (1-acosω)/(1-2acosω+a2 )
d) (-asinω)/(1-2acosω+a2 )
Answer
Answer: d [Reason:] Given, X(ω)= 1/(1-ae-jω ) ,|a|<1
By multiplying both the numerator and denominator of the above equation by the complex conjugate of the denominator, we obtain
X(ω)= (1-aejω)/((1-ae(-jω) )(1-aejω)) = (1-acosω-jasinω)/(1-2acosω+a2 )
This expression can be subdivided into real and imaginary parts, thus we obtain
XI(ω)= (-asinω)/(1-2acosω+a2 ).
9. What is the value of |X(ω)| given X(ω)=1/(1-ae-jω ) ,|a|<1?
a) 1/√(1-2acosω+a2 )
b) 1/√(1+2acosω+a2)
c) 1/(1-2acosω+a2 )
d) 1/(1+2acosω+a2 )
Answer
Answer: a [Reason:] For the given X(ω)=1/(1-ae-jω ) ,|a|<1 we obtain
XI(ω)= (-asinω)/(1-2acosω+a2 ) and XR(ω)= (1-acosω)/(1-2acosω+a2 )
We know that |X(ω)|=√(〖X_R (ω)〗2+〖X_I (ω)〗2 )
Thus on calculating, we obtain
|X(ω)|= 1/√(1-2acosω+a2 )
10. If x(n)=A, -M<n<M, then what is the Fourier transform of the signal?
=0, elsewhere
a) Asin[(M-1/2)ω]/sin(ω/2)
b) A2 sin[(M+1/2)ω]/sin(ω/2)
c) Asin[(M+1/2)ω]/sin[(ω/2)].
d) sin[(M+1/2)ω]/sin(ω/2)
Answer
Answer: c [Reason:] Clearly, x(n)=x(-n). Thus the signal x(n) is real and even signal. So, we know that
11. What is the Fourier transform of the signal x(n)=a|n|, |a|<1?
a) (1+a2)/(1-2acosω+a2)
b) (1-a2)/(1-2acosω+a2)
c) 2a/(1-2acosω+a2 )
d) None of the mentioned
Answer
Answer: b [Reason:] First we observe x(n) can be expressed as
x(n)=x1(n)+x2(n)
where x1(n)= an, n>0
=0, elsewhere
x2(n)=a-n, n<0 =0, elsewhere Now applying Fourier transform for the above two signals, we get X1(ω)= 1/(1-aejω)/((1-ae(-jω) )(1-aejω)) = (1-acosω-jasinω)/(1-2acosω+a2 )
Now, X(ω)= X1(ω)+ X2(ω)= 1/(1-ae^(-jω) )+(ae^jω)/(1-ae^jω ) = (1-a2)/(1-2acosω+a2).
12. If X(ω) is the Fourier transform of the signal x(n), then what is the Fourier transform of the signal x(n-k)?
a) ejωk. X(-ω)
b) ejωk. X(ω)
c) e-jωk. X(-ω)
d) e-jωk. X(ω)
Answer
Answer: d [Reason:] Given
13. What is the convolution of the sequences of x1(n)=x2(n)={1,1,1}?
a) {1,2,3,2,1}
b) {1,2,3,2,1}
c) {1,1,1,1,1}
d) {1,1,1,1,1}
Answer
Answer: a [Reason:] Given x1(n)=x2(n)={1,1,1}
By calculating the Fourier transform of the above two signals, we get
X1(ω)= X2(ω)=1+ ejω + e -jω = 1+2cosω
From the convolution property of Fourier transform we have,
X(ω)= X1(ω). X2(ω)=(1+2cosω)2=3+4cosω+2cos2ω
By applying the inverse Fourier transform of the above signal, we get
x1(n)*x2(n)={1,2,3,2,1}
14. What is the energy density spectrum of the signal x(n)=anu(n), |a|<1?
a) 1/(1+2acosω+a2 )
b) 1/(1-2acosω+a2 )
c) 1/(1-2acosω-a2 )
d) 1/(1+2acosω-a2 )
Answer
Answer: b [Reason:] Given x(n)= anu(n), |a|<1
The auto correlation of the above signal is
rxx(l)=1/(1-a2 ) a|l|, -∞< l <∞
According to Wiener-Khintchine Theorem,
Sxx(ω)=F{ rxx(l)}= [1/(1-a2)].F{a|l|} = 1/(1-2acosω+a2 )
Digital Electronic MCQ Set 3
1. The effect of round off errors due to the multiplications performed in the DFT with fixed point arithmetic is known as Quantization error.
a) True
b) False
Answer
Answer: a [Reason:] Since DFT plays a very important role in many applications of DSP, it is very important for us to know the effect of quantization errors in its computation. In particular, we shall consider the effect of round off errors due to the multiplications performed in the DFT with fixed point arithmetic.
2. What is the model that has been adopt for characterizing round of errors in multiplication?
a) Multiplicative white noise model
b) Subtractive white noise model
c) Additive white noise model
d) None of the mentioned
Answer
Answer: c [Reason:] Additive white noise model is the model that we use in the statistical analysis of round off errors in IIR and FIR filters.
3. How many quantization errors are present in one complex valued multiplication?
a) One
b) Two
c) Three
d) Four
Answer
Answer: d [Reason:] We assume that the real and imaginary components of {x(n)} and {WNkn} are represented by ‘b’ bits. Consequently, the computation of product x(n). WNkn requires four real multiplications. Each real multiplication is rounded from 2b bits to b bits and hence there are four quantization errors for each complex valued multiplication.
4. What is the total number of quantization errors in the computation of single point DFT of a sequence of length N?
a) 2N
b) 4N
c) 8N
d) 12N
Answer
Answer: b [Reason:] Since the computation of single point DFT of a sequence of length N involves N number of complex multiplications, it contains 4N number of quantization errors.
5. What is the range in which the quantization errors due to rounding off are uniformly distributed as random variables if Δ=2-b?
a) (0,Δ)
b) (-Δ,0)
c) (-Δ/2,Δ/2)
d) None of the mentioned
Answer
Answer: c [Reason:] The Quantization errors due to rounding off are uniformly distributed random variables in the range (-Δ/2,Δ/2) if Δ=2-b. This is one of the assumption that is made about the statistical properties of the quantization error.
6. The 4N quantization errors are mutually uncorrelated.
a) True
b) False
Answer
Answer: a [Reason:] The 4N quantization errors are mutually uncorrelated. This is one of the assumption that is made about the statistical properties of the quantization error.
7. The 4N quantization errors are correlated with the sequence {x(n)}.
a) True
b) False
Answer
Answer: b [Reason:] According to one of the assumption that is made about the statistical properties of the quantization error, the 4N quantization errors are uncorrelated with the sequence {x(n)}.
8. How is the variance of the quantization error related to the size of the DFT?
a) Equal
b) Inversely proportional
c) Square proportional
d) Proportional
Answer
Answer: d [Reason:] We know that each of the quantization has a variance of Δ2/12=2-2b/12.
The variance of the quantization errors from the 4N multiplications is 4N. 2-2b/12=2-2b(N/3).
Thus the variance of the quantization error is directly proportional to the size of the DFT.
9. Every fourfold increase in the size N of the DFT requires an additional bit in computational precision to offset the additional quantization errors.
a) True
b) False
Answer
Answer: a [Reason:] We know that, the variance of the quantization errors is directly proportional to the size N of the DFT. So, every fourfold increase in the size N of the DFT requires an additional bit in computational precision to offset the additional quantization errors.
10. What is the variance of the output DFT coefficients |X(k)|?
a) 1/N
b) 1/2N
c) 1/3N
d) 1/4N
Answer
Answer: c [Reason:] We know that the variance of the signal sequence is (2/N)2/12=1/(3N2)
Now the variance of the output DFT coefficients |X(k)|=N. 1/(3N^2 2) = 1/3N.
11. What is the signal-to-noise ratio?
a) σX2. σq2
b) σX2/ σq2
c) σX2+ σq2
d) σX2-σq2
Answer
Answer: b [Reason:] The signal-to-noise ratio of a signal, SNR is given by the ratio of the variance of the output DFT coefficients to the variance of the quantization errors.
12. How many number of bits are required to compute the DFT of a 1024 point sequence with a SNR of 30db?
a) 15
b) 10
c) 5
d) 20
Answer
Answer: a [Reason:] The size of the sequence is N=210. Hence the SNR is
10log10(σX22/ σq2)=10 log1022b-20
For an SNR of 30db, we have
3(2b-20)=30=>b=15 bits.
Note that 15 bits is the precision for both addition and multiplication.
13. How many number of butterflies are required per output point in FFT algorithm?
a) N
b) N+1
c) 2N
d) N-1
Answer
Answer: d [Reason:] We find that, in general, there are N/2 in the first stage of FFT, N/4 in the second stage, N?8 in the third state, and so on, until the last stage where there is only one. Consequently, the number of butterflies per output point is N-1.
14. What is the value of the variance of quantization error in FFT algorithm, compared to that of direct computation?
a) Greater
b) Less
c) Equal
d) Cannot be compared
Answer
Answer: c [Reason:] If we assume that the quantization errors in each butterfly are uncorrelated with the errors in the other butterflies, then there are 4(N-1) errors that affect the output of each point of the FFT. Consequently, the variance of the quantization error due to FFT algorithm is given by
4(N-1)( Δ2/12)=N(Δ2/3)(approximately)
Thus, the variance of quantization error due to FFT algorithm is equal to the variance of the quantization error due to direct computation.
15. How many number of bits are required to compute the FFT of a 1024 point sequence with a SNR of 30db?
a) 11
b) 10
c) 5
d) 20
Answer
Answer: a [Reason:] The size of the FFT is N=210. Hence the SNR is 10 log1022b-v-1=30
=>3(2b-11)=30
=>b=21/2=11 bits.
Digital Electronic MCQ Set 4
1. The system function of a general IIR filter is given as
a) True
b) False
Answer
Answer: a [Reason:] If ak and bk are the filter coefficients, then the transfer function of a general IIR filter is given by the expression
2. If ak is the filter coefficient and a ̅k represents the quantized coefficient with Δak as the quantization error, then which of the following equation is true?
a) a ̅k = ak. Δak
b) a ̅k = ak/Δak
c) a ̅k = ak + Δak
d) None of the mentioned
Answer
Answer: c [Reason:] The quantized coefficient a ̅k can be related to the un-quantized coefficient ak by the relation
a ̅k = ak + Δak
where Δak represents the quantization error.
3. Which of the following is the equivalent representation of the denominator of the system function of a general IIR filter?
Answer
Answer: d [Reason:] We know that the system function of a general IIR filter is given by the equation
4. If pk is the set of poles of H(z), then what is Δpk that is the error resulting from the quantization of filter coefficients?
a) Pre-turbation
b) Perturbation
c) Turbation
d) None of the mentioned
Answer
Answer: b [Reason:] We know that p ̅k = pk + Δpk, k=1,2…N and Δpk that is the error resulting from the quantization of filter coefficients, which is called as perturbation error.
5. What is the expression for the perturbation error Δpi?
Answer
Answer: a [Reason:]
6. Which of the following is the expression for
Answer
Answer: c [Reason:]
7. If the poles are tightly clustered as they are in a narrow band filter, the lengths of |pi-pl| are large for the poles in the vicinity of pi.
a) True
b) False
Answer
Answer: b [Reason:] If the poles are tightly clustered as they are in a narrow band filter, the lengths of |pi-pl| are small for the poles in the vicinity of pi. These small lengths will contribute to large errors and hence a large perturbation error results.
8. Which of the following operation has to be done on the lengths of |pi-pl| in order to reduce the perturbation errors?
a) Maximize
b) Equalize
c) Minimize
d) None of the mentioned
Answer
Answer: a [Reason:] The perturbation error can be minimized by maximizing the lengths of |pi-pl|. This can be accomplished by realizing the high order filter with either single pole or double pole filter sections.
9. The sensitivity analysis made on the poles of a system results on which of the following of the IIR filters?
a) Poles
b) Zeros
c) Both of the mentioned
d) None of the mentioned
Answer
Answer: b [Reason:] The sensitivity analysis made on the poles of a system results on the zeros of the IIR filters.
10. Which of the following is the equivalent representation of the denominator of the system function of a general IIR filter?
Answer
Answer: d [Reason:] We know that the system function of a general IIR filter is given by the equation
Digital Electronic MCQ Set 5
1. If (101.01)2=(x)10, then what is the value of x?
a) 505.05
b) 10.101
c) 101.01
d) 5.25
Answer
Answer: d [Reason:] (101.01)2=1*22+0*21+1*20+0*2-1+1*2-2=(5.25)10
=>x=5.25.
2. If X is a real number with ‘r’ as the radix, A is the number of integer digits and B is the number of fraction digits, then
a) True
b) False
Answer
Answer: a [Reason:] A real number X can be represented as where bi represents the digit, ‘r’ is the radix or base, A is the number of integer digits, and B is the number of fractional digits.
3. The binary point between the digits b0 and b1 exist physically in the computer.
a) True
b) False
Answer
Answer: b [Reason:] The binary point between the digits b0 and b1 does not exist physically in the computer. Simply, the logic circuits of the computer are designed such that the computations result in numbers that correspond to the assumed location of this point.
4. What is the resolution to cover a range of numbers xmax-xmin with ‘b’ number of bits?
a) (xmax+xmin)/(2b-1)
b) (xmax+xmin)/(2b+1)
c) (xmax-xmin)/(2b-1)
d) (xmax-xmin)/(2b+1)
Answer
Answer: c [Reason:] A fixed point representation of numbers allows us to cover a range of numbers, say,xmax-xmin with a resolution
Δ=(xmax-xmin)/(m-1)
where m=2b is the number of levels and ‘b’ is the number of bits.
5. What are the mantissa and exponent required respectively to represent ‘5’ in binary floating point representation?
a) 011,0.110000
b) 0.110000,011
c) 011,0.101000
d) 0.101000,011
Answer
Answer: d [Reason:] We can represent 5 as
5=0.625*8=0.625*23
The above number can be represented in binary float point representation as 0.101000*2011
Thus Mantissa=0.101000, Exponent=011.
6. If the two numbers are to be multiplied, the mantissas are multiplied and the exponents are added.
a) True
b) False
Answer
Answer: a [Reason:] Let us consider two numbers X=M.2E and Y=N.2F
If we multiply both X and Y, we get X.Y=(M.N).2E+F
Thus if we multiply two numbers, the mantissas are multiplied and the exponents are added.
7. What is the smallest floating point number that can be represented using a 32-bit word?
a) 3*10-38
b) 2*10-38
c) 0.2*10-38
d) 0.3*10-38
Answer
Answer: d [Reason:] 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.
Thus, the smallest floating point number that can be represented using the 32 bit number is
(1/2)*2-127=0.3*10-38
Thus, the smallest floating point number that can be represented using the 32 bit number is
(1-2-23)*2 127/sup>=1.7*1038.
8. If 0<E<255, then which of the following statement is true about X?
a) Fractional number
b) Infinity
c) Mixed number
d) Zero
Answer
Answer: c [Reason:] According to the IEEE 754 standard, for a 32-bit machine, single precision floating point number is represented as X=(-1)c(M).
From the above equation we can interpret that,
If 0<E<255, then X=(-1)s.2E-127(1.M)=>X is a mixed number.
9. For a twos complement representation, the truncation error is:
a) Always positive
b) Always negative
c) Zero
d) None of the mentioned
Answer
Answer: b [Reason:] For a two’s complement representation, the truncation error is always negative and falls in the range
-(2-b-2-bm) ≤ Et ≤ 0.
10. Due to non-uniform resolution, the corresponding error in a floating point representation is proportional to the number being quantized.
a) True
b) False
Answer
Answer: a [Reason:] In floating point representation, the mantissa is either rounded or truncated. Due to non-uniform resolution, the corresponding error in a floating point representation is proportional to the number being quantized.