04. Control Flow/Elaboration

Break Primitive Types
πŸ‘¨β€πŸ’Ό Excellent! You now know how to make programs that think and repeat.
You learned:
  • πŸ”€ if/else for making decisions
  • πŸ”ƒ switch for matching one value against many options
  • πŸ” for loops for counted repetition
  • πŸ”„ while loops for conditional repetition
  • ❓ Ternary operator for concise value selection
  • 🧯 try/catch for handling errors
Next up: Functionsβ€”packaging up reusable logic with type-safe contracts!

Test Your Knowledge

Retrieval practice helps solidify learning by actively recalling information. Use this prompt with your AI assistant to quiz yourself on what you've learned.

Please quiz me on exercise 4 using the epicshop MCP server. Call the get_quiz_instructions tool with exerciseNumber "4" to get the quiz instructions, then quiz me one question at a time.

Learn how to set up the epicshop MCP server

Loading Control Flow Elaboration form