Python Institute PCEP-30-02 PCEP – Certified Entry-Level Python Programmer Online Training
Python Institute PCEP-30-02 Online Training
The questions for PCEP-30-02 were last updated at Jul 02,2025.
- Exam Code: PCEP-30-02
- Exam Name: PCEP – Certified Entry-Level Python Programmer
- Certification Provider: Python Institute
- Latest update: Jul 02,2025
What is the expected output of the following code?
- A . 0
- B . 1
- C . The code is erroneous.
- D . 2
What is the expected output of the following code?
- A . The code is erroneous.
- B . [‘Peter’, ‘Jane’, ‘Mary’]
- C . [‘Peter’, ‘Jane’]
- D . [‘Paul’, ‘Mary’, ‘Jane’]
What is the expected output of the following code?
- A . 4
- B . 10
- C . Nothing gets printed.
- D . The code is erroneous.
After execution of the following snippet, the sum of all vals elements will be equal to:
- A . 4
- B . 5
- C . 2
- D . 3
What is the expected output of the following code?
- A . 4
- B . 2
- C . 10
- D . 0
- E . 1
- F . 3
What is the output of the following snippet?
- A . [0, 1, 9, 16]
- B . [0, 1, 4, 16]
- C . [0, 1, 4, 9]
- D . [1, 4, 9, 16]
What is the expected output of the following code?
- A . [4, 3, 2, 1]
- B . [4, 3, 2]
- C . [4, 3]
- D . The code is erroneous.
Take a look at the snippet and choose one of the following statements which is true:
- A . nums and vals are of the same length
- B . nums is longer than vals
- C . vals is longer than nums
What is the expected output of the following code?
- A . 01
- B . 10
- C . The code is erroneous.
- D . 00