Quiz — Chapter 34

Twenty questions. Answers and explanations are hidden under each question.


Multiple choice

1. What were the results of the two Kasparov–Deep Blue matches?

a) Deep Blue won both, 4–2 and 3½–2½ b) Kasparov won 1996 4–2; Deep Blue won 1997 3½–2½ c) Kasparov won 1996 3½–2½; Deep Blue won 1997 4–2 d) Both matches were drawn 3–3

Answer

b. The twelve game results in our master-games data reproduce both scores: 1996 Kasparov 3 wins, 1 loss, 2 draws; 1997 Deep Blue 2 wins, 1 loss, 3 draws.

2. perft(4) from the start position is:

a) 8,902 b) 197,281 c) 4,865,609 d) 206,604

Answer

b. 8,902 is perft(3) and 4,865,609 perft(5); 206,604 is the number of nodes plain minimax visits to depth 4 (1 + perft(1) + … + perft(4)).

3. A move generator that forgets en passant gives the correct perft from the start position up to depth 4 because:

a) en passant is illegal in the first four plies b) no pawn can be on its fifth rank beside an enemy pawn that has just double-stepped that early c) perft does not count captures d) python-chess adds en passant automatically

Answer

b. The rule exists but cannot arise so early, so the bug is invisible. Kiwipete exposes it at depth 2 (2,038 instead of 2,039).

4. In the Kasparov–Topalov position at depth 3, plain minimax visited 81,018 nodes and alpha-beta with captures first 1,832. What did the two searches return?

a) Different values; alpha-beta is an approximation b) The same value; alpha-beta only skips branches that cannot change it c) The same move but different values d) Alpha-beta returned a deeper value

Answer

b. Alpha-beta returns exactly the minimax value; the 44-fold saving is pure efficiency.

5. Without quiescence, engine_lab's material-only scores for that position at depths 1–4 were +9, 0, +6, 0. The cause is:

a) a bug in the evaluation b) the horizon effect — odd depths stop right after a White capture c) the transposition table d) Stockfish interference

Answer

b. Each search stops in the middle of an exchange. With quiescence the score is a steady 0.00.

6. Stockfish 19's effective branching factor between depths 10 and 20 in our 12 OTB middlegames was about:

a) 40 b) 6 c) 3.9 d) 1.56

Answer

d. Far below the ~40 legal moves and below perfect alpha-beta's ~6, thanks to reductions and pruning; engine_lab's full search had about 3.9–4.2.

7. In 240 real positions, which correlated best with Stockfish 19's depth-12 evaluation?

a) material only (r = 0.796) b) engine_lab's static evaluation (r = 0.812) c) engine_lab's quiescence value (r = 0.869) d) engine_lab's depth-3 search (r = 0.901)

Answer

d. A little search beat added static knowledge; in level-material positions the gap was 0.325 (static) vs 0.751 (depth 3).

8. engine_lab (5,000 nodes per move) scored 7/12 against Stockfish 19 limited to one node per move. The Wilson 95% interval is:

a) 55–62% b) 45–70% c) 32–81% d) 50–100%

Answer

c. Twelve games cannot distinguish "weaker", "equal" and "stronger".

9. NNUE entered Stockfish with which version, and the hand-crafted evaluation was removed with which?

a) Stockfish 8 / Stockfish 12 b) Stockfish 12 (2020) / Stockfish 16 (2023) c) Stockfish 14 / Stockfish 19 d) Stockfish 16 / Stockfish 17

Answer

b. NNUE was invented for shogi by Yu Nasu (2018), entered Stockfish 12 in 2020; Stockfish 16 (2023) dropped the hand-crafted evaluation.

10. AlphaZero's network outputs:

a) a best move and a depth b) a policy and a value c) a material count and a mobility score d) a perft count

Answer

b. The policy guides which moves the tree search explores; the value scores positions.

11. In our TCEC data, top-event engine games were drawn 47.6% of the time and 2700+ human classical games 66.8%. The main reason engines draw less is:

a) engines are weaker than 2700 humans b) TCEC assigns unbalanced openings and pairs games with colours reversed c) engines play faster time controls d) the data is wrong

Answer

b. White wins 48.8% of top-event games and Black 3.6%; in 22% of top pairs White won both games.

12. In master games (both players 2600+, slow events, both castled kingside), the share with an h-pawn storm was 12.8% in 2010–2017 and 15.9% in 2019–2026. The correct conclusion is:

a) AlphaZero caused the rise b) the rise is real in this data but its cause cannot be separated from engines in general or fashion c) the rise is noise d) h-pawn storms always win

Answer

b. The intervals do not overlap, but the trend predates 2017 and many influences changed at once.


True or false (with a one-line justification)

13. "Deep Blue's 8.Nxe6 in 1997 game 6 was a speculative sacrifice that modern engines reject."

Answer

False. Stockfish 19 picks 8.Nxe6 as its best move at depths 16 and 24 (+0.98 at depth 24 after 7...h6).

14. "Quiescence search is cheap: it adds only a few nodes to a search."

Answer

False. In engine_lab, 93.5% of nodes at depth 5 were quiescence nodes.

15. "A one-node Stockfish never misses a mate in three."

Answer

False. In our match it missed the mate in three that engine_lab's 17...Bc4?? allowed, and lost the game.

16. "In 1997 game 2, Stockfish 19 at depth 24 confirms that 45...Qe3 was a forced draw for Black."

Answer

False. It confirms 45...Qe3 as by far the best move (+1.10 against +5.31 or worse) but rates White clearly better at depths 24–30 (about +1.1).

17. "Stockfish's 'depth 20' and engine_lab's 'depth 5' mean the same kind of search."

Answer

False. Stockfish's depth is nominal — heavily reduced and extended; engine_lab's is full width plus quiescence.


Short answer

18. Explain in two or three sentences why move ordering matters to alpha-beta, citing one number from the chapter.

Answer

Alpha-beta saves work only when the refuting move is tried early; with a good move first, a cut-off happens immediately and the remaining moves are skipped. In the 12 OTB middlegames, trying captures first cut the median nodes by 3.9× at depth 3 and 8.5× at depth 4 compared with unordered alpha-beta, for the same value.

19. Our toy MCTS found 16.Qb8+ in the Opera Game only with 6,400 simulations, while alpha-beta found it at depth 3. What does this show about the role of AlphaZero's policy network?

Answer

MCTS explores what its prior suggests; our crude prior favoured the queen trade, so the sacrifice was barely visited until thousands of simulations forced exploration. AlphaZero's learned policy is what makes its selective search work — it learns which surprising moves deserve visits, as a strong player's intuition does.


Position-based

20. White to move (Caruana–Nakamura, Candidates 2026, round 1). Name Stockfish 19's first choice and one strategic reason for it.

White to move

♟️ Position: White Kg2, Qg4, Rf1, Bd5, a4, c4, d3, f2, g3, h4; Black Kg8, Qf6, Re8, Bc5, a5, b6, d4, f7, g7, h7 — White to move. FEN: 4r1k1/5ppp/1p3q2/p1bB4/P1Pp2QP/3P2P1/5PK1/5R2 w - - 7 30

Answer

30.h5 (+1.12 at depth 20, +1.05 at depth 24; first in multi-PV 3 at depth 20 as well). It takes g6 from Black's pieces and prepares Rh1–h6, while Black — with no light-squared bishop or knights — cannot exploit the squares the pawn leaves behind.


Scoring guide

  • 18–20: You understand both how engines work and how to read their output. Try Exercise E1.
  • 14–17: Solid. Revisit whichever group you missed — search (Q2–6), evaluation and matches (Q7–8), history (Q1, 9–13).
  • 10–13: Reread Sections 34.3–34.5 and run 02_search_nodes.py and 05_horizon_mcts.py yourself.
  • Below 10: Start again from the hook and the perft section; the rest of the chapter builds on them.