Python - 01
Quiz
•
Computers
•
1st - 5th Grade
•
Practice Problem
•
Medium
Hector Santaella
Used 3+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How would you convert a string into lowercase?
string.lower
string.lower()
lower(string)
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you get a list of all the keys in a dictionary?
mydict.keys()
mydict.keys
keys.mydict
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How would you declare a comment in Python?
¢Comment
#Comment
//Comment
{/*
Comment
/*}
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Syntax for a lambda function in Python
lambda arguments : expression
lambda expression : arguments
lamb expression : arguments
l expression : arguments
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How would you check if a key exists in a Python dictionary?
my_dictionary.has_key(key_to_lookup)
my_dictionary.has(key_to_lookup)
has_key(my_dictionary)
6.
MULTIPLE CHOICE QUESTION
45 sec • Ungraded
Python is only for backend?
Yes
No
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Example for snake-case
one_attribute
One_attribute
oneAttribute
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
Repaso 1er encuentro
Quiz
•
1st Grade
15 questions
Prelim-History of Programming
Quiz
•
1st Grade
10 questions
Python
Quiz
•
3rd - 10th Grade
15 questions
scratch 1
Quiz
•
3rd - 6th Grade
11 questions
Robot-i Summative
Quiz
•
5th - 6th Grade
12 questions
Grade 4 - Keywords
Quiz
•
4th Grade
11 questions
Programming Vocab
Quiz
•
5th Grade
13 questions
Crtanje u Pytonu 6.b
Quiz
•
5th - 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
