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 13,2025.
- Exam Code: PCEP-30-02
- Exam Name: PCEP – Certified Entry-Level Python Programmer
- Certification Provider: Python Institute
- Latest update: Sep 13,2025
What is the expected output of the following code?
print(1 / 1)
- A . 1
- B . 1.0
- C . This can not be predicted.
- D . This can not be evaluated.
What is the expected output of the following code?
- A . 1 | False
2 | False - B . 1 | True
2 | True - C . 1 | False
2 | True - D . 1 | True
2 | False
What is the expected output of the following code?
print(3 * ‘abc’ + ‘xyz’)
- A . 3abcxyz
- B . abcabcxyzxyz
- C . abcabcabcxyz
- D . abcxyzabcxyzabcxyz
What is the expected output of the following code?
- A . 1 | True
2 | False
3 | True
4 | False - B . 1 | False
2 | False
3 | True
4 | True - C . 1 | False
2 | True
3 | True
4 | True - D . 1 | False
2 | True
3 | False
4 | True
What would you insert instead of ???, so that the program prints True to the monitor?
- A . x < y
- B . x is not y
- C . x is y
- D . x != y
What is the data type of x, y, z after executing the following snippet?
- A . int, int, int
- B . x is int, y and z are invalid declarations
- C . int, str, int
- D . int, str, str
What is the expected output of the following code?
x = 2
y = 6
x += 2 ** 3
x //= y // 2 // 3
print(x)
- A . 9
- B . 10
- C . 0
- D . 11