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

Updated On: 21-Feb-2026

Which one of the lines should you put in the snippet below to match the expected output?
Expected output:

Code:

  1. reverse(list)
  2. list.reversed()
  3. list.reverse()
  4. reversed(list)

Answer(s): C



What is the expected output of the following code?

  1. ['1', '2', '3', '4']
  2. (1, 2, 3, 4)
  3. ('1', '2', '3', '4')
  4. The code is erroneous.

Answer(s): C



What is the expected output of the following code?

  1. (2)
  2. (2,)
  3. 2
  4. The code is erroneous.

Answer(s): C



What is the output of the following snippet?

  1. -2
  2. 3
  3. -1
  4. 1

Answer(s): D



An alternative name for a data structure called a stack is:

  1. LIFO
  2. FIFO
  3. FOLO

Answer(s): A






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

Join the PCEP-30-02 Discussion