Official Bank 0/30

Python Institute PCEP – Certified Entry-Level Python Programmer (PCEP-30-02) - Python Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
30 Total Questions
1
Question
DRAG DROP Drag and drop the literals to match their data type names.

Exhibit
Reveal Only
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
DRAG DROP Arrange the code boxes in the correct positions to form a conditional instruction which guarantees that a certain statement is executed when the speed variable is less than 50.0.

Exhibit
Reveal Only
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
DRAG DROP 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).

Exhibit
Reveal Only
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
DRAG DROP
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.)

Exhibit
Reveal Only
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
What is the expected output of the following code?

Exhibit
Options
A The code raises an exception and outputs nothing.
B 5
C 6
D 4
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.