Module quiz
LLM foundations quiz
32 questions across 3 lessons. Choose an answer, check it, and read why each option is right or wrong.
Back to the moduleFlashcards
Checking answers needs JavaScript. You can still read every question and option below.
Keyboard: arrow keys move between options. Space or Enter selects the focused option.
ObjectiveTrace what happens between a prompt and a streamed response: tokenize, embed, transformer blocks, logits, softmax, sample, append, repeat.
ObjectiveExplain why self-attention replaced RNNs: parallel training and direct links between tokens.
ObjectiveDescribe how Query/Key/Value scoring, the causal mask and the sequence-length-squared score matrix work.
ObjectiveExplain prefill versus decode, why the KV-cache saves compute, and why it costs memory that grows with context length and concurrency.
ObjectiveExplain how byte-pair encoding builds a subword vocabulary and why that lets a model handle words it never saw whole.
ObjectiveExplain why token count is not word count, and how language, code and numbers change the count and therefore cost and context budget.
ObjectiveDescribe how token IDs become learned embedding vectors, and the vocabulary-size trade-off.
ObjectiveChoose the correct tokenizer to count tokens for a given model, and say why a count from another model family is only an estimate.
ObjectiveExplain how temperature rescales logits and how top-k and top-p filter the candidate tokens, including why top-p adapts to the distribution.
ObjectiveChoose sampling settings for a task such as extraction, classification or creative writing, and justify the choice.
ObjectiveExplain why temperature 0 does not guarantee identical outputs, and name practical ways to handle that.
ObjectiveCompare open-weight and API-only models on control, data, cost and operations, and propose criteria and a measurement plan for choosing.
ObjectiveExplain why a larger context window is a cost and quality decision rather than a free upgrade, and why it does not replace retrieval.