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 Jul 05,2025.
- Exam Code: PCEP-30-02
- Exam Name: PCEP – Certified Entry-Level Python Programmer
- Certification Provider: Python Institute
- Latest update: Jul 05,2025
What is the expected output of the following code?
x = 1 // 5 + 1 / 5
print(x)
- A . 0
- B . 0.2
- C . 0.0
- D . 0.4
An operator able to check whether two values are not equal is coded as:
- A . <>
- B . !=
- C . =/=
- D . not ==
The result of the following addition:
123 + 0.0
- A . cannot be evaluated
- B . is equal to 123
- C . is equal to 123.0
What will be the output of the following code snippet?
print (3 / 5)
- A . None of the above.
- B . 0
- C . 0.6
- D . 6/10
What will be the output of the following code snippet?
- A . 1
- B . 4
- C . 2
- D . 3
- E . None
What is the expected output of the following code?
x = 1 / 2 + 3 // 3 + 4 ** 2
print(x)
- A . 17
- B . 17.5
- C . 8.5
- D . 8
You develop a Python application for your company. You have the following code.
Which of the following expressions is equivalent to the expression in the function?
- A . (a + b) * (c – d)
- B . (a + (b * c)) – d)
- C . (a + ((b * c) – d)
- D . None of the above.
What is the output of the following code?
- A . The output cannot be predicted.
- B . 2
- C . The program will cause an error.
- D . 1
What is the expected output of the following code?
x = 28
y = 8
print(x / y)
print(x // y)
print(x % y)
- A . 1 | 3.0
2 | 3
3 | 2 - B . 1 | 3.5
2 | 3
3 | 4 - C . 1 | 3
2 | 3.5
3 | 4 - D . 1 | 3.5
2 | 3.5
3 | 2
Which of the following statements are true? (Choose two.)
- A . The result of the / operator is always an integer value.
- B . The ** operator uses right-sided binding.
- C . The right argument of the % operator cannot be zero.
- D . Addition precedes multiplication.