Python Institute PCEP-30-02 Übungsprüfungen
Zuletzt aktualisiert am 29.05.2025- Prüfungscode: PCEP-30-02
- Prüfungsname: PCEP – Certified Entry-Level Python Programmer
- Zertifizierungsanbieter: Python Institute
- Zuletzt aktualisiert am: 29.05.2025
Question #101
What is the expected output of the following code?
- A . 4
- B . 10
- C . Nothing gets printed.
- D . The code is erroneous.
Question #102
How many stars will the following code print to the monitor?
- A . two
- B . one
- C . The snippet will enter an in fi nite loop.
- D . zero
Question #103
What is the expected output of the following code?
- A . None
- B . 1
- C . The code is erroneous.
- D . 2
Question #104
What is the output of the following snippet?
- A . [‚Mary‘, ‚had‘, ‚a‘, ‚little‘, ‚lamb‘]
- B . [‚Mary‘, ‚had‘, ‚a‘, ‚lamb‘]
- C . [‚Mary‘, ‚had‘, ‚a‘, ‚ramb‘]
- D . No output, the snippet is erroneous
Question #105
What is the expected output of the following code?
- A . 7777777
- B . The code is erroneous.
- C . 49
- D . 77
Question #106
What is the expected output of the following code?
- A . hellopeter
- B . hello@Peter!!
- C . hello@peter!!
- D . None
Question #107
Which of the following functions can be invoked without arguments?
- A . def gamma(level):
pass - B . def delta (level, size = 0):
pass - C . def alpha (level=100):
pass - D . def beta (None):
pass
Question #108
Which of the following is the output of the below Python code?
- A . Hello World
- B . dlroWolleH
- C . World
- D . Hello
Question #109
What will be the output of the following code snippet?
- A . [1, 3, 5, 7, 9]
- B . [8, 9]
- C . [1, 2, 3]
- D . [1, 2]
Question #110
How many stars will the following snippet print to the monitor?
- A . three
- B . zero
- C . one
- D . two