Remember: Read code line by line, use names as clues, and try it with small numbers.
Questions
1
Which one does not help you read code?
✏️run it by hand with small numbers☑️check a comment against the code🤝trust every comment
2
Which line does the computer skip?
💬say stars🔁repeat three times📝note: counts the stars
3
Which line changes the box?
🟦set stars to zero➕add two to stars💬say stars
4
✏️Does it help to run it by hand with small numbers when reading code?
YesNo
5
Which line shows the answer?
➕add two to stars💬say stars🟦set stars to zero
6
🔎Does it help to use names as clues when reading code?
YesNo
7
Which one does not help you read code?
✏️run it by hand with small numbers🎲change things and hope🔬change one thing at a time
8
Which line gives a box its start value?
💬say stars🟦set stars to zero➕add two to stars
9
Which one does not help you read code?
📖read the lines one at a time⏭️skip to the middle✏️run it by hand with small numbers
10
Which one helps you read code?
⏭️skip to the middle🎲change things and hope☑️check a comment against the code
11
Which line runs over and over?
🔁repeat three times➕add two to stars💬say stars
12
🔬Does it help to change one thing at a time when reading code?
YesNo
Scan the code at the top to mark this sheet on screenTake a photo of your answers or type them. It is marked for you automatically, and your score is kept.