Python Institute PCEP-30-02 Übungsprüfungen
Zuletzt aktualisiert am 26.04.2025- Prüfungscode: PCEP-30-02
- Prüfungsname: PCEP – Certified Entry-Level Python Programmer
- Zertifizierungsanbieter: Python Institute
- Zuletzt aktualisiert am: 26.04.2025
Question #41
Question #42
What is IDLE?
- A . An acronym that stands for Integrated Development and Learning Environment for Python
- B . An acronym that stands for Interactive Development and Learning Extension
- C . A version of Python
Question #43
isalnum() checks if a string contains only letters and digits, and this is:
- A . A module
- B . A function
- C . A method
Question #44
Which of the following variable names are illegal? (Choose two.)
- A . True
- B . true
- C . and
- D . TRUE
Question #45
What is the expected output of the following code?
- A . 3
- B . 5
- C . The code is erroneous.
- D . 14
Question #46
A code point is:
- A . A point used to write a code.
- B . A number which makes up a character.
- C . A code containing a point.
Question #47
Which of the following are the names of Python passing argument styles? (Choose two.)
- A . indicatory
- B . positional
- C . reference
- D . keyword
Question #48
What is the expected output of the following code?
- A . The code is erroneous.
- B . 2
- C . 1
- D . 0
Question #49
Analyze the following code fragments that assign a boolean value to the variable even?
- A . All three are correct, but Code-2 is preferred.
- B . All three are correct, but Code-3 is preferred.
- C . Code-3 has a syntax error because you attempt to assign a number to even.
- D . All three are correct, but Code-1 is preferred.
- E . Code-2 has a syntax error because you cannot have True and False literals in the conditional expression.
Question #50
You execute the following command in the terminal.
python index.py Hello
You want the command to print out Hello.
What has to be inside of index.py?
A )
B )
C )
D )
- A . Option A
- B . Option B
- C . Option C
- D . Option D