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

Updated On: 21-Feb-2026

What is the output of the following snippet?

  1. two
  2. one
  3. (‘one’, ‘two’, ‘three’)
  4. three

Answer(s): A



What is the expected output of the following code?

  1. [3, 1, 25, 5, 20, 5, 4]
  2. [1, 3, 4, 5, 20, 5, 25]
  3. [3, 5, 20, 5, 25, 1, 3]
  4. [1, 3, 3, 4, 5, 5, 20, 25]
  5. [3, 4, 5, 20, 5, 25, 1, 3]

Answer(s): C



Which of the following sentences is true?

  1. str1 and str2 are different (but equal) strings.
  2. str1 and str2 are different names of the same strings.
  3. str1 is longer than str2
  4. str2 is longer than str1

Answer(s): B



The fact that tuples belong to sequence types means:

  1. they can be modified using the del instruction
  2. they can be extended using the .append() method
  3. they are actually lists
  4. they can be indexed and sliced like lists

Answer(s): D



What is the output of the following code?

  1. [1, 1, 1]
  2. [3, -1, 1]
  3. [3, 1, 1]

Answer(s): C






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

Join the PCEP-30-02 Discussion