Module 4 · if, switch and Loops
Module Test: if, switch and Loops
FreeModule test
Questions on the lessons of this module. It is marked, and at the end you see every answer explained.
- questions
- 10
- to pass
- 70%
- to take it again
- Any time
What it covers
- 1Decisions and Loops: The Picture
- 2Every Statement, One by One
- 3Full Programs: From FizzBuzz to a Prime Sieve
- 4Which Loop, and When switch Beats if
- 5Under the Hood: Loops as Jumps, the Iterator Protocol and a Loop Lab
- 6CP and Interview Pack: Nested Loops, Early Exit and the Bug Gallery
- 7Cheat Sheet: if, switch and Loops on One Page