
Python Assessment Quiz
Authored by Adam Gijebi
Computers
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following tools can be used to run Python programs?
Python Interpreter
Jupyter Notebook
IDE (e.g., PyCharm, VSCode)
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the output of the following code?
int
float
complex
str
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will the following code print?
ytho
yth
Pyt
Py
4.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which of the following is NOT a valid operation for a Python dictionary?
Adding a new key-value pair
Updating a value for an existing key
Deleting a key-value pair
Slicing the dictionary
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What will be the output of the following code?
0 1 2
0 1
1 2
0 2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a function in Python?
function
def
lambda
func
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the purpose of the finally block in exception handling?
It runs only if no exception occurs.
It is used to raise an exception.
It executes regardless of whether an exception occurred or not.
It is a synonym for the else block.
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
Computer basics for beginners
Quiz
•
Professional Development
20 questions
RAS QUIZ
Quiz
•
Professional Development
15 questions
Sec+ CH.2 Review Test
Quiz
•
Professional Development
15 questions
China: Communism
Quiz
•
Professional Development
15 questions
Unit 1 lesson 1
Quiz
•
University - Professi...
17 questions
PHP MySQL
Quiz
•
7th Grade - Professio...
15 questions
Module 2A. Active Reconnaissance - Scanning
Quiz
•
Professional Development
17 questions
Lección1 - JavaScript
Quiz
•
1st Grade - Professio...
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 Computers
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...