Python Institute PCEP-30-02 PCEP – Certified Entry-Level Python Programmer Online Training
Python Institute PCEP-30-02 Online Training
The questions for PCEP-30-02 were last updated at Sep 14,2025.
- Exam Code: PCEP-30-02
- Exam Name: PCEP – Certified Entry-Level Python Programmer
- Certification Provider: Python Institute
- Latest update: Sep 14,2025
What is the output of the following code?
- A . 2x
- B . 22
- C . The program will cause an error.
- D . 4
What is the output of the following snippet if the user enters two lines containing 3 and 6 respectively?
- A . 333333
- B . 18
- C . 36
- D . 666
What is the expected output of the following code?
- A . The code is erroneous.
- B . TRUE
- C . FALSE
- D . None of the above.
What is the expected output of the following code if the user enters 2 and 4?
- A . 1.0
- B . 4.0
- C . 2.0
- D . 0.0
What is the expected output of the following code?
x = 4.5
y = 2
print (x // y)
- A . 2.5
- B . 2
- C . 2.25
- D . 2.0
The digraph written as #! is used to:
- A . tell an MS Windows OS how to execute the contents of a Python le.
- B . tell a Unix or Unix-like OS how to execute the contents of a Python le.
- C . create a docstring.
- D . make a particular module entity a private one.
What are the four fundamental elements that make a language?
- A . An alphabet, a lexis, a syntax, and semantics
- B . An alphabet, morphology, phonetics, and semantics
- C . An alphabet, a lexis, phonetics, and semantics
- D . An alphabet, phonetics, phonology, and semantics
What do you call a tool that lets you launch your code step-by-step and inspect it at each moment of execution?
- A . An editor
- B . A debugger
- C . A console