Quant Modelling [HFT] All modules
2 Practice Exam

Practice Test 2

A full 65-question mock exam spanning market concepts, time-series analysis, alpha signals, backtesting and risk. Part C runs heavier on calculation, so keep the formula sheet close.

65 Questions 100 Marks 120 Minutes
How this works

Click an option to lock your answer and reveal the worked solution. The sticky score bar tracks your running score and how many questions you have answered. Use Reveal all to expose every solution, or Reset to start over.

Score: 0 / 100
0 / 65 answered

Part A — Single Choice Questions

30 questions · 1 mark each · 30 marks
Q11 mark

In one sentence, what fundamentally distinguishes quantitative trading from traditional discretionary trading?

Answer: B. Quant trading swaps emotion and gut feel for a systematic, data-driven, probabilistic process that is backtested before deployment. Speed (A) and asset class (D) are incidental, and no method guarantees per-trade profit (C).
Q21 mark

The five stages of the quant research workflow are best described as:

Answer: C. The canonical loop is Collect Data → Analyze Patterns → Build Signals → Backtest → Deploy & Monitor, with feedback arrows that make it iterative.
Q31 mark

"Alpha" in quant trading most precisely refers to:

Answer: A. Alpha is a predictive edge: a signal right more often than chance, generating excess return over the benchmark. It is probabilistic, never guaranteed.
Q41 mark

In an OHLCV bar, the letter V stands for:

Answer: D. OHLCV = Open, High, Low, Close, Volume. The V is the total quantity traded in that bar's interval.
Q51 mark

The bid-ask spread represents:

Answer: B. Spread = ask − bid. Crossing it to trade immediately is an implicit cost; tighter spreads mean cheaper, more liquid markets.
Q61 mark

Why do quants usually analyze returns instead of raw prices?

Answer: C. Returns are scale-free percentage changes, so a \$10 stock and a \$1000 stock can be compared on equal footing. Raw prices cannot.
Q71 mark

Volatility, as used in this course, is measured as:

Answer: A. Volatility is the standard deviation of returns; higher volatility means greater dispersion and uncertainty around the mean.
Q81 mark

A simple moving average is primarily used to:

Answer: D. An SMA averages recent prices over a window, smoothing short-term noise so the trend is easier to read. It is the basis of crossover signals.
Q91 mark

The classic momentum trading rule is:

Answer: B. Momentum: BUY when short MA > long MA (uptrend confirmed), SELL when short MA < long MA. It rides established trends.
Q101 mark

Mean reversion strategies are built on the assumption that:

Answer: C. Mean reversion bets that overreactions snap back toward the mean (e.g. an oversold bounce). It is the conceptual opposite of momentum.
Q111 mark

Which bias is generally considered the most dangerous in backtesting?

Answer: A. Look-ahead bias uses future information the strategy could not have known, inflating results dramatically. The standard fix is signal.shift(1) * returns.
Q121 mark

Survivorship bias occurs when a study:

Answer: B. Survivorship bias studies only the winners that remain (e.g. current index members), painting an overly rosy picture by excluding the delisted failures.
Q131 mark

Net return is correctly computed as:

Answer: D. Net return = gross return − costs − slippage. Fees and execution friction always reduce the headline backtest return.
Q141 mark

A z-score of an observation measures:

Answer: C. $z = (x-\mu)/\sigma$ expresses distance from the mean in standard-deviation units. Around ±2 is considered extreme.
Q151 mark

In a typical mean-reversion z-score strategy, you would BUY when:

Answer: A. Logic: $z < -2$ → buy (oversold), $z > +2$ → sell (overbought), exit near $z = 0$.
Q161 mark

The Sharpe ratio measures:

Answer: B. $S = (R_p - R_f)/\sigma_p$ is risk-adjusted return: how much excess return you earn for each unit of volatility taken on.
Q171 mark

Maximum drawdown describes:

Answer: C. Max drawdown is the worst peak-to-trough drop, $(\text{Trough}-\text{Peak})/\text{Peak}$, capturing the deepest loss an investor would have endured.
Q181 mark

Diversification reduces risk the most when the combined assets are:

Answer: D. Diversification benefit depends on correlation. At corr = 1 there is no benefit; lower or negative correlation smooths the combined equity curve.
Q191 mark

A market (versus limit) order prioritizes:

Answer: A. A market order takes liquidity for immediate execution (crossing the spread). A limit order prioritizes price and rests in the book.
Q201 mark

Statistical arbitrage differs from pure arbitrage because it is:

Answer: C. Pure arbitrage is risk-free in theory; statistical arbitrage exploits statistical relationships that hold on average, so it carries risk and works probabilistically.
Q211 mark

In pairs trading, the trader is fundamentally betting on:

Answer: B. Pairs trading trades the relationship, not the price: long one leg and short the other so the spread $A - \beta B$ mean-reverts. It is broadly market-neutral.
Q221 mark

Overfitting in a trading model is best described as:

Answer: D. Overfitting fits noise instead of signal: high in-sample performance collapses on unseen data. Warning signs include too many parameters and an unrealistically smooth equity curve.
Q231 mark

Which is a hallmark of a good feature for an ML trading model?

Answer: A. Good features are relevant, stable, and intuitive. Bad features are random, unstable, or leak future information.
Q241 mark

Walk-forward validation is preferred over a single train/test split because it:

Answer: C. Walk-forward repeatedly trains on a window then tests on the next, rolling forward. It is more realistic than one static split and exposes regime sensitivity.
Q251 mark

Tick data differs from OHLC data in that tick data:

Answer: B. Tick data is event-level (every trade/quote/book update) for microstructure work; OHLC is a periodic summary used for charting. Tick volume is enormous.
Q261 mark

kdb+/q is favoured for tick storage primarily because it is:

Answer: D. kdb+/q stores data column-by-column, reading only needed columns, which makes time-series aggregations extremely fast on huge tick datasets.
Q271 mark

Hit rate (win rate) of a strategy is defined as:

Answer: A. Hit rate = (# winning trades) / (# total trades). Note that a high hit rate alone does not guarantee profit — average win vs loss matters too.
Q281 mark

"Signal decay" refers to the phenomenon where:

Answer: C. Alpha decays as other participants discover and trade the same edge, and as market regimes shift. Continuous research is needed to replace decaying signals.
Q291 mark

The Information Coefficient (IC) of a signal measures:

Answer: D. IC is the correlation between a signal's predictions and the returns that actually occur — a core measure of predictive quality.
Q301 mark

Why is "a good backtest" not the same as "a good strategy"?

Answer: B. Look-ahead bias, survivorship, overfitting, ignored costs and regime shifts can all make a backtest look great while the strategy fails forward. The goal is strategies that continue to work.

Part B — Multiple Choice Questions

15 questions · 2 marks each · 30 marks
Q312 marks

A researcher finds a feature that scores beautifully in-sample but its predictive power vanishes the moment new data arrives. The single most likely diagnosis is:

Answer: C. Strong in-sample, weak out-of-sample is the textbook signature of overfitting. Adding parameters (B) would worsen it; the fix is simplification and out-of-sample/walk-forward testing.
Q322 marks

You compute today's signal using today's closing price and then trade on today's close in your backtest. What problem have you introduced?

Answer: A. Acting on the same bar that generated the signal assumes you knew the close before it printed. Shift the signal by one bar (signal.shift(1)) so you trade on the next bar.
Q332 marks

Two strategies each return 12% annually. Strategy X has volatility 8%; Strategy Y has volatility 20%. With a risk-free rate of 0%, which statement is correct?

Answer: D. Sharpe $= R/\sigma$. X: $0.12/0.08 = 1.5$; Y: $0.12/0.20 = 0.6$. Same return, far less risk for X, so X is clearly superior on a risk-adjusted basis.
Q342 marks

A signal has a 75% hit rate but loses money overall. The most plausible explanation is:

Answer: B. Profit depends on expectation $p\cdot W-(1-p)\cdot L$, not hit rate alone. If average loss $L$ dwarfs average win $W$, a high win rate can still lose money.
Q352 marks

To convert raw price and volume data into predictive inputs for a model, a quant would engineer features such as:

Answer: C. Feature engineering transforms raw price/volume into stable, predictive quantities like returns, rolling vol and volume ratios. Using tomorrow's close (B) is look-ahead leakage.
Q362 marks

A backtest of a "buy current S&P 500 members over the last 20 years" strategy looks spectacular. The hidden flaw is:

Answer: A. Using today's index constituents over history quietly drops every failed company, biasing returns upward. You must use point-in-time membership.
Q372 marks

A pair of stocks has been 0.95 correlated for years, yet a long-short spread trade on them keeps losing as the spread drifts ever wider. The most likely issue is:

Answer: D. Correlation ≠ cointegration. Two series can move together yet have a spread that wanders (no stable mean), so the mean-reversion premise fails. Pairs trading needs cointegration.
Q382 marks

A strategy earns 9% gross. Round-trip transaction costs total 2% and slippage costs another 1.5% over the period. The net return is:

Answer: B. Net = gross − costs − slippage $= 9\% - 2\% - 1.5\% = 5.5\%$. Friction turned a strong gross figure into a modest net return.
Q392 marks

Which experimental setup best guards against fooling yourself when evaluating a new signal?

Answer: C. Out-of-sample and walk-forward validation test the signal on data the model never saw, the strongest defence against overfitting. A suspiciously smooth curve (D) is a warning sign, not proof.
Q402 marks

An equities desk sees the 10-day MA cross above the 50-day MA on heavy volume. Which signal family does this combination belong to?

Answer: A. A short MA crossing above a long MA is a momentum (trend-following) buy; the volume surge adds conviction. Mean reversion would fade the move instead.
Q412 marks

A signal's edge has steadily shrunk from a Sharpe of 2.0 three years ago to 0.4 today, with no code changes. The best interpretation is:

Answer: D. A persistent decline in live edge with no code change is classic signal decay: competitors crowd the trade and regimes shift. The fix is ongoing research, not re-running the old backtest.
Q422 marks

A model uses a 20-day rolling average of returns as a feature, but the window is computed including the current and future days by mistake. This is an example of:

Answer: B. A rolling window that peeks at future days leaks information the model could not have had, inflating accuracy. Rolling features must use only past (and current-up-to-decision) data.
Q432 marks

You combine a momentum strategy, a mean-reversion strategy and a pairs strategy into one book. The main benefit you expect is:

Answer: C. Different alpha families tend to perform in different regimes, so combining low-correlation ideas diversifies the source of return and steadies the overall equity curve. It does not eliminate losses.
Q442 marks

A volume spike is best detected by computing which feature and comparing it to a threshold?

Answer: A. A spike is current volume relative to its recent average; a ratio well above 1 (e.g. ≥ 2) flags abnormal activity that often accompanies news or breakouts.
Q452 marks

Which scenario most clearly indicates a strategy has been over-optimized rather than genuinely robust?

Answer: D. Many hand-tuned rules plus an unrealistically smooth in-sample curve are red flags for curve-fitting. Robust strategies are parameter-insensitive and survive out-of-sample and regime changes.

Part C — Numerical & Analytical

20 questions · 2 marks each · 40 marks
Q462 marks

A stock moves from \$80 to \$92 in one day. What is the simple return?

Answer: B. $r = (92-80)/80 = 12/80 = 0.15 = 15.0\%$. Option A (12%) wrongly divides by 100; option D divides by the new price.
Q472 marks

A price goes from \$50 to \$60. What is the log return $\ln(P_t/P_{t-1})$? (use $\ln 1.2 \approx 0.1823$)

Answer: C. $\ln(60/50)=\ln(1.2)\approx 0.1823 = 18.23\%$. The simple return here is 20% (A); the log return is always slightly smaller for positive moves.
Q482 marks

Daily returns over two days are $+10\%$ then $-10\%$. What is the cumulative (compounded) return $\prod(1+r)-1$?

Answer: A. $(1.10)(0.90)-1 = 0.99-1 = -0.01 = -1.0\%$. Gains and losses of equal percentage do not cancel — compounding leaves a small loss.
Q492 marks

Closing prices for 5 days are 20, 22, 24, 26, 28. What is the 5-day simple moving average?

Answer: D. $\text{SMA}=(20+22+24+26+28)/5 = 120/5 = 24$. For an evenly spaced series the SMA equals the middle value.
Q502 marks

Prices are 10, 12, 11, 13, 15, 14. Using a 3-day SMA, what is the most recent SMA value (last three prices)?

Answer: B. Last three prices are 13, 15, 14: $\text{SMA}=(13+15+14)/3 = 42/3 = 14.0$.
Q512 marks

A strategy made 40 trades; 26 were winners. What is the hit rate?

Answer: C. Hit rate $= 26/40 = 0.65 = 65\%$. Option B is the loss-count fraction (14/40 = 35% losers, not this).
Q522 marks

Five trades returned $+2\%, -1\%, +3\%, -2\%, +3\%$. What is the average return per trade?

Answer: A. Sum $= 2-1+3-2+3 = 5\%$; average $= 5\%/5 = 1.0\%$ per trade.
Q532 marks

Today the 10-day MA is 105 and the 30-day MA is 110. Yesterday the 10-day MA was 108 and the 30-day MA was 109. Under a momentum MA-crossover rule (BUY when short > long, SELL when short < long), what signal fires today?

Answer: D. Yesterday short (108) < long (109) and today short (105) < long (110): the short MA is below the long MA, so the momentum rule is in a SELL state. The gap actually widened to the downside.
Q542 marks

A spread has mean $\mu = 50$ and standard deviation $\sigma = 4$. The current value is 60. What is the z-score, and under the rule $z>2 \Rightarrow$ SELL, $z<-2 \Rightarrow$ BUY, what action?

Answer: B. $z = (60-50)/4 = 10/4 = 2.5$. Since $z > 2$ the spread is unusually high → SELL (expect reversion down toward the mean).
Q552 marks

Today's volume is 4,500,000 shares. The trailing 20-day average volume is 1,800,000 shares. What is the volume ratio, and does it exceed a spike threshold of 2.0?

Answer: C. Volume ratio $= 4{,}500{,}000 / 1{,}800{,}000 = 2.5$. Since $2.5 > 2.0$, a volume spike is detected. Option D inverts the ratio.
Q562 marks

A portfolio returns 14% with volatility 16%. The risk-free rate is 2%. What is the Sharpe ratio?

Answer: A. $S = (R_p - R_f)/\sigma_p = (0.14-0.02)/0.16 = 0.12/0.16 = 0.75$. Option B forgets to subtract $R_f$ ($0.14/0.16=0.875$).
Q572 marks

An equity curve peaks at \$150,000 and later falls to a trough of \$120,000 before recovering. What is the maximum drawdown?

Answer: D. Drawdown $= (\text{Trough}-\text{Peak})/\text{Peak} = (120{,}000-150{,}000)/150{,}000 = -30{,}000/150{,}000 = -0.20 = -20.0\%$. Option A divides by the trough instead of the peak.
Q582 marks

Three trades execute at prices/sizes: 100 @ 200 shares, 102 @ 300 shares, 105 @ 500 shares. What is the VWAP?

Answer: B. $\text{VWAP}=\dfrac{\sum P_iV_i}{\sum V_i}=\dfrac{100\cdot200+102\cdot300+105\cdot500}{200+300+500}=\dfrac{20000+30600+52500}{1000}=\dfrac{103100}{1000}=103.10$. Option A is the simple average of prices.
Q592 marks

Daily returns are $+1\%, +3\%, -1\%, +1\%$ (mean $= +1\%$). Using the sample standard deviation $\sigma=\sqrt{\frac{1}{n-1}\sum (r_i-\bar r)^2}$, what is the rolling volatility?

Answer: C. Deviations from the 1% mean: $0, +2, -2, 0$. Squared: $0,4,4,0$, sum $=8$. Sample variance $=8/(4-1)=8/3=2.667$, so $\sigma=\sqrt{2.667}\approx 1.63\%$. Option A wrongly divides by $n$ ($\sqrt{2}=1.41$).
Q602 marks

A strategy's gross return is 18%. Fees are 3%, slippage is 2%, and borrowing costs are 1%. What is the net return?

Answer: A. Net $= 18\% - 3\% - 2\% - 1\% = 12\%$. All three friction components subtract from the gross figure.
Q612 marks

Over three days an asset returns $+10\%$, then $+20\%$, then $-25\%$. What is the cumulative return $\prod(1+r)-1$?

Answer: D. $(1.10)(1.20)(0.75)-1 = 1.32\times0.75 - 1 = 0.99 - 1 = -0.01 = -1.0\%$. Summing the returns (+5%) is the common mistake.
Q622 marks

A signal generated 8 winning trades averaging $+\$150$ each and 12 losing trades averaging $-\$80$ each. What is the average return (P&L) per trade across all 20 trades?

Answer: B. Total P&L $= 8\times150 - 12\times80 = 1200 - 960 = \$240$. Average per trade $= 240/20 = \$12.00$. Positive despite only a 40% hit rate, because winners are larger.
Q632 marks

An asset's expected per-trade profit is $\E = p\cdot W - (1-p)\cdot L$ with win probability $p=0.40$, average win $W=\$500$, average loss $L=\$150$. What is the expected value per trade?

Answer: C. $\E = 0.40\times500 - 0.60\times150 = 200 - 90 = +\$110$ per trade. A sub-50% win rate is still profitable when the average win is large enough.
Q642 marks

Prices over four days are 100, 110, 99, 108. Using a z-score on the daily simple returns with mean $\bar r = +3\%$ and $\sigma = 9\%$, the most recent day's return is $(108-99)/99 \approx +9.09\%$. What is the z-score of that latest return?

Answer: A. $z = (r-\bar r)/\sigma = (9.09\% - 3\%)/9\% = 6.09/9 \approx 0.68$. Below the typical ±2 threshold, so this return is not statistically extreme.
Q652 marks

A strategy with starting capital \$100,000 ends the year at \$118,000 after total costs. It took on annual volatility of 12% and the risk-free rate is 4%. What is its Sharpe ratio (using the net annual return)?

Answer: D. Net annual return $= (118{,}000-100{,}000)/100{,}000 = 18\%$. Sharpe $= (0.18 - 0.04)/0.12 = 0.14/0.12 \approx 1.17$. Option B forgets to subtract the risk-free rate ($0.18/0.12 = 1.5$, which is option A's value); option D is correct.
0%