Variables & Lists

Quiz
•
Computers
•
6th Grade
•
Hard
Fazla Fairooz
Used 1+ times
FREE Resource
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"]
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python

Quiz
•
1st - 12th Grade
10 questions
PUBG

Quiz
•
3rd Grade - Professio...
10 questions
AdaFruit MakeCode Circuit Playground

Quiz
•
6th - 8th Grade
14 questions
Keyboard Shortcuts

Quiz
•
4th - 8th Grade
15 questions
Python Intro Review

Quiz
•
6th - 8th Grade
10 questions
Python

Quiz
•
1st - 10th Grade
10 questions
Primary 6 1.5 1.6

Quiz
•
6th Grade
10 questions
Boolean Operator "NOT" Quiz for 6th Graders

Quiz
•
6th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
21 questions
Input Output Storage Device

Quiz
•
5th - 8th Grade