Python Institute PCEP-30-02 Übungsprüfungen
Zuletzt aktualisiert am 27.04.2025- Prüfungscode: PCEP-30-02
- Prüfungsname: PCEP – Certified Entry-Level Python Programmer
- Zertifizierungsanbieter: Python Institute
- Zuletzt aktualisiert am: 27.04.2025
Question #61
Take a look at the snippet, and choose the true statements: (Choose two.)
- A . nums is longer than vals
- B . nums and vals are of the same length
- C . vals is longer than nums
- D . nums and vals refer to the same list
Question #62
What are the four fundamental elements that make a language?
- A . An alphabet, a lexis, a syntax, and semantics
- B . An alphabet, morphology, phonetics, and semantics
- C . An alphabet, a lexis, phonetics, and semantics
- D . An alphabet, phonetics, phonology, and semantics
Question #63
What is the expected output of the following code?
- A . 10221
- B . 10212
- C . 11112
- D . 11121
- E . 21102
Question #64
DRAG DROP
Drag and drop the keywords in order to build a program which prints Failed to the screen. (Note: one keyword box will not be used.)
Question #65
What is the output of the following code?
- A . 1 | Very very bad input…
- B . 1 | Bad input…
- C . 1 | Very bad input…
- D . 1 | Booo!
Question #66
Question #67
The digraph written as #! is used to:
- A . tell an MS Windows OS how to execute the contents of a Python le.
- B . tell a Unix or Unix-like OS how to execute the contents of a Python le.
- C . create a docstring.
- D . make a particular module entity a private one.
Question #68
Which of the following function headers is correct?
- A . def func(a=1, b=1, c=2):
- B . def func(a=1, b=1, c=2, d):
- C . def func(a=1, b):
- D . def func(a=1, b, c=2):
Question #69
What is the expected output of the following code?
print(‚Mike‘ > ‚Mikey‘)
- A . False
- B . True
- C . 1
- D . 0
Question #70
What is the expected output of the following code?
A )
B )
C )
D )
- A . Option A
- B . Option B
- C . Option C
- D . Option D