Python - Quiz
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Hard
Joel Soloman
Used 2+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to create an empty list in Python?
list = []
list = {}
list = ()
list = [None]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet?
"py"
"th"
"tho"
"ho"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression 2 ** 3?
8
6
2
12
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the " != " operator represent in Python?
Less than or equal to
Equal to
Not equal to
Greater than or equal to
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet?
2.0
2.5
2
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'len()' function return when applied to a string in Python?
The number of characters in the string
The first character of the string
The last character of the string
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is unordered in Python?
List
Dictionary
Set
Tuple
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
Among Us (The Skelds)
Quiz
•
KG - Professional Dev...
20 questions
Starbucks Knowledge Quiz
Quiz
•
University - Professi...
20 questions
Songs & Song Artists
Quiz
•
3rd Grade - Professio...
20 questions
MEGA QUIZ-Pension Plans & Annuity Plans
Quiz
•
Professional Development
20 questions
आज का शब्द और अनुवाद प्रतियोगिता- 15.06.2023
Quiz
•
Professional Development
20 questions
Análise do The Messy Middle
Quiz
•
Professional Development
16 questions
AFL vs AOL
Quiz
•
Professional Development
15 questions
Selling Skills
Quiz
•
Professional Development
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
Discover more resources for Other
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
