Pass4itsure > Python Institute > Python Institute Certifications > PCEP-30-02 > PCEP-30-02 Online Practice Questions and Answers

PCEP-30-02 Online Practice Questions and Answers

Questions 4

What is the expected output of the following code?

A. {(2, 3): 2}

B. {(1, 2): 1}

C. The code is erroneous.

D. 1

Buy Now
Questions 5

An operator able to check whether two values are not equal is coded as:

A. <>

B. !=

C. =/=

D. not ==

Buy Now
Questions 6

What is the expected output of the following code? print(2 ** 3 ** 2 ** 1)

A. 64

B. 16

C. 128.0

D. The code is erroneous.

E. 16.0

F. 512

Buy Now
Questions 7

What is the expected behavior of the following program?

A. The program will output Hello! to the screen

B. The program will generate an error on the screen

C. The program will output ("Hello!") to the screen

D. The program will output "Hello!" to the screen

Buy Now
Questions 8

What is the expected output of the following code?

A. Option A

B. Option B

C. Option C

D. Option D

Buy Now
Questions 9

What is the expected output of the following code?

A. 7777777

B. The code is erroneous.

C. 49

D. 77

Buy Now
Questions 10

What is the expected result of the following code?

A. 1

B. a

C. The code will cause a syntax error.

D. b

Buy Now
Questions 11

Consider the following code.

Which of the following codes will print the right output?

A. Option A

B. Option B

C. Option C

D. Option D

Buy Now
Questions 12

What is the expected output of the following code if the user enters 11 and 4?

A. 1

B. 2

C. 4

D. 3

Buy Now
Questions 13

What is the expected output of the following snippet?

A. P Y T H O N

B. Python

C. The code is erroneous.

D. PYTHON

E. python

F. P y t h o n

Buy Now
Exam Code: PCEP-30-02
Exam Name: PCEP - Certified Entry-Level Python Programmer
Last Update: May 28, 2026
Questions: 420
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99