PCEP 30-02 Practice Exam

PCEP 30-02 Practice Exam

10th Grade

18 Qs

quiz-placeholder

Similar activities

Functions and Exceptions

Functions and Exceptions

10th - 12th Grade

15 Qs

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

APCS A Unit 1 Practice MCQ

APCS A Unit 1 Practice MCQ

9th - 12th Grade

17 Qs

GCSE - 2.3 Producing Robust Programs

GCSE - 2.3 Producing Robust Programs

9th - 11th Grade

15 Qs

Arrays in Java

Arrays in Java

9th - 12th Grade

20 Qs

High and low level languages

High and low level languages

10th - 12th Grade

17 Qs

2.3 Lesson 9 Testing

2.3 Lesson 9 Testing

9th - 12th Grade

20 Qs

Python Programming Quiz

Python Programming Quiz

10th Grade - University

20 Qs

PCEP 30-02 Practice Exam

PCEP 30-02 Practice Exam

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Henry Vo

Used 59+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

John

123

John

NameError

John

SyntaxError

John

TypeError

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

What is the output?

My

Exam

Practice

Cloud

Tests

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?