Python Institute PCEP-30-02 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: PCEP-30-02
  • Exam Name/Title: PCEP - Certified Entry-Level Python Programmer
  • Certification Provider: Python Institute
  • Corresponding Certification: Python Institute PCEP
  • Exam Questions: 44
  • Updated On: Jul 30, 2026
Which of the following expressions evaluate to a non-zero result? (Select two answers.)
Correct Answer: A,D Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
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.)
Correct Answer:

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.
Correct Answer:

Explanation:

One possible way to 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 is:
if speed < 50.0:
print("The speed is low.")
This code uses the if keyword to create a conditional statement that checks the value of the variable speed. If the value is less than 50.0, then the code will print "The speed is low." to the screen. The print function is used to display the output. The code is indented to show the block of code that belongs to the if condition.
You can find more information about the if statement and the print function in Python in the following references:
* Python If ... Else
* Python Print Function
A program written in a high-level programming language is called:
Correct Answer: D Vote an answer
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).
Correct Answer:

0
0
0
10