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 Jun 28,2025.
- Exam Code: PCEP-30-02
- Exam Name: PCEP – Certified Entry-Level Python Programmer
- Certification Provider: Python Institute
- Latest update: Jun 28,2025
Which one of the lines should you put in the snippet below to match the expected output?
Expected output:
Code:
- A . sorted(list)
- B . sort(list)
- C . list.sort()
- D . list.sorted()
Which of the following sentences are true about the code? (Choose two.)
- A . nums and vals are different lists
- B . vals is longer than nums
- C . nums and vals are different names of the same list
- D . nums and vals have the same length
The second assignment:
- A . extends the list
- B . doesn’t change the list’s length
- C . shortens the list
What is the expected output of the following code?
- A . efg
- B . abc
- C . def
- D . The code is erroneous.
- E . abcde
- F . None of the above.
Which function does in-place reversal of objects in a list?
- A . list.sort([func])
- B . list.pop(obj=list[-1])
- C . list.remove(obj)
- D . list.reverse()
What is the output of the following snippet?
- A . [1, 2, 3]
- B . [3, 3, 3]
- C . [3, 2, 1]
- D . [1, 1, 1]
What snippet would you insert in the line indicated below to print .
The highest number is 10 and the lowest number is 1. to the monitor?
A ) None of the above.
B )
C )
D )
- A . Option A
- B . Option B
- C . Option C
- D . Option D
What is the output of the following snippet?
- A . [‘Mary’, ‘had’, ‘a’, ‘little’, ‘lamb’]
- B . [‘Mary’, ‘had’, ‘a’, ‘lamb’]
- C . [‘Mary’, ‘had’, ‘a’, ‘ramb’]
- D . No output, the snippet is erroneous
What is the expected output of the following code?
- A . Paul
- B . Mary
- C . The code is erroneous.
- D . None of the above.
- E . Peter