
FYB: Review

Quiz
•
Computers
•
Professional Development
•
Medium
Joseph Green
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these variable assignments will create a list?
my_list = ""
my_list = []
my_list = ()
my_list = {}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these variable assignments will create a tuple?
my_list = ""
my_list = []
my_list = ()
my_list = {}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax to access the last item in a list?
my_list[-1]
my_list[last]
my_list[last()]
my_list[-last]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code do if my_list = [1, 2, 3, 4, 5]?
my_list[1] = 10
Replace the 2nd item in my_list with 10
Add 10 to the list
change my_list to 10
Create an error
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank to make x a string: x = ___(10)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is NOT valid if name = "joe"?
print(name + "green")
print("name green")
print name + (green)
x = name + "green"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value of x? x = 10 < 10
0
10
True
False
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: Which key word in python will make this assignment true:
8 > 9 ___ 100 == 100
and
not
or
is
Similar Resources on Wayground
10 questions
Learning Outcomes

Quiz
•
Professional Development
10 questions
Chapter 1 SDM

Quiz
•
Professional Development
10 questions
Senz AIoT Savants - ML & C++

Quiz
•
Professional Development
9 questions
PreTrainingCollectionsArrays

Quiz
•
Professional Development
11 questions
Java Fundamentals

Quiz
•
Professional Development
10 questions
04 - Python - Lists

Quiz
•
University - Professi...
6 questions
Python Quiz

Quiz
•
Professional Development
8 questions
OWA Part 1

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade