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

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

Questions 4

Assuming that the phonc_dir dictionary contains namemumber pairs, arrange the code boxes to create a valid line of code which retrieves Martin Eden's phone number, and assigns it to the number variable.

Options:

Buy Now
Questions 5

What happens when the user runs the following code?

Options:

A.

The program outputs three asterisks ( *** )to the screen.

B.

The program outputs one asterisk ( * ) to the screen.

C.

The program outputs five asterisks ( ***** ) to the screen.

D.

The program enters an infinite loop.

Buy Now
Questions 6

What is the expected output of the following code?

Options:

A.

2

B.

0

C.

3

D.

1

Buy Now
Questions 7

Insert the code boxes in the correct positions in order to build a line of code which asks the user for an Integer value and assigns it to the counter variable.

(Note: some code boxes will not be used.)

Options:

Buy Now
Questions 8

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 9

Insert the code boxes in the correct positions in order to build a line of code which asks the user for a float value and assigns it to the mass variable.

(Note: some code boxes will not be used.)

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

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

PCEP |

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