This quiz addresses part of the requirements of the National Curriculum KS1 for children aged 5 and 6 in years 1 and 2 in Computing. Specifically it looks at executing a simple program, bugs and the debugging cycle. It is one of 20 quizzes to help you find out about how computers work, and how they affect all our lives.
Writing algorithms is fun. Writing code is fun. When you have written all the code, you have a program. Then you try out the program. This is called executing the program. But does the program work? What if there are bugs in the program? A bug is a mistake. Often bugs are there because the codes are in the wrong order. So then you have to go through all the code to find the mistake. This is called the debugging cycle. It is a bit like a detective puzzle.
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
You can find more about this topic by visiting BBC Bitesize - What are computer bugs?
We all make mistakes! There are often bugs in computer programs first time round
|
Ellie is running or executing the program
|
||||||||||||||||||||||||
There might be more than one bug in Ellie’s programme
|
Ellie then tests her program again
|
||||||||||||||||||||||||
There are often lots of bugs in a program
|
Ellie has done really well
|
||||||||||||||||||||||||
You need to wash the clothes before you rinse them
|
What should Alice write to take away one number from another number and show the result?
|
||||||||||||||||||||||||
The car has to stop at the red light, and only go when it is green
|
Debugging programs is very important
|