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 #31
What is the output of the following snippet?
- A . 9
- B . The snippet is erroneous (invalid syntax).
- C . 6
Question #32
What is the expected output of the following code?
- A . 142
- B . The code is erroneous.
- C . 11
- D . 31
- E . 342
Question #33
What is the expected output of the following code if the user enters 2 and 4?
- A . 4
- B . 6
- C . 2
- D . 24
Question #34
Which of the following statements can be used to return the length of the given string str?
- A . str.size()
- B . str._len_()
- C . size(str)
- D . len(str)
Question #35
The ** operator:
- A . performs duplicated multiplication
- B . does not exist
- C . performs oating-point multiplication
- D . performs exponentiation
Question #36
Evaluate the following Python arithmetic expression:
(3*(1+2) **2-(2**2) *3)
What is the result?
- A . 13
- B . 3
- C . 69
- D . 15
Question #37
What is the expected output of the following code?
- A . ace
- B . bdf
- C . abcdef
- D . An empty line.
Question #38
Question #39
UNICODE is a standard:
- A . for coding fl oating-point numbers.
- B . used by coders from universities.
- C . honored by the whole universe.
- D . like ASCII, but much more expansive.
Question #40