Tutorpip← About this lessonABCHide the answer keyDownload PDF
Coding · Ages 8+ · Set B
Testing with examples
Scan to mark
on screen
B
Name
Date
Start Finish
Goal: 15 min
Score/ 12
Remember: Try a program with several examples. Compare what it does with what you want.

Questions

1
Which one is not a good way to check a program?
🎲guess the answer after one try🔢try several different examples⭕try zero as an example
2
Which one is a good way to check a program?
📝write down the answer you want first🎲guess the answer after one try☝️try one example and stop
3
Which one is a good way to check a program?
↕️try a small number and a big number☝️try one example and stop🙈skip comparing the answer
4
Which one is not a good way to check a program?
⭕try zero as an example⚖️compare what you want with what you get🍀only try examples you know will work
5
Which one is not a good way to check a program?
📝write down the answer you want first☝️try one example and stop🔢try several different examples
6
Which one is not a good way to check a program?
↕️try a small number and a big number✨decide it works because it looks neat⚖️compare what you want with what you get
7
Which one is not a good way to check a program?
🙈skip comparing the answer🔢try several different examples⭕try zero as an example
8
Which one is a good way to check a program?
🔢try several different examples🍀only try examples you know will work☝️try one example and stop
9
Which one is a good way to check a program?
☝️try one example and stop⭕try zero as an example✨decide it works because it looks neat
10
Which one is a good way to check a program?
🍀only try examples you know will work☝️try one example and stop⚖️compare what you want with what you get
11
Which one is not a good way to check a program?
🔢try several different examples⚖️compare what you want with what you get🎲guess the answer after one try
12
Which one is not a good way to check a program?
🔢try several different examples🍀only try examples you know will work⭕try zero as an example
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.
Answer key · Set B
Testing with examples
1guess the answer after one try
2write down the answer you want first
3try a small number and a big number
4only try examples you know will work
5try one example and stop
6decide it works because it looks neat
7skip comparing the answer
8try several different examples
9try zero as an example
10compare what you want with what you get
11guess the answer after one try
12only try examples you know will work
Mark each answer, count the right ones and write the score on the sheet.