
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
15 questions
Quiz tổng kết khóa học
Quiz
•
6th - 8th Grade
10 questions
Internet - Blogging and Podcasting
Quiz
•
5th - 6th Grade
16 questions
Windows 11
Quiz
•
4th Grade - University
10 questions
KHỞI ĐỘNG - KHỐI 3 TUẦN 28
Quiz
•
6th Grade
15 questions
Computer 6 MS Excel Expressions and Operators
Quiz
•
6th Grade
15 questions
Paint 2020
Quiz
•
1st - 9th Grade
10 questions
TMK TAHUN 6 : Projek Pengaturcaraan
Quiz
•
6th Grade
12 questions
CodeMonkey Coding Vocabulary
Quiz
•
3rd - 7th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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