In depth · Appendix · A4
Final quiz
Understand, calculate, apply: 30 questions with four answers each, at least one from every chapter, each with an explanation and a link to read more.
How the quiz works: each question has four answers, and exactly one is correct. As soon as you click an answer, the explanation appears below it with a link to the chapter, and at the end of the quiz you see how many you got right. You can change your choice at any time. Your progress is only saved in this browser (in local storage, localStorage); nobody else sees it, and on another device you start over. The button at the bottom resets all answers. Without JavaScript, each question keeps a “Show answer” you can expand.
A calculator is enough for the math questions. The formulas you need are in the cheat sheet, the terms in the glossary.
The 30 questions
The answer is B. Weights: 4 × 3 + 3 × 2 = 18. Only the neurons that compute have biases: 3 + 2 = 5. Together 23; the input layer has no biases (chapter 1).
Show answer
The answer is B. Weights: 4 × 3 + 3 × 2 = 18. Only the neurons that compute have biases: 3 + 2 = 5. Together 23; the input layer has no biases (chapter 1).
The answer is D. During inference the parameters are frozen. For everyone to be able to use the price list, it has to be sent along or looked up every time (chapter 1, chapter 11).
Show answer
The answer is D. During inference the parameters are frozen. For everyone to be able to use the price list, it has to be sent along or looked up every time (chapter 1, chapter 11).
The answer is A. €35 million or 7 percent applies only to prohibited practices under Article 5, €20 million or 4 percent is a tier of the GDPR, and €7.5 million or 1 percent applies to false information given to authorities (chapter 2).
Show answer
The answer is A. €35 million or 7 percent applies only to prohibited practices under Article 5, €20 million or 4 percent is a tier of the GDPR, and €7.5 million or 1 percent applies to false information given to authorities (chapter 2).
The answer is C. The task drops out at the very first question of the decision guide: counting check marks follows a fixed rule. Video 1 (in German) solves exactly this case “interestingly, not with AI” (chapter 2).
Show answer
The answer is C. The task drops out at the very first question of the decision guide: counting check marks follows a fixed rule. Video 1 (in German) solves exactly this case “interestingly, not with AI” (chapter 2).
The answer is C. e² = 7.389, e¹ = 2.718, e⁰ = 1, sum 11.107. 7.389 ÷ 11.107 = 66.5 percent. 86.7 percent would be the value at temperature 0.5 (chapter 3).
Show answer
The answer is C. e² = 7.389, e¹ = 2.718, e⁰ = 1, sum 11.107. 7.389 ÷ 11.107 = 66.5 percent. 86.7 percent would be the value at temperature 0.5 (chapter 3).
The answer is A. Starting with this API version, any sampling parameter sent along leads to a 400 error, even with the default value. According to Anthropic, temperature 0 never guaranteed identical outputs in the past either (chapter 3).
Show answer
The answer is A. Starting with this API version, any sampling parameter sent along leads to a 400 error, even with the default value. According to Anthropic, temperature 0 never guaranteed identical outputs in the past either (chapter 3).
The answer is D. The feed-forward layers hold 66.4 percent, the attention only 18.4 percent, and the embedding and output matrix share the rest (chapter 4).
Show answer
The answer is D. The feed-forward layers hold 66.4 percent, the attention only 18.4 percent, and the embedding and output matrix share the rest (chapter 4).
The answer is B. Input in round n = 3,000 + n × 200 + (n − 1) × 400, so 3,000 + 2,000 + 3,600 = 8,600. Because the whole history goes along every time, the costs grow roughly with the square of the number of rounds (chapter 5).
Show answer
The answer is B. Input in round n = 3,000 + n × 200 + (n − 1) × 400, so 3,000 + 2,000 + 3,600 = 8,600. Because the whole history goes along every time, the costs grow roughly with the square of the number of rounds (chapter 5).
The answer is A. Fixed parts belong at the front, changing parts like the date and time at the end or in the user message. The minimum length is 512 tokens, and the cache lasts five minutes (chapter 5, chapter 7).
The answer is B. Upper limit = bandwidth ÷ bytes per token = 273 ÷ 9.3 ≈ 29. Based on the Spark measurements, expect about 70 percent of that in practice; about 13 would be the limit on an M4 with 120 GB/s (chapter 6).
Show answer
The answer is B. Upper limit = bandwidth ÷ bytes per token = 273 ÷ 9.3 ≈ 29. Based on the Spark measurements, expect about 70 percent of that in practice; about 13 would be the limit on an M4 with 120 GB/s (chapter 6).
The answer is D. During prefill, many tokens run through per loaded weight, and the compute units are fully busy. During decode, every weight is read for every single token, so a smaller file brings an almost proportional gain in speed (chapter 6).
Show answer
The answer is D. During prefill, many tokens run through per loaded weight, and the compute units are fully busy. During decode, every weight is read for every single token, so a smaller file brings an almost proportional gain in speed (chapter 6).
The answer is C. 2 × 32 × 8 × 128 × 2 bytes = 131,072 bytes (128 KiB) per token, times 32,768 tokens = 4 GiB. It would be 16 GiB at the full 131,072 tokens (chapter 7).
Show answer
The answer is C. 2 × 32 × 8 × 128 × 2 bytes = 131,072 bytes (128 KiB) per token, times 32,768 tokens = 4 GiB. It would be 16 GiB at the full 131,072 tokens (chapter 7).
The answer is B. The first request writes the cache: 100,000 × $4 × 1.25 ÷ 1,000,000 = $0.50. Nine hits read at a twentieth: 9 × 100,000 × $4 × 0.05 ÷ 1,000,000 = $0.18. Together $0.68 instead of $4.00 without caching (chapter 7).
Show answer
The answer is B. The first request writes the cache: 100,000 × $4 × 1.25 ÷ 1,000,000 = $0.50. Nine hits read at a twentieth: 9 × 100,000 × $4 × 0.05 ÷ 1,000,000 = $0.18. Together $0.68 instead of $4.00 without caching (chapter 7).
The answer is A. All experts have to be ready, but only the active ones are read per token: gpt-oss-120b takes up about 65 GB and reads about 5 GB per token. Experts aren’t subject areas (chapter 8).
Show answer
The answer is A. All experts have to be ready, but only the active ones are read per token: gpt-oss-120b takes up about 65 GB and reads about 5 GB per token. Experts aren’t subject areas (chapter 8).
The answer is D. Loading experts from the SSD on demand is far too slow. The middle ground --cpu-moe only helps on PCs with a separate graphics card; a Mac has only one memory (chapter 8).
Show answer
The answer is D. Loading experts from the SSD on demand is far too slow. The middle ground --cpu-moe only helps on PCs with a separate graphics card; a Mac has only one memory (chapter 8).
The answer is C. 14 × 4.89 ÷ 8 ≈ 8.6 GB. With a flat 4 bits you’d get 7.0 GB and underestimate; 10.0 GB would be Q5_K_M. The KV cache and overhead come on top (chapter 9).
Show answer
The answer is C. 14 × 4.89 ÷ 8 ≈ 8.6 GB. With a flat 4 bits you’d get 7.0 GB and underestimate; 10.0 GB would be Q5_K_M. The KV cache and overhead come on top (chapter 9).
The answer is A. BF16 has 1 sign bit, 8 exponent bits and 7 mantissa bits; FP16 has 5 exponent and 10 mantissa bits. For training, the value range matters more than the third decimal place (chapter 9).
Show answer
The answer is A. BF16 has 1 sign bit, 8 exponent bits and 7 mantissa bits; FP16 has 5 exponent and 10 mantissa bits. For training, the value range matters more than the third decimal place (chapter 9).
The answer is C. OLLAMA_NUM_CTX doesn’t exist and is silently ignored, even though video 1 names it. num_ctx is only the name of the parameter in a request, in the Modelfile or with /set parameter (chapter 10).
Show answer
The answer is C. OLLAMA_NUM_CTX doesn’t exist and is silently ignored, even though video 1 names it. num_ctx is only the name of the parameter in a request, in the Modelfile or with /set parameter (chapter 10).
The answer is B. On 8 GB, realistically about 5 GB is left after the system and browser. An 8B model alone is already that big, and Ollama would put layers on the CPU. An MoE needs memory for all experts (chapter 10).
Show answer
The answer is B. On 8 GB, realistically about 5 GB is left after the system and browser. An 8B model alone is already that big, and Ollama would put layers on the CPU. An MoE needs memory for all experts (chapter 10).
The answer is D. Dot product 1 · 1 + 0 · 1 + 1 · 0 = 1. Both lengths are √2. 1 ÷ (√2 · √2) = 0.5. If you divide by only one of the two lengths, you get 0.707 (chapter 11).
Show answer
The answer is D. Dot product 1 · 1 + 0 · 1 + 1 · 0 = 1. Both lengths are √2. 1 ÷ (√2 · √2) = 0.5. If you divide by only one of the two lengths, you get 0.707 (chapter 11).
The answer is B. To an embedding model, “E-4711” and “E-4712” look almost the same. BM25 gives a term that appears in only one chunk a very high weight (chapter 11).
Show answer
The answer is B. To an embedding model, “E-4711” and “E-4712” look almost the same. BM25 gives a term that appears in only one chunk a very high weight (chapter 11).
The answer is A. Without a shared standard it would be 5 × 20 = 100 connections. With MCP, each service gets a server once and each application gets a client once: 5 + 20 = 25 (chapter 12).
Show answer
The answer is A. Without a shared standard it would be 5 × 20 = 100 connections. With MCP, each service gets a server once and each application gets a client once: 5 + 20 = 25 (chapter 12).
The answer is D. A plain silence threshold takes the pause after “is” for the end of the sentence. A longer threshold would cost time at every sentence end; a turn model also evaluates the words and how they sound (chapter 13).
Show answer
The answer is D. A plain silence threshold takes the pause after “is” for the end of the sentence. A longer threshold would cost time at every sentence end; a turn model also evaluates the words and how they sound (chapter 13).
The answer is C. The weights don’t change in operation, and the KV cache only applies to one request. tybo stores facts, goals and history in Supabase, or without a database only facts and goals in a SQLite file, and pulls what’s relevant into the prompt (chapter 14).
Show answer
The answer is C. The weights don’t change in operation, and the KV cache only applies to one request. tybo stores facts, goals and history in Supabase, or without a database only facts and goals in a SQLite file, and pulls what’s relevant into the prompt (chapter 14).
The answer is A. It only becomes a harness with tools, a loop, permissions and context management, an agent with a goal and its own steps, and an autonomous agent with triggers like schedules (chapter 15).
Show answer
The answer is A. It only becomes a harness with tools, a loop, permissions and context management, an agent with a goal and its own steps, and an autonomous agent with triggers like schedules (chapter 15).
The answer is B. Text can appear alongside tool calls, and the maximum number of rounds is only a safety net. Ollama has no stop_reason; there, the absence of tool_calls marks the end (chapter 16).
Show answer
The answer is B. Text can appear alongside tool calls, and the maximum number of rounds is only a safety net. Ollama has no stop_reason; there, the absence of tool_calls marks the end (chapter 16).
The answer is C. A briefing with yesterday’s appointments looks right and leads people astray. Only the error code lets the wrapper and the routine watchdog in tybo see the failure (chapter 17).
Show answer
The answer is C. A briefing with yesterday’s appointments looks right and leads people astray. Only the error code lets the wrapper and the routine watchdog in tybo see the failure (chapter 17).
The answer is D. A note in the system prompt is a request, not protection, and an email is a way out. Better: read the PDF into a fixed schema without tools, compare separately, and send the email only after approval (chapter 18).
Show answer
The answer is D. A note in the system prompt is a request, not protection, and an email is a way out. Better: read the PDF into a fixed schema without tools, compare separately, and send the email only after approval (chapter 18).
The answer is A. r × (rows + columns) = 8 × (4,096 + 4,096) = 65,536, which is 0.39 percent of the 16,777,216 values of the full matrix. 32,768 is only one of the two matrices B and A (chapter 19).
Show answer
The answer is A. r × (rows + columns) = 8 × (4,096 + 4,096) = 65,536, which is 0.39 percent of the 16,777,216 values of the full matrix. 32,768 is only one of the two matrices B and A (chapter 19).
The answer is B. For knowledge that changes, RAG is the right approach; after every change, a fine-tuned model states the old prices with great confidence and without a source. Fine-tuning shapes form, style and narrow tasks (chapter 19).
Show answer
The answer is B. For knowledge that changes, RAG is the right approach; after every change, a fine-tuned model states the old prices with great confidence and without a source. Fine-tuning shapes form, style and narrow tasks (chapter 19).
What’s next?
If you get a question wrong, read the linked section and work through the example there yourself. The review questions at the end of each chapter go deeper than this quiz, because they ask for reasoning instead of a choice.
Progress is saved in this browser only.