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 04,2025.
- Exam Code: PCEP-30-02
- Exam Name: PCEP – Certified Entry-Level Python Programmer
- Certification Provider: Python Institute
- Latest update: Jul 04,2025
Question #71
Question #72
What is the output of the following snippet?
- A . [1, 2, 3, 1, 2, 3]
- B . [3, 2, 1, 1, 2, 3]
- C . [1, 1, 1, 1, 2, 3]
- D . [1, 2, 3, 3, 2, 1]
Question #73
Insert the correct snippet to convert the t tuple to a dictionary named d.
Expected output:
Code:
- A . t >> d.dict
- B . d = dict(t)
- C . d.dict(t)
- D . d = t(dict)
Question #74
Question #75
Question #76
What is the expected output of the following code?
- A . {(2, 3): 2}
- B . {(1, 2): 1}
- C . The code is erroneous.
- D . 1
Question #77
Take a look at the snippet and choose the true statement:
- A . vals is longer than nums
- B . nums is longer than vals
- C . nums and vals have the same length
- D . The snippet will cause a runtime error.
Question #78
What is the expected output of the following code?
- A . 3
- B . The code is erroneous.
- C . 6
- D . 7
Question #79
What would you insert instead of ???, so that the program checks for even numbers?
- A . x % ‘even’ == True
- B . x % 2 == 1
- C . x % 2 == 0
- D . x % x == 0
- E . x % 1 == 2
Question #80