
iav ML Study Group Pop Quiz 4
Authored by Bob Balooey
Computers
1st - 2nd Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In Python, a dictionary consists of:
Key:Value pairs
Value:Key pairs
Translation maps
Languange<->Language encodings
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Given a dictionary: testdict
Write the command to see all keys from the dictionary
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select the methods which will REMOVE the number 4 from the list:
numlist=[1,2,3,4]
numlist.drop(4)
numlist.drop(3)
numlist.pop(3)
numlist.pop()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the expected output from:
test_tuple("red","green","blue")
test_tuple[1]= "pink"
print(test_tuple)
("red","pink","blue")
("pink","green","blue")
test_tuple
TypeError: 'tuple' object does not support item assignment
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Defining your own custom data classes instead of using the defaults has the advantages of:
shortening the syntax for variable instantiation
pretty-printing the string representation with .__repr__()
self-documentation with type annotation
faster loading times
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The difference between tuples and namedtuples is that
namedtuples are mutable
tuples cannot be named
namedtuple elements can be accessed through an identifier instead of just the index position
tuples don't exist as a native class in Python
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We instantiate a set with:
Brackets, ()
Square Brackets, []
Curly Brackets, {}
Double Quotes: " "
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
10 questions
Sistema Operativo
Quiz
•
1st - 12th Grade
10 questions
Función CONTAR
Quiz
•
KG - Professional Dev...
10 questions
Mecanografía
Quiz
•
1st - 3rd Grade
15 questions
examen II bloque computacion 2 y 3 primaria
Quiz
•
2nd - 3rd Grade
10 questions
Pensamiento Computacional
Quiz
•
1st - 3rd Grade
15 questions
Prueba Objetiva, Segundo grado. Escribe el nombre completo
Quiz
•
2nd Grade
10 questions
QUIZIZZ DE PROGRAMACION
Quiz
•
1st - 5th Grade
10 questions
PHP Series
Quiz
•
1st - 3rd Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Wayground Quiz Review for G2 Benchmark 3
Quiz
•
2nd Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
20 questions
addition facts
Quiz
•
2nd Grade
10 questions
Telling Time to the Nearest 5 Minutes
Quiz
•
2nd Grade
30 questions
Multiplication Facts 1-12
Quiz
•
2nd - 5th Grade
7 questions
Understanding Parallel, Intersecting, and Perpendicular Lines
Interactive video
•
1st - 6th Grade
14 questions
Main Idea
Quiz
•
2nd - 3rd Grade
20 questions
Multiplication Facts
Quiz
•
2nd - 3rd Grade