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
What is the expected result of running the following code?

Exhibit
Options
A The code prints 0
B The code prints 1 .
C The code raises an unhandled exception.
D The code prints 2
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
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!

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

Exhibit
Options
A *
B The code produces no output.
C * *
D * * *
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
DRAG DROP Drag and drop the code boxes in order to build a program which prints Unavailable to the screen. (Note: one code box 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
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!

Finish Practice?

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