Big Halloween Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

PCEP-30-02 Exam Dumps - Python Institute PCEP Questions and Answers

Question # 4

What is the expected output of the following code?

Options:

A.

The code is erroneous and cannot be run.

B.

12.849.923.2

C.

293

D.

yh

Buy Now
Question # 5

Assuming that the phone_dir dictionary contains name:number pairs, arrange the code boxes to create a valid line of code which adds Oliver Twist's phone number (5551122333) to the directory.

Options:

Buy Now
Question # 6

What happens when the user runs the following code?

Options:

A.

The code outputs 3.

B.

The code outputs 2.

C.

The code enters an infinite loop.

D.

The code outputs 1.

Buy Now
Question # 7

How many hashes (+) does the code output to the screen?

Options:

A.

one

B.

zero (the code outputs nothing)

C.

five

D.

three

Buy Now
Question # 8

What is the expected output of the following code?

Options:

A.

The code is erroneous and cannot be run.

B.

ppt

C.

213

D.

pizzapastafolpetti

Buy Now
Question # 9

What is the expected output of the following code?

Options:

A.

The code produces no output.

B.

* * *

C.

* *

D.

*

Buy Now
Question # 10

Arrange the binary numeric operators in the order which reflects their priorities, where the top-most position has the highest priority and the bottom-most position has the lowest priority.

Options:

Buy Now
Question # 11

Arrange the code boxes in the correct positions in order to obtain a loop which executes its body with the level variable going through values 5, 1, and 1 (in the same order).

Options:

Buy Now
Question # 12

What is the expected output of the following code?

Options:

A.

2

B.

0

C.

3

D.

1

Buy Now
Question # 13

What is true about exceptions and debugging? (Select two answers.)

Options:

A.

A tool that allows you to precisely trace program execution is called a debugger.

B.

If some Python code is executed without errors, this proves that there are no errors in it.

C.

One try-except block may contain more than one except branch.

D.

The default (anonymous) except branch cannot be the last branch in the try-except block.

Buy Now
Exam Code: PCEP-30-02
Exam Name: PCEP - Certified Entry-Level Python Programmer
Last Update: Oct 28, 2025
Questions: 42
PCEP-30-02 pdf

PCEP-30-02 PDF

$25.5  $84.99
PCEP-30-02 Engine

PCEP-30-02 Testing Engine

$28.5  $94.99
PCEP-30-02 PDF + Engine

PCEP-30-02 PDF + Testing Engine

$40.5  $134.99