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
14 questions
GCSE Computing Low & High Level Languages/IDE's

Quiz
•
10th - 11th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
13 questions
Pemrograman berorientasi objek

Quiz
•
1st - 10th Grade
17 questions
High and low level languages

Quiz
•
10th - 12th Grade
20 questions
Python year 9

Quiz
•
8th - 11th Grade
14 questions
Do you know some Java basics?

Quiz
•
9th - 12th Grade
13 questions
2.5 Translators & Facilities - OCR GCSE Computer Science

Quiz
•
7th - 12th Grade
16 questions
Python - Variables and Input

Quiz
•
1st - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University