1) A syntax error is when... a) There is a missing variable b) The names of variables do not match c) There is a punctuation mistake d) There are too many gaps between lines 2) A name error is when... a) There are too many brackets and speech marks b) The names of the variables match c) The statement runs correctly d) The names of the variables do not match 3) The name of the app we use to write our code in is... a) Thoughtful b) Thoney c) Thonny d) Thonnie 4) The name of the programming language we are using is... a) Piethon b) Python c) Pyethon d) Pythen 5) The events which are triggered in selection, happen when a WHAT is true or false? a) Condition b) Statement c) IF d) ELSE 6) A logic error is when... a) The program does not run b) When the program produces too many outputs c) When the program runs but does not do what you expect it to d) When the program asks you for an input 7) What does iteration mean? a) When a section of code is repeated multiple times b) When a loop runs infinitely as a mistake c) When a section of code runs and stops d) When the loop will not run 8) Count-controlled iteration is when... a) The code will repeat a certain number of times and stop b) The code will not run at all c) We don't know how many times the code will run d) The code runs too many times to count 9) Condition-controlled iteration is when... a) The code counts as it runs b) The code will run 10 times and stop c) A condition has to be met in order for the code to stop d) The code has too many errors to repeat 10) An example of count-controlled iteration is... a) How many steps you walk in a day b) How many times you will need to enter your password correctly c) How many minutes your washing machine will run for d) How many times you sneeze in a day 11) An example of condition controlled iteration is... a) How many times you enter your password to login b) How many seconds your toaster will run before popping up c) How many minutes your washing machine will run for d) Switching TV channels

Year 8 Python Quiz

Tulostaulu

Visuaalinen tyyli

Vaihtoehdot

Vaihda mallia

Säilytetäänkö automaattisesti tallennettu tehtävä ?