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 #71
What is the expected output of the following code?
A )
B )
C )
D ) The code is erroneous.
- A . Option A
- B . Option B
- C . Option C
- D . Option D
Question #72
Which of the following sentences is true?
- A . str1 and str2 are different (but equal) strings.
- B . str1 and str2 are different names of the same strings.
- C . str1 is longer than str2
- D . str2 is longer than str1
Question #73
Which of the following statements is false?
- A . The None value can be compared with variables.
- B . The None value can not be used as an argument of arithmetic operators.
- C . The None value may not be used outside functions.
- D . The None value can be assigned to variables.
Question #74
What is the expected output of the following code?
- A . 4
- B . The code is erroneous.
- C . 2
- D . 1
Question #75
Question #76
Question #77
The part of your code where you think an exception may occur should be placed inside:
- A . the except: branch
- B . the exception: branch
- C . the try: branch
Question #78
What is the expected output of the following code?
- A . 1*1*1
- B . 1 1 1
- C . x*y*z
- D . The code is erroneous.
- E . 111*
- F . x y z
Question #79
Question #80
What is the expected output of the following code?
- A . (‚Peter‘, ‚Peter‘,)
- B . PeterPeter
- C . The code is erroneous.
- D . (‚Peter‘)
- E . ()