Instructions to Candidates
- This test contains 20 multiple-choice questions on the Fast Fourier Transform (FFT).
- Questions are drawn from the first four levels of Bloom's taxonomy: Remembering, Understanding, Applying, and Analysing. No evaluation or synthesis questions are set.
- Each question carries 1 mark; total = 20 marks. There is no negative marking.
- Select one answer per question, then press Submit & Reveal Answers. Full worked explanations appear after submission.
- Recommended time: 40 minutes. A non-programmable calculator is allowed.
| Bloom's Level | What it tests | Questions |
|---|---|---|
| REMEMBER | Recall of algorithm facts, definitions, and complexity figures | Q1 – Q5 |
| UNDERSTAND | Interpretation of why/how the algorithm works | Q6 – Q10 |
| APPLY | Numerical computation of sizes, counts, twiddles | Q11 – Q15 |
| ANALYSE | Interpreting FFT outputs and optimisation reasoning | Q16 – Q20 |
Formulas provided:
twiddle factor WN = e−j2π/N;
direct DFT cost ≈ N² complex multiplications;
radix-2 FFT cost ≈ (N/2)·log₂N;
DFT bin spacing Δf = fs/N;
bin k corresponds to frequency f = k·fs/N.
Part A — Remembering (Q1–Q5)
Q1. The Fast Fourier Transform (FFT) is best described as:
Answer: (c). The FFT is not a new transform — it computes the identical DFT coefficients X[k]. The "fast" comes purely from eliminating redundant computations via the symmetry and periodicity of the twiddle factor. Option (a) is wrong: there is no approximation.
Q2. The radix-2 FFT algorithm was published in 1965 by:
Answer: (b). James Cooley and John Tukey published the radix-2 decimation-in-time FFT in 1965. (Gauss had discovered an equivalent method around 1805 but never published it; Bergland later extended the algorithm to radix-4, radix-8 and mixed-radix forms.)
Q3. Computing an N-point DFT directly from the definition requires approximately how many complex multiplications?
Answer: (d). Each of the N outputs X[k] requires N complex multiplications (one per sample), giving N·N = N². This quadratic growth is precisely what makes the direct DFT impractical for large N — e.g. N = 4096 needs ≈ 16.8 million multiplications.
Q4. The radix-2 Cooley–Tukey FFT requires approximately how many complex multiplications for an N-point transform?
Answer: (a). There are log₂N levels, each containing N/2 butterflies, and each butterfly performs one complex multiply: cost = (N/2)·log₂N. For N = 1024 this is 5,120 versus 1,048,576 for the direct DFT — roughly a 200× saving that grows linearly with N.
Q5. The basic radix-2 FFT algorithm requires the transform length N to be:
Answer: (c). Radix-2 works by halving the sequence repeatedly, which only terminates cleanly at 2-point DFTs if N = 2^m. Other lengths are handled by mixed-radix (e.g. N = 12 = 4×3), prime-factor, or Bluestein algorithms — as used by NumPy/FFTW — or by zero-padding to the next power of 2.
Part B — Understanding (Q6–Q10)
Q6. The fundamental reason the FFT is faster than the direct DFT is that it:
Answer: (b). The direct DFT recomputes e^(−j2πkn/N) from scratch N² times, but these values repeat and negate each other in structured ways. The FFT reuses each twiddle across many computations (the upper-half spectrum comes "for free" from W^(k+N/2) = −W^k). Same outputs, same count of bins — drastically fewer operations.
Q7. In a radix-2 decimation-in-time FFT, the "butterfly" operation performs which computation?
Answer: (d). The butterfly takes two inputs a and b, forms the product W·b once, and produces both a + Wb and a − Wb. The subtraction is what delivers the upper-half spectrum for free via W^(k+N/2) = −W^k. One complex multiply and two complex adds per butterfly — the atomic unit of the entire FFT.
Q8. In a decimation-in-time (DIT) FFT, the input samples must be placed in bit-reversed order because:
Answer: (a). Each recursion level separates even and odd indices — a permutation of the binary index. After log₂N levels the required arrangement is exactly bit reversal (e.g. index 3 = 011₂ goes to position 6 = 110₂ for N = 8). With this pre-ordering, the butterflies produce X[0]…X[N−1] sequentially. (A decimation-in-frequency variant instead bit-reverses the outputs.)
Q9. For an N-point radix-2 FFT, the number of stages (levels) and the number of butterflies per stage are respectively:
Answer: (c). Halving N repeatedly gives log₂N stages (N=8 → 3, N=1024 → 10), and every stage combines N values through N/2 butterflies. Total butterflies = (N/2)·log₂N, e.g. 4×3 = 12 for N = 8. This N·log₂N growth — versus N² — is the whole point of the algorithm.
Q10. Zero-padding a signal from N to 2N samples before taking the FFT:
Answer: (b). Resolution Δf = 1/(N·T_s) depends on the actual observation time. Zero-padding appends zeros (no new information), so the underlying sinc-shaped spectral lines don't narrow — the FFT merely evaluates the same spectrum at more frequencies, which can help display and peak-picking. Genuine resolution improvement requires a longer data record, not more zeros.
Part C — Applying (Q11–Q15)
Q11. An 8-point radix-2 FFT contains how many complex multiplications?
Answer: (a). (N/2)·log₂N = 4 × 3 = 12. (Option (c) is the direct DFT's N² = 64.) Note a practical implementation performs even fewer multiplies because the first stage uses only W = 1 (pure adds) — a further optimisation on top of the basic count.
Q12. The number of complex multiplications required by a 1,024-point radix-2 FFT is approximately:
Answer: (d). (N/2)·log₂N = 512 × 10 = 5,120. Option (a) — 1,048,576 — is the direct DFT cost; their ratio of ≈ 205× is what makes real-time spectrum analysis of a 1024-point frame possible on ordinary hardware.
Q13. A signal is sampled at fs = 10 kHz and N = 2,048 samples are transformed. The frequency spacing between adjacent DFT bins is:
Answer: (b). Δf = f_s/N = 10,000/2048 = 4.8828 Hz. Two tones closer than this will merge into one broadened lobe; resolving them requires a longer record (larger N at fixed f_s), not zero-padding.
Q14. The twiddle factor W82 = e−j2π·2/8 equals:
Answer: (c). W₈² = e^(−jπ/2) = cos(π/2) − j sin(π/2) = −j. This is a "trivial" twiddle — multiplication by −j only swaps and negates the real/imaginary parts, so optimised FFTs skip the general complex multiply entirely at such points (k = 0, N/4, N/2).
Q15. For an 8-point DIT FFT, the input sample x[6] (binary 110) must be placed at which position of the input array?
Answer: (a). Reverse the 3-bit index: 110₂ → 011₂ = 3. Hence the input order becomes [x0, x4, x2, x6, x1, x5, x3, x7]. Indices 0 (000) and 7 (111) are palindromes and stay fixed; all others swap in pairs (1↔4, 2↔2 fixed, 3↔6, 5↔5 fixed).
Part D — Analysing (Q16–Q20)
Q16. An engineer applies a 512-point FFT to a signal sampled at fs = 8 kHz. The magnitude spectrum shows one sharp peak at bin k = 5. The frequency of the signal component is:
Answer: (c). f = k·f_s/N = 5 × 8000/512 = 78.125 Hz. The sharp (non-leaking) peak also tells the analyst that the tone completes exactly 5 cycles in the 512-sample record — an integer number of cycles, the condition for a bin-centred, leakage-free line.
Q17. A software engineer notices that at k = 0 the twiddle WN0 = 1, at k = N/4 it is −j, and at k = N/2 it is −1. A valid optimisation of her FFT code is to:
Answer: (b). The butterflies must still run (their add/subtract structure is essential), but multiplying by 1, −1, or −j is trivial: −j·(a+jb) = b − ja — a swap and sign change, no arithmetic multiplier needed. Real FFT libraries exploit this heavily, cutting the effective multiply count well below (N/2)·log₂N.
Q18. A 6 kHz sine wave is sampled at fs = 8 kHz (below the Nyquist rate of 12 kHz) and the 512-point FFT is displayed. The spectrum will show the component at:
Answer: (a). Spectra replicate every f_s; the 6 kHz component also appears at 6 − 8 = −2 kHz, i.e. 2 kHz in the 0…f_s/2 display. Aliasing is irreversible — no algorithm can recover which of the folded frequencies was real. This is why the anti-alias filter before the ADC is mandatory in spectrum analysers and SDRs.
Q19. An FFT of a real-valued input signal returns X[k] for k = 0…N−1. A developer who only needs the single-sided spectrum (k = 0…N/2) can legitimately:
Answer: (d). Conjugate symmetry of real-input DFTs means bins N/2+1…N−1 carry no new information (|X| mirror, opposite phase). Practical algorithms (packing two real sequences into one complex FFT, or N/2-point complex FFTs) exploit this to nearly halve computation — one reason spectrum analysers can afford deep real-time averaging.
Q20. An engineer takes a 64-point FFT of a recorded signal and finds X[0] = 64 while every other bin X[1]…X[63] is exactly zero. The most reasonable conclusion is:
Answer: (c). A constant x[n] = 1 correlates perfectly with the DC basis (k = 0) giving X[0] = N = 64, and is orthogonal to every other basis vector, giving zeros elsewhere. An impulse δ[n] would give X[k] = 1 for ALL k (flat spectrum — option (b) is its own trap), and a sine wave would show two symmetric peaks. Reading DC content directly from X[0] is standard practice in receiver signal-level monitoring.