
питон 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
47 questions
English File Intermediate Unit 3A Comparatives / Superlatives
Quiz
•
6th Grade - Professio...
45 questions
VERB FORMS - TEST 1 - VOL 3
Quiz
•
7th Grade - Professio...
44 questions
English File Intermediate Plus Midterm Revision
Quiz
•
6th Grade - Professio...
50 questions
THPT Chuyên HN - Amsterdam - PRACTICE TEST 1
Quiz
•
Professional Development
42 questions
Tours & activities
Quiz
•
7th Grade - Professio...
50 questions
Exam Pre-intermediate. Grammar / Vocabulary part
Quiz
•
Professional Development
50 questions
English A2 Pre-Intermediate
Quiz
•
Professional Development
45 questions
L2 Final Test
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 English
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...
