Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

PCEP-30-02 PCEP - Certified Entry-Level Python Programmer Questions and Answers

Questions 4

What is the expected result of the following code?

Options:

A.

5

B.

2

C.

1

D.

The code will cause an unhandled

Buy Now
Questions 5

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

Options:

Buy Now
Questions 6

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
Questions 7

What is true about exceptions in Python? (Select two answers.)

Options:

A.

According 10 Python terminology, exceptions are thrown

B.

According to Python terminology, exceptions are raised

C.

Python's philosophy encourages developers to make all possible efforts to protect the program from the occurrence of an exception.

D.

Not more than one except branch can be executed inside one try-except block.

Buy Now
Questions 8

What is the expected output of the following code?

Options:

A.

5

B.

4

C.

6

D.

The code raises an exception and outputs nothing.

Buy Now
Questions 9

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
Questions 10

Which of the following are the names of Python passing argument styles?

(Select two answers.)

Options:

A.

keyword

B.

reference

C.

indicatory

D.

positional

Buy Now
Questions 11

Which of the following expressions evaluate to a non-zero result? (Select two answers.)

Options:

A.

2 ** 3 / A - 2

B.

4 / 2 * * 3 - 2

C.

1 * * 3 / 4 - 1

D.

1 * 4 // 2 ** 3

Buy Now
Questions 12

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
Exam Code: PCEP-30-02
Exam Name: PCEP - Certified Entry-Level Python Programmer
Last Update: Oct 2, 2025
Questions: 42
PCEP-30-02 pdf

PCEP-30-02 PDF

$29.75  $84.99
PCEP-30-02 Engine

PCEP-30-02 Testing Engine

$35  $99.99
PCEP-30-02 PDF + Engine

PCEP-30-02 PDF + Testing Engine

$47.25  $134.99