Python Institute PCEP-30-02 Exam Questions
PCEP - Certified Entry-Level Python Programmer (Page 8 )

Updated On: 21-Feb-2026

What is the expected output of the following code?

  1. [7, 3, 23, 42]
  2. [7, 20, 23, 42]
  3. [10, 20, 42]
  4. [10, 20, 23, 42]

Answer(s): B



Take a look at the snippet and choose one of the following statements which is true:

  1. vals is longer than nums
  2. nums and vals are of the same length
  3. nums is longer than vals

Answer(s): B



What is the expected output of the following code?

  1. (1, 2)
  2. The code is erroneous.
  3. {'a':1, 'b':2}
  4. [1,2]

Answer(s): B



How many elements does the L list contain?

  1. one
  2. two
  3. three
  4. zero

Answer(s): D



What is the output of the following snippet?

  1. 1
  2. 0
  3. 6

Answer(s): B






Post your Comments and Discuss Python Institute PCEP-30-02 exam dumps with other Community members:

Join the PCEP-30-02 Discussion