What is the output of the following code?
PCEP 30-02 Practice Exam

Quiz
•
Computers
•
10th Grade
•
Medium
Henry Vo
Used 59+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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']
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
20 questions
Basic Python

Quiz
•
10th - 12th Grade
13 questions
Python Iteration

Quiz
•
10th Grade
17 questions
Python - Quiz

Quiz
•
9th - 11th Grade
14 questions
For Loops (Java)

Quiz
•
9th - 12th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
20 questions
2.5 Programming IDEs and Translators

Quiz
•
9th - 11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade