Form 9: Debugging & Finding Errors in Sequences
Questions
-
MultiChoice
What is debugging in programming?
-
MultiChoice
What is a bug in computer programs?
-
MultiChoice
An algorithm to make cereal says: '1. Eat cereal, 2. Pour milk, 3. Put cereal in bowl'. What is wrong?
-
WordsBox
Debugging is finding and ____ errors in an ____
-
MultiChoice
A loop intended to run 5 times runs 50 times. What type of bug is this?
-
MultiChoice
How can you debug a step-by-step algorithm?
-
WordsBox
A ____ causes an algorithm to give unexpected or ____ results.
-
MultiChoice
'REPEAT 4 TIMES: [Move forward]'. The robot needed 5 steps to reach goal. How do you fix it?
-
MultiChoice
What is a syntax error?
-
MultiChoice
Why is testing important when writing algorithms?
-
MultiChoice
If a robot walks into a wall, what is the most likely cause?
-
MultiChoice
What is step-by-step tracing?