
Python year 9
Authored by Louise Lockwood
Computers
8th - 11th Grade
Used 197+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To repeat a fixed number of times use a
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The character that must be at the end of the line for if, while, for etc.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the answer here?
x = "hello"
print(len(x))
2
3
4
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the coder's word for converting one data type into another?
casting
throwing
catching
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a variable?
name=input("Welcome to the quiz, what is your name?")
print("Hello",name)
input
name
Hello
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax error in this code?
Incorrect use of variable
Missing : characters at the end of the if and else statements
The code is not indented correctly
Missing brackets
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax error in this code?
Incorrect use of variable
The code is not indented correctly
Missing : character at the end of the else statement
Missing brackets
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?