
PCEP 30-02 Practice Exam
Authored by Henry Vo
Computers
10th Grade
Used 79+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
John
123
John
NameError
John
SyntaxError
John
TypeError
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
ValueError: range() arg 1 must be greater than zero
MyExamCloudMyExamCloudMyExamCloud
MyExamCloudMyExamCloud
MyExamCloud
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
MyExamCloud
MyExamCloud
MyExamCloudMyExamCloud
MyExamCloud
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method removes all dictionary items?
dictionary.clear()
dictionary.remove()
dictionary.delete()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
Error
[1, 2, 3, 4]
['MyExamCloud', 1, 2, 3, 4, 5]
['MyExamCloud', 1, 2, 3, 4]
[1, 2, 3, 4, 5]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
My
Exam
Practice
Cloud
Tests
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
['PCEP', 'PCAPPCPP1']
SyntaxError: invalid syntax
['PCEP', 'PCAP', 'PCPP1']
['PCEP']
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?