Quiz on Claude Code
Time: 10 minutes
Eight multiple-choice questions covering everything you have learned across the four modules — tool use, context management, custom commands, MCP servers, GitHub integration, hooks, and the SDK. Answer each one in your head before revealing the correct answer.
1. What is the fundamental limitation of language models that necessitates the use of a tool system in coding assistants?
- They can only generate code in specific programming languages
- They have limited memory capacity for large codebases
- They cannot understand complex programming concepts
- They can only process text input/output and cannot directly interact with external systems
2. What permission configuration is required when integrating MCP servers with Claude Code in GitHub Actions?
- Each MCP server tool must be individually listed in the permissions
- No special permissions are needed if running in GitHub Actions
- Permissions are automatically inherited from the GitHub repository settings
- A single blanket permission for all MCP operations
3. What is the primary difference between Plan Mode and Thinking Mode in Claude Code?
- Plan Mode is for writing code while Thinking Mode is for debugging
- Plan Mode is faster while Thinking Mode is more accurate
- Plan Mode uses fewer tokens while Thinking Mode uses more tokens
- Plan Mode handles breadth (multi-step tasks) while Thinking Mode handles depth (complex logic)
4. Which of the following correctly describes the three types of CLAUDE.md files and their usage?
- Project level (debugging), Local level (testing), Machine level (production)
- Project level (personal use), Local level (team sharing), Machine level (repository specific)
- Project level (shared with team, committed), Local level (personal, not committed), Machine level (global for all projects)
- Project level (configuration), Local level (documentation), Machine level (automation)
5. How do you create a custom command in Claude Code that accepts runtime parameters?
- Use the
@parametersdecorator in the command file - Define parameters in
settings.jsonconfiguration - Add command line flags when executing the command
- Include
$ARGUMENTSplaceholder in the markdown command file
6. Which type of hook can prevent a tool call from happening if certain conditions are met?
- PostToolUse hook
- Project hook
- Global hook
- PreToolUse hook
7. A developer wants to prevent Claude from reading sensitive .env files. Which type of hook should they set up, and what tool names would they likely match?
- PostToolUse hook, matching
WriteandEdit - PreToolUse hook, matching
WriteandCreate - PreToolUse hook, matching
ReadandGrep - PostToolUse hook, matching
ReadandDelete
8. What is the primary purpose of hooks in Claude Code?
- To manage project dependencies
- To automatically generate new code snippets
- To run commands before or after Claude executes a tool
- To provide a user interface for Claude
You have tested your knowledge across all areas of Claude Code — from tool use fundamentals to hooks and the SDK.