Leads4pass > 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 output of the following snippet?

A. 12

B. (2, 1)

C. (1, 2)

D. 21

Buy Now
Questions 5

An alternative name for a data structure called a stack is:

A. LIFO

B. FIFO

C. FOLO

Buy Now
Questions 6

What is the output of the following snippet?

A. [0, 1, 9, 16]

B. [0, 1, 4, 16]

C. [0, 1, 4, 9]

D. [1, 4, 9, 16]

Buy Now
Questions 7

The pyc le contains ...

A. a Python interpreter.

B. Python source code.

C. compiled Python bytecode.

D. a Python compiler.

Buy Now
Questions 8

How did Python, the programming language, get its name?

A. Guido van Roddum named it to honor Python of Catana, a dramatic poet of the time of Alexander the Grerat

B. Guido van Roddum named it to honor Monty Python's Flying Circus, a BBC comedy series popular in the 1970s

C. Guido van Roddum named it after the Pythonidae - a family of large, nonvenomous snakes

Buy Now
Questions 9

If a list passed into a function as an argument, deleting any of its elements inside the function using the del instruction:

A. will not affect the argument

B. will cause a runtime error

C. will affect the argument

Buy Now
Questions 10

What is the expected output of the following code?

A. None

B. 2

C. The code is erroneous.

D. 4

Buy Now
Questions 11

What is the expected behavior of the following program if the user enters 0?

A. The program will raise the ZeroDivisionError exception

B. The program will raise the ValueError exception

C. The program will raise the TypeError exception

D. The program will output 0 to the console

Buy Now
Questions 12

You want to print the sum of two number.

What snippet would you insert in the line indicated below:

A. print('The Result is ' + (int(x) + int(y)))

B. print('The Result is ' + (int(x + y)))

C. print('The Result is ' + str(int(x + y)))

D. print('The Result is ' + str(int(x) + int(y)))

Buy Now
Questions 13

What will happen when you attempt to run the following code?

A. The program will not run due to syntax error.

B. The program will run and cause an error.

C. The program will fall into in nite loop, printing 1 on each line.

D. The program will print 1 on one line only.

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

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99