Python Institute PCEP-30-02 Übungsprüfungen
Zuletzt aktualisiert am 05.06.2025- Prüfungscode: PCEP-30-02
- Prüfungsname: PCEP – Certified Entry-Level Python Programmer
- Zertifizierungsanbieter: Python Institute
- Zuletzt aktualisiert am: 05.06.2025
Question #161
DRAG DROP
Arrange the code boxes in the correct positions to form a conditional instruction which guarantees that a certain statement is executed when the temperature variable is equal to 0.0.
Question #162
Question #163
What is the expected behavior of the following snippet?
It will:
- A . cause a runtime exception on Line 9
- B . cause a runtime exception on Line 8
- C . print 6
- D . print 4
- E . print 8
Question #164
The // operator:
- A . performs integer division
- B . performs regular division
- C . does not exist
Question #165
How many stars will the following snippet send to the console?
- A . three
- B . two
- C . one
Question #166
You are developing a Python application for an online product distribution company.
You need the program to iterate through a list of products and escape when a target product ID is found.
What would you insert instead of ??? and ??? ?
- A . 1 | if
2 | break - B . 1 | break
2 | while - C . 1 | for
2 | break - D . 1 | while
2 | break - E . 1 | while
2 | for - F . 1 | for
2 | while
Question #167
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