Weekend Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

Free Python Institute PCEP-30-02 Practice Exam with Questions & Answers

Questions 1

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

PCEP-30-02 Question 1

Options:
Python Institute PCEP-30-02 Premium Access
Questions 2

Arrange the binary numeric operators in the order which reflects their priorities, where the top-most position has the highest priority and the bottom-most position has the lowest priority.

PCEP-30-02 Question 2

Options:
Questions 3

Drag and drop the literals to match their data type names.

PCEP-30-02 Question 3

Options:
Questions 4

What is true about tuples? (Select two answers.)

Options:
A.

Tuples are immutable, which means that their contents cannot be changed during their lifetime.

B.

The len { } function cannot be applied to tuples.

C.

An empty tuple is written as { } .

D.

Tuples can be indexed and sliced like lists.

Questions 5

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 depth variable.

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

PCEP-30-02 Question 5

Options:
Questions 6

What is the expected output of the following code?

PCEP-30-02 Question 6

Options:
A.

5

B.

4

C.

6

D.

The code raises an exception and outputs nothing.

Questions 7

Which of the following functions can be invoked with two arguments?

A)

PCEP-30-02 Question 7

B)

PCEP-30-02 Question 7

C)

PCEP-30-02 Question 7

D)

PCEP-30-02 Question 7

Options:
A.

Option A

B.

Option B

C.

Option C

D.

Option D

Questions 8

What happens when the user runs the following code?

PCEP-30-02 Question 8

Options:
A.

The code outputs 3.

B.

The code outputs 2.

C.

The code enters an infinite loop.

D.

The code outputs 1.

Questions 9

What is the expected result of the following code?

PCEP-30-02 Question 9

Options:
A.

5

B.

2

C.

1

D.

The code will cause an unhandled

Exam Code: PCEP-30-02
Certification Provider: Python Institute
Exam Name: PCEP - Certified Entry-Level Python Programmer
Last Update: Jul 19, 2025
Questions: 30
PDF + Testing Engine
$164.99
$57.75
Testing Engine
$124.99
$43.75
PDF (Q&A)
$104.99
$36.75

Python Institute Free Exams

Python Institute Free Exams
Examstrack offers free Python Institute exam materials and practice tests to aid your Python Institute certification journey.