How LLMs Work — Practice quiz

Untimed. Answers are graded when you submit, with explanations and spaced-repetition scheduling.

  1. Question 1easy

    At the most fundamental level, what does a large language model do?

  2. Question 2easy

    What is a token?

  3. Question 3medium

    Why do token counts matter more than word counts in practice?

  4. Question 4medium

    Roughly how many characters of English text correspond to one token (rule of thumb)?

  5. Question 5medium

    What does the attention mechanism let the model do?

  6. Question 6hard

    Attention compute scales in which way with sequence length?

  7. Question 7medium

    What is the context window?

  8. Question 8medium

    Between two separate API calls, what does a stateless LLM remember about your first call?

  9. Question 9hard

    Why do LLMs hallucinate — produce confident but false statements?

  10. Question 10hard

    Which are TRUE about the training-vs-inference split? (Select all that apply)

    Select all that apply.

  11. Question 11easy

    What does 'autoregressive' generation mean?

  12. Question 12medium

    You need an exact token count for a Claude request. What should you use?

  13. Question 13medium

    Name the neural-network architecture (one word) whose attention mechanism underlies modern LLMs.

  14. Question 14hard

    One word: an LLM turns each token into a numeric ____ (vector encoding meaning) before attention operates on it.

0 / 14 answered