
питон 4
Authored by кек .
English
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
50 questions
A2 VOCABULARY FINAL TEST
Quiz
•
Professional Development
43 questions
SIMPLE PRESENT VERBAL
Quiz
•
6th Grade - Professio...
50 questions
Kiểm tra từ vựng Reading- T9- Học Tiếng Anh Không Quạu
Quiz
•
Professional Development
42 questions
English test A1 and A2
Quiz
•
Professional Development
51 questions
B2 First Reading and Use of English Parts 3 and 4
Quiz
•
Professional Development
48 questions
Wind, waves and swell
Quiz
•
Professional Development
49 questions
Past tenses
Quiz
•
Professional Development
50 questions
Toefl Grammar practice
Quiz
•
University - Professi...
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for English
44 questions
Would you rather...
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
14 questions
Valentine's Day Trivia!
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development