All 9 questions UPSC has asked on sampling, DFT and FFT in the Electrical Engineering Optional (Paper I, Signals and Systems) from 1995 to 2026, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Signals and Systems topic-wise PYQs page. Circuit diagrams have been redrawn from the question papers.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the numbers were worked out again independently in code (SymPy and NumPy: circuit equations, power balance, matrices, integrals).
- ✓ Answer checked step by step for theory and descriptive questions, every point was checked against the standard theory.
Where a printed question is wrong, unclear or incomplete, we say so and solve the intended version.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2026 · 4a(i) 2026 · 4a(ii) 2020 · 4a 2012 · 1c 2009 · 8a(i) 2006 · 2a(ii) 2005 · 3a(i) 2004 · 3a(ii) 1995 · 200w/9d
The continuous-time signal is ideally sampled at a rate of 30 samples per second. The resulting sampled signal is then passed through a filter whose impulse response is . Find the expression for the output signal of the filter.
Solution
Input. is a 10 Hz cosine. Its spectrum has two lines:
Ideal sampling at Hz. With : So there are lines at Hz: Each has strength . The line at Hz carries phase ; the line at carries .
Filter. , which is 1 for Hz. Multiplying by moves it to Hz: This is a narrow band-pass filter: gain and phase for Hz (and the mirror band).
Output. Only the lines at Hz get through: The filter picks out the first image of the 10 Hz input, at 40 Hz. (If the impulses are weighted by instead of 1, the amplitude is .)
✓ Checked by computer We passed every spectral line of the sampled signal through H(f) in code and rebuilt the output as a sum of cosines.
A discrete-time sequence of length 9 has a 9-point DFT denoted by , where . Another discrete-time sequence has a 9-point DFT given by Without explicitly computing DFT or inverse DFT, determine the sequence .
Solution
Circular shift property. For an -point DFT,
Here and (since ). So : The sequence is rotated circularly 3 places to the right.
Answer. , so
✓ Checked by computer We took the 9-point FFT in NumPy, multiplied by the given factor and inverted.
A continuous-time signal is sampled with a sampling frequency . Obtain the 4-point DFT of the sampled sequence and plot the magnitude and phase spectrum.
Solution
Samples. :
4-point DFT. :
Spectrum.
- Magnitude: . The two non-zero bins are the 400 Hz component () and its mirror ( Hz).
- Phase: 0 for and (both values are real and positive). The phase of the zero bins is undefined; we take it as 0.
✓ Checked by computer We computed the 4-point DFT with NumPy’s FFT.
A continuous time signal is given by The signal is sampled with a sample period of seconds. Can we recover the signal from the sampled version using an appropriate low pass filter?
Solution
Frequencies present. So has components at 5 kHz and 3 kHz. The highest frequency is kHz.
Sampling rate. The Nyquist rate is kHz, and kHz is far below it.
Aliasing.
- 5 kHz appears at Hz.
- 3 kHz appears at Hz.
Answer: No. A low-pass filter cannot separate the aliases from the real components, so cannot be recovered. We would need ms.
✓ Checked by computer We rebuilt the product as a sum of cosines and computed the sampling rate and the alias frequencies in code.
A signal is sampled with sampling interval of 0.02 second. Can the original signal be recovered from these samples?
Solution
Frequency. has Hz. So the Nyquist rate is Hz.
Sampling. s gives Hz. This is below 100 Hz.
The samples. We sample once per cycle, always at the peak. The samples look exactly like a dc signal of value 2.
Answer: No. The 50 Hz component aliases to 0 Hz. Any reconstruction gives the constant 2, not .
✓ Checked by computer We evaluated the samples in code: every sample equals 2.
Explain how an analog signal can be constructed from its samples. What are the conditions for faithful reconstruction? Give any one reconstruction circuit.
Solution
Ideal reconstruction. If is band-limited to and sampled every , its samples can be passed through an ideal low-pass filter of gain and cut-off . Each sample is replaced by a sinc pulse, and the pulses add up to : In the frequency domain, the filter keeps the base-band copy of the spectrum and removes all the images at multiples of .
Conditions for faithful reconstruction.
- must be band-limited: no content above . In practice an anti-aliasing filter is used before the sampler.
- The sampling rate must exceed the Nyquist rate: .
- The reconstruction filter must pass up to and reject everything from upward. So the cut-off is . A guard band ( well above ) makes a practical filter possible.
- Samples must be taken at accurate, uniform instants (low jitter), with enough amplitude resolution.
Practical method: zero-order hold. A DAC holds each sample constant for one period, giving a staircase. A smoothing low-pass filter then removes the steps. The hold has the response ; it slightly droops the gain towards ( shape), which can be corrected if needed.
Reconstruction circuit (sample-and-hold). Switch S closes briefly at each instant and charges to the sample value. Between instants S is open, and holds the voltage. The voltage follower buffers , so the load does not discharge it. The output is the staircase .
✓ Answer checked step by step We checked the reconstruction conditions and the circuit against the sampling theorem and standard practice.
Using the difference equation design method with a backward difference, design a digital filter to simulate the analog filter whose transfer function is using the sampling rate kHz.
Solution
Backward difference. The derivative is replaced by With kHz, s, so .
Substitute.
- Numerator: .
- Denominator:
Digital filter.
Difference equation.
Check.
- The analog poles are (stable).
- The digital poles are , with (stable). The backward difference always maps the left half -plane inside the unit circle.
- Both filters are band-pass with a zero at dc ().
- At the analog centre frequency rad/s the analog gain is . The digital filter gives about there. The backward difference warps and damps the response because kHz is only about 14 times the 71 Hz centre frequency. A higher sampling rate would give a closer match.
✓ Checked by computer We checked in code that H(z) equals H(s) with s = (1 − z⁻¹)/T, found the digital poles and compared the gains at the resonant frequency.
What do you understand by the mathematical relation between continuous and discrete system as given below? where is the frequency response of the sequence x(nT), T is the sampling period and is the Fourier transform of the continuous-time waveform. If the analog frequency response is band limited to the range what will the new relation be?
Solution
What the relation says. Write for analog frequency. Sampling every seconds gives . The spectrum of the sequence is
- The spectrum of the sampled signal is the analog spectrum repeated at every multiple of the sampling frequency .
- Each copy is scaled by .
- So the discrete-time spectrum is periodic in with period (period in ).
Where it comes from. Ideal sampling multiplies by the impulse train . The train’s transform is . Multiplication in time is convolution in frequency, which places a copy of at every impulse.
Aliasing. If extends beyond , neighbouring copies overlap. Then the sum in any band contains parts of several copies, and cannot be recovered from .
Band-limited case, . The copies do not overlap. In the base band only the term is present: So in this band the discrete-time spectrum is just the analog spectrum scaled by . can be recovered exactly with an ideal low-pass filter of gain and cut-off . This is the sampling theorem.
✓ Answer checked step by step We checked the explanation against the standard derivation of the spectrum of a sampled signal.
Select any three of the following statement and indicate with justification whether they are correct or incorrect. Your answer must not exceed 200 words for each statement. Digital processing is used widely because it provides economic and rapid manipulation of data.
Solution
Verdict: Correct, with one qualification.
Why it is economic.
- One programmable DSP chip or microcontroller can do filtering, control, coding and analysis that would need many separate analog circuits. Changing the function is a software change.
- VLSI has made digital hardware very cheap and small, and its cost keeps falling.
- Digital circuits need no tuning or periodic recalibration, because their behaviour does not drift with temperature, ageing or component tolerance.
- Data can be stored, copied and sent without loss, and the same result is reproduced every time.
Why it is rapid.
- Fast algorithms such as the FFT, and dedicated multiply-accumulate hardware, process large blocks of data in real time.
- Many channels can share one processor by time-multiplexing.
Other reasons for its wide use. Accuracy can be set simply by the word length. It can do things analog circuits cannot, such as linear-phase filters, adaptive filters and error-correcting codes.
Qualification. For very high frequencies (RF front ends) and very simple functions, analog circuits are still faster or cheaper. Digital processing also needs ADCs, DACs and anti-aliasing filters. So the statement is correct as a general reason, not an absolute one.
✓ Answer checked step by step We checked each argument against the standard advantages and limits of digital signal processing.
More on Signals and Systems
- All Electrical Engineering PYQ solutions, topic by topic
- Signals and Systems topic-wise PYQs (questions only, for practice)
- Electrical Engineering PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Electrical Engineering booklist
Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper I, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

