8questions
BeginnerTypeScript
8 subjects
3 easy4 medium1 hard
Why should a new project turn on `strict`, and what does it actually change?
Start practising3 easy6 medium3 hard
// 12 of 12 questions · 12 subjects
How do you choose between model providers, and how do you keep prompts portable if you switch later?
mediumProvidersPortability
What is a context window, and why does counting words instead of tokens get you into trouble?
easyTokensContext Window
How do temperature, top-k and top-p differ, and which should you tune?
mediumTemperatureTop-p
What happens when a response hits max tokens, and how do stop sequences help control length?
mediumMax TokensStop Sequences
What is the difference between a frequency penalty and a presence penalty, and when do they hurt?
hardFrequency PenaltyPresence Penalty
When do you reach for few-shot examples, and when for chain-of-thought prompting?
mediumFew-shotChain of Thought
What belongs in the system prompt versus the user message, and does role prompting actually help?
easySystem PromptsRole Prompting
How does automatic prompt engineering work, and what stops it from overfitting?
hardAPEPrompt Tuning
How can you make an LLM's answers more reliable without fine-tuning?
hardSelf-evaluationEnsembling
What is indirect prompt injection, and why can a better system prompt not fully prevent it?
mediumPrompt InjectionSecurity
8questions
Beginner8 subjects
3 easy4 medium1 hard
Why should a new project turn on `strict`, and what does it actually change?
Start practising20questions
Beginner20 subjects
5 easy10 medium5 hard
The same JavaScript file runs in Chrome but crashes in Node with "document is not defined". What is the language, and what does the runtime add?
Start practising22questions
Beginner22 subjects
8 easy11 medium3 hard
What makes a coding agent different from autocomplete or a chat window, and what does that change about how you review its work?
Start practising