
Variables & Lists
Authored by Fazla Fairooz
Computers
6th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a variable named carname and assign the value Volvo to it.
carname = "Volvo"
Carname = "Volvo"
carname = Volvo
Volvo = carname
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a variable named x and assign the value 50 to it.
50 = x
50 = X
x = 50
X = 5 + 10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Display the sum of 5 + 10, using two variables: x and y.
x = 5
y = 10
print(x + y)
x = 5
y = 5
print(x - y)
x = 5
y = 10
print(x)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a variable called z, assign x + y to it, and display the result.
x = 5
y = 10
a = x + y
print(z)
x = 5
y = 10
z = x + y
print(z)
x = 5
y = 10
z = x - y
print(z)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
From the following what is the incorrect variable name
Var = 5
Name = "Hello"
Python = False
2my-first_name = "John"
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Print the second item in the fruits list.
print(______)
Fill in the blank
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Change the value from "apple" to "kiwi", in the fruits list.
fruits = ["apple", "banana", "cherry"]
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?
Similar Resources on Wayground
9 questions
MinecraftPython Test 1
Quiz
•
5th - 6th Grade
14 questions
Database
Quiz
•
6th - 9th Grade
11 questions
Tabelline
Quiz
•
6th - 9th Grade
10 questions
Повторение цикла while
Quiz
•
6th - 7th Grade
11 questions
Programy i Gry Komputerowe, sem 1 (II)
Quiz
•
4th - 6th Grade
14 questions
Scratch Basics Term 3 Final
Quiz
•
KG - University
12 questions
ASK T3 - BAB 1
Quiz
•
1st - 7th Grade
10 questions
AVALIAÇÃO | 2º TRIMESTRE |BLOCO 2|
Quiz
•
6th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade