
питон 4
Quiz
•
English
•
Professional Development
•
Practice Problem
•
Medium
кек .
Used 2+ times
FREE Resource
Enhance your content in a minute
46 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the not keyword in Python?
Reverses the result of a boolean expression.
Compares two values
Assigns a value to a variable
Ends a loop.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print(type([1, 2, 3]))?
<class 'list'>
<class 'tuple'>
<class 'set'>
<class 'dict'>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function can you use to iterate over both keys and values of a dictionary?
items()
keys()
values()
iterate()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output? print(10 / 4)
2.5
2
Error
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents a valid Python module?
A .py file containing Python code.
A .txt file containing text.
A .exe file containing executable code.
A .csv file containing comma-separated values
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you handle multiple exceptions in a single try block?
Use multiple except clauses
Use a try block for each exception
Write all exceptions on one line separated by semicolons.
Use the finally clause
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will check if a string starts with a specific prefix?
startswith()
endswith()
checkprefix()
beginwith()
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
45 questions
Four corners 3 unit 8
Quiz
•
Professional Development
41 questions
A1 low Final Exam (Units 1-8)
Quiz
•
Professional Development
48 questions
Top Notch Fundamentals 1-7 Review
Quiz
•
Professional Development
43 questions
Q1: Word of the Day
Quiz
•
Professional Development
50 questions
Conditionals
Quiz
•
Professional Development
42 questions
Comparatives and prepositions
Quiz
•
Professional Development
45 questions
TEST 4 - TOEIC 3000 - PART 5
Quiz
•
11th Grade - Professi...
49 questions
Irregular Past Participles
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for English
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
