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 expected output of the following code?
- A . 1 | True
2 | True
3 | False
4 | False - B . 1 | True
2 | False
3 | False
4 | False - C . 1 | True
2 | False
3 | False
4 | True - D . 1 | True
2 | False
3 | True
4 | False
You are writing a Python program that evaluates an arithmetic formular.
The formular is described as b equals a multiplied by negative one, then raised to the second power, where a is the value that will be input and b is the result. a = eval (input (‘Enter a number for the equation: ‘))
Which of the following is a valid expression for the given requirement?
- A . b = (-a) ** 2
- B . b = (a-) ** 2
- C . b = (a) ** -2
- D . b = -(a) ** 2
What is the expected output of the following code?
print (2 ** 3 ** 2 ** 1)
- A . 64
- B . 16
- C . 128.0
- D . The code is erroneous.
- E . 16.0
- F . 512
Which of the following code snippets will print True to the monitor? (Choose two.)
A )
B )
C )
D )
E )
- A . Option A
- B . Option B
- C . Option C
- D . Option D
- E . Option E
The ** operator …
- A . does not exist.
- B . performs fl oating-point multiplication.
- C . performs duplicated multiplication.
- D . performs exponentiation.
Right-sided binding means that the following expression
will be evaluated:
- A . from right to left
- B . in random order
- C . from left to right
What is the expected output of the following code?
print (type (1 / 2))
- A . <type ‘double’>
- B . <type ‘int’>
- C . <type ‘number’>
- D . <type ‘tuple’>
- E . <type ‘ oat’>
What is the expected output of the following code?
- A . 01
- B . 10
- C . The code is erroneous.
- D . 00
- E . 11