---
title: Final exam
heading: "Final exam: signals and systems"
eyebrow: C9 · Final exam
type: problems
---

::: hook
Twelve problems from the whole course: signals and system properties, convolution, impulse responses and difference equations, frequency response and the DTFT, digital filters, sampling and rate changes, the DFT and FFT, Laplace and z-transforms, feedback, state space and modulation. Give yourself three hours, work without the lessons open, and write out your reasoning before checking each answer. "Another set" deals a different exam.
:::

::: pool
pick: 12

::: check
kind: parts
given: m = 3 | 5 | 9; d = 8 | 16; a = 0.7 | -0.6

## Consider $x[n] = \cos(\given{m}\pi n/\given{d})$ and $v[n] = (\given{a})^n u[n]$.

::: part
answer: 2*d
tolerance: 0

### What is the period of x?

::: misses
- [any] Reduce $\omega_0/2\pi = m/(2d)$.
:::
:::

::: part
answer: 1/(1 - a^2)
tolerance: 0.5%

### What is the energy of v?

::: misses
- [any] $1/(1 - a^2)$.
:::
:::
:::

::: check
kind: parts
given: a = 4 | -2; b = 2 | 6; t0 = 1 | 3; k = 7 | 10; n0 = 2 | 4

## Time operations.

::: part
answer: (t0 - b)/a
unit: s
tolerance: 0.5%

### A spike at t = {t0} in x(t) appears where in $x(\given{a}t + \given{b})$?

::: misses
- [any] Solve at + b = {t0}.
:::
:::

::: part
answer: k - n0
tolerance: 0

### A peak at n = {n0} in x[n] appears where in $x[\given{k} - n]$?

::: misses
- [any] Solve k − n = {n0}.
:::
:::
:::

::: check
kind: parts
given: a = 2 | -1; b = 1 | 3; c = 3 | -2; p = 1 | 2; q = -1 | 4

## x = [{a}, {b}, {c}] and h = [{p}, {q}].

::: part
answer: b*q + c*p
tolerance: 0

### What is (x * h)[2]?

::: misses
- [any] x[1]h[1] + x[2]h[0].
:::
:::

::: part
answer: a*p + c*q
tolerance: 0

### Circularly with N = 3, what is $y_c[0]$?

::: misses
- [a*p] The last linear sample, x[2]h[1], wraps onto n = 0.
- [any] Not yet. Linear y[0] plus the wrapped y[3].
:::
:::
:::

::: check
kind: parts
given: tau = 0.5 | 2; T = 1 | 2; d = 1 | 3

## A unit pulse of width {T} s drives $h(t) = \frac{1}{\given{tau}}e^{-t/\given{tau}}u(t)$.

::: part
answer: 1 - exp(-T/tau)
tolerance: 0.5%

### What is the output when the pulse ends?

::: misses
- [any] The step response at T.
:::
:::

::: part
answer: (1 - exp(-T/tau))*exp(-d/tau)
tolerance: 0.5%

### What is it {d} s later?

::: misses
- [any] Decay from the end value.
:::
:::
:::

::: check
kind: parts
given: a = 0.5 | 0.9 | -0.7; b = 1.5 | 0.4

## $y[n] = \given{a}\,y[n-1] + \given{b}\,x[n]$.

::: part
answer: b/(1 - a)
tolerance: 0.5%

### What is its DC gain?

::: misses
- [any] $b/(1 - a)$.
:::
:::

::: part
answer: b/(1 + a)
tolerance: 0.5%

### What is its gain at ω = π?

::: misses
- [any] $b/(1 + a)$.
:::
:::
:::

::: check
kind: parts
given: f = 300 | 2000; fc = 1000 | 5000; N = 21 | 41

## An RC low-pass with its corner at {fc} Hz, and a symmetric {N}-tap FIR filter.

::: part
answer: -atan(f/fc)*180/pi
unit: °
tolerance: 0.5%

### What phase does the RC filter give {f} Hz?

::: misses
- [any] $-\arctan(f/f_c)$.
:::
:::

::: part
answer: (N - 1)/2
tolerance: 0

### What delay, in samples, does the FIR filter give every frequency?

::: misses
- [any] (N − 1)/2.
:::
:::
:::

::: check
kind: parts
given: N = 6 | 10 | 20; fs = 1000 | 3000

## A block of {N} ones is analyzed; an {N}-point moving average runs at {fs} Hz.

::: part
answer: 2*pi/N
unit: rad
tolerance: 0.5%

### Where is the first null of the block's DTFT?

::: misses
- [any] 2π/N.
:::
:::

::: part
answer: fs/N
unit: Hz
tolerance: 0.5%

### Where, in hertz, is the moving average's first null?

::: misses
- [any] $f_s/N$.
:::
:::
:::

::: check
kind: parts
given: f = 2600 | 5300 | 6900; fs = 4000 | 6000; B = 15 | 20; f2 = 44.1 | 96

## Sampling.

::: part
answer: abs(f - fs*round(f/fs))
unit: Hz
tolerance: 0.5%

### Where does {f} Hz appear when sampled at {fs} Hz?

::: misses
- [any] Fold into 0 to $f_s/2$.
:::
:::

::: part
answer: 20*log(abs(sin(pi*B/f2)/(pi*B/f2)))/log(10)
unit: dB
tolerance: 0.5%

### How much does a {f2} kHz zero-order hold droop at {B} kHz?

::: misses
- [any] $20\log_{10}\lvert\mathrm{sinc}(B/f_s)\rvert$.
:::
:::
:::

::: check
kind: parts
given: fs = 48 | 96; M = 3 | 4; L = 2 | 5; osr = 16 | 256

## Rates.

::: part
answer: pi/M
unit: rad
tolerance: 0.5%

### Decimating by {M}: what cutoff must come first, at the old rate?

::: misses
- [any] π/M.
:::
:::

::: part
answer: 10*log(osr)/log(10)
unit: dB
tolerance: 0.5%

### How much in-band noise does oversampling by {osr} remove?

::: misses
- [any] $10\log_{10}$ OSR.
:::
:::
:::

::: check
kind: parts
given: fs = 16000 | 44100; N = 512 | 2048; m = 11 | 14

## An {N}-point DFT at {fs} Hz, and a $2^{\given{m}}$-point FFT.

::: part
answer: fs/N
unit: Hz
tolerance: 0.5%

### What is the DFT's bin spacing?

::: misses
- [any] $f_s/N$.
:::
:::

::: part
answer: 2^(m + 1)/m
tolerance: 0.5%

### How many times fewer multiplications does the FFT need than a direct DFT of its size?

::: misses
- [any] $2N/\log_2N$.
:::
:::
:::

::: check
kind: parts
given: p1 = -1 | -5; p2 = -3 | 2; K = 4 | 12

## A system has poles at {p1} and {p2}; separately, $H(s) = \given{K}/(s + 4)$ is causal.

::: part
answer: (p1 + p2 + abs(p1 - p2))/2
tolerance: 0.5%

### If the first system is causal, where does its ROC begin?

::: misses
- [any] At the rightmost pole.
:::
:::

::: part
answer: K/4
tolerance: 0.5%

### What does the second system's step response settle to?

::: misses
- [any] H(0).
:::
:::
:::

::: check
kind: parts
given: K = 9 | 50; a = 2 | 8; G = 500 | 1e4; H = 0.02 | 0.1

## Feedback.

::: part
answer: a/(2*sqrt(K))
tolerance: 0.5%

### What is the damping of $\given{K}/(s(s + \given{a}))$ in unity feedback?

::: misses
- [any] $a/(2\sqrt K)$.
:::
:::

::: part
answer: G/(1 + G*H)
tolerance: 0.5%

### What is the closed-loop gain for G = {G}, H = {H}?

::: misses
- [any] $G/(1 + GH)$.
:::
:::
:::

::: check
kind: parts
given: p1 = 0.8 | 0.6; p2 = 0.4 | -0.5; r = 0.9 | 0.99

## $H(z) = 1/((1 - \given{p1}z^{-1})(1 - (\given{p2})z^{-1}))$; separately, a causal filter's slowest pole has radius {r}.

::: part
answer: p1/(p1 - p2)
tolerance: 0.5%

### What is $A_1$?

::: misses
- [any] $p_1/(p_1 - p_2)$.
:::
:::

::: part
answer: log(0.5)/log(r)
tolerance: 0.5%

### In how many samples does the slow filter's mode halve?

::: misses
- [any] $\ln 0.5/\ln r$.
:::
:::
:::

::: check
kind: parts
given: w0 = 0.4 | 1.2; r = 0.95 | 0.98; a = 0.3 | 0.7

## A notch at ω₀ = {w0} with poles at radius {r}; an all-pass $(z^{-1} - \given{a})/(1 - \given{a}z^{-1})$.

::: part
answer: (2 - 2*cos(w0))/(1 - 2*r*cos(w0) + r^2)
tolerance: 0.5%

### What is the notch's DC gain?

::: misses
- [any] H(1).
:::
:::

::: part
answer: 1/a
tolerance: 0.5%

### Where is the all-pass filter's zero?

::: misses
- [any] 1/a.
:::
:::
:::

::: check
kind: parts
given: mu = 0.6 | 1; phi = 20 | 50; fm = 3 | 8

## An AM signal carries a {fm} kHz tone with μ = {mu}; a synchronous demodulator recovers DSB-SC with its carrier {phi}° off.

::: part
answer: 100*mu^2/(2 + mu^2)
unit: %
tolerance: 0.5%

### What share of the AM signal's power is in its sidebands?

::: misses
- [any] $\mu^2/(2 + \mu^2)$.
:::
:::

::: part
answer: cos(phi*pi/180)
tolerance: 0.5%

### What fraction of the perfectly locked output does the demodulator give?

::: misses
- [any] cos φ.
:::
:::
:::
:::

::: check
kind: parts
given: en = 2 | 8; fc = 1 | 10; G = 10 | 100

## An amplifier with {en} nV/√Hz of input noise and gain {G} is followed by an RC low-pass at {fc} kHz.

::: part
answer: pi/2*fc
unit: kHz
tolerance: 0.5%

### What is the noise bandwidth?

::: misses
- [any] $\frac{\pi}{2}f_c$.
:::
:::

::: part
answer: G*en*sqrt(pi/2*fc*1000)/1000
unit: µV
tolerance: 0.5%

### What rms noise comes out?

::: misses
- [any] Gain × density × √bandwidth.
:::
:::
:::
:::
