Summer Special Sale Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 713PS592

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

Questions 4

What is the expected output of the following code?

PCEP-30-02 Question 4

Options:

A.

The code outputs nothing.

B.

3

C.

1

D.

4

Buy Now
Questions 5

What is the expected result of running the following code?

PCEP-30-02 Question 5

Options:

A.

The code prints 1 .

B.

The code prints 2

C.

The code raises an unhandled exception.

D.

The code prints 0

Buy Now
Questions 6

A set of rules which defines the ways in which words can be coupled in sentences is called:

Options:

A.

lexis

B.

syntax

C.

semantics

D.

dictionary

Buy Now
Questions 7

What is the expected result of the following code?

PCEP-30-02 Question 7

Options:

A.

5

B.

2

C.

1

D.

The code will cause an unhandled

Buy Now
Questions 8

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

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).

PCEP-30-02 Question 9

Options:

Buy Now
Questions 10

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 11

What is the expected output of the following code?

PCEP-30-02 Question 11

Options:

A.

1

B.

The code raises an unhandled exception.

C.

False

D.

('Fermi ', '2021', 'False')

Buy Now
Questions 12

What happens when the user runs the following code?

PCEP-30-02 Question 12

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

PDF + Testing Engine

$72.6  $181.49

Testing Engine

$57.8  $144.49
buy now PCEP-30-02 testing engine

PDF (Q&A)

$49.8  $124.49
buy now PCEP-30-02 pdf