Year 8 Homework Python
Quiz by KS3 IT
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
9 questions
Show answers
- Q1Which programming language is named after a type of snake?JavaRubyC++Python30s
- Q2What is the output of the following Python code snippet: print(5 + 3 * 2)111641030s
- Q3What does the 'print()' function do in Python?Imports external librariesPerforms mathematical calculationsDisplays output to the screenDefines a new variable30s
- Q4What python function accepts an input from a user?input()variableprint()data-type30s
- Q5What is a variable in programming?A data-typeA functionPermanent storage on the hard drive.A location in memory where a value can be stored while the program runs.30s
- Q6What would be the output of print("This is a test")print("This is a test")"This is a test"This is a testError30s
- Q7What is the mistake in this line of code: answer = Input ("What is the capital of England?")There is a missing speech markThere is a missing bracket.There is not a variable.There should not be a capital I for input()30s
- Q8Which of the following will produce an error?print(It is a nice day")print("I love Mondays!")print("Python is fun")print("Hello Year 7")30s
- Q9What is an algorithm?A Dance?Something that grows in a pond?A mathematical formulaA list of instructions for a digital device.30s