Font size
Worksheets9.1.2 - Starter Quiz
Total questions: 14
Worksheet time: 7mins
subjects = ["Computing", "Drama", "English", "Maths", "Science", "Spanish"]
What is subjects [2]
Computing
English
Science
Drama
Index Error
subjects = ["Computing", "Drama", "English", "Maths", "Science", "Spanish"]
What is subjects [4]
Maths
English
Science
Drama
Index Error
subjects = ["Computing", "Drama", "English", "Maths", "Science", "Spanish"]
What would print out if I used the statement:
print(subjects[0])
Spanish
Computing
"Computing"
"Spanish"
Index Error
What would be the output of the code below:
laurions = ["Altius", "Citius", "Fortius", "Magnus"]
print(laurions[1])
Fortius
Altius
Magnus
Citius
What would be the output of the code below:
laurions = ["Altius", "Citius", "Fortius", "Magnus"]
print(laurions[3] + " beat " + laurions[2])
Error
Fortius beat Citius
Magnus beat Fortius
Magnus beat Citius
Fortius beat Magnus
laurions = ["Altius", "Citius", "Fortius", "Magnus"]
starterLaurion = input("Who would you like to choose as your starter Laurion?")
What, in the code above, is a variable?
Fortius
Nothing
Citius
laurions
starterLaurion
buggy_list = [ ,"ugh!", ,"this","list", ,"is","buggy"]
print(buggy_list[3])
What would the code above output?
ugh
this
list
is
error
Which of these is an appropriate name for a list containing:
Apples, Oranges, Pears, Bananas
Fruit
fruit
x
list1
name = input("What is your name?"
print("Hello" + name")
If I inputted Elsa into the program above, what would the output be?
Hello Elsa
Elsa
HelloElsa
Error
Let it go!
What is python
Programming Language
Browser
Coding Method
Computer Game
What would be the output of the code below:
nouns = ["cat", "dog", "pig", "fox", "cow", "emu"]
adjectives = ["fat", "thin", "big", "small",]
print("The " + nouns[0] + " is " + adjectives[0])
The emu is small
The cat is fat
The pig is big
The cat is small
The emu is fat
What would be the output of the code below:
nouns = ["cat", "dog", "pig", "fox", "cow", "emu"]
adjectives = ["fat", "thin", "big", "small"]
print("The " + nouns[2] + " is " + adjectives[2])
The emu is small
The cat is fat
The pig is big
The cat is small
The emu is fat
What would be the output of the code below:
nouns = ["cat", "dog", "pig", "fox", "cow", "emu"]
adjectives = ["fat", "thin", "big", "small"]
print(The nouns[2] is adjectives[2])
The emu is small
The cat is fat
The pig is big
The cat is small
Error
What would be the output of the code below:
nouns = ["cat dog", "pig", "fox", "cow", "emu"]
adjectives = ["fat", "thin", "big", "small"]
print("The " + nouns[2] + " is " + adjectives[2])
The pig is small
The fox is big
The pig is big
The fox is small
Error
