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

Updated On: 5-Mar-2026

What is the expected output of the following code?

  1. 0
  2. 1
  3. The code is erroneous.
  4. 2

Answer(s): A



What is the expected output of the following code?

  1. The code is erroneous.
  2. ['Peter', 'Jane', 'Mary']
  3. ['Peter', 'Jane']
  4. ['Paul', 'Mary', 'Jane']

Answer(s): A



What is the expected output of the following code?

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

Answer(s): A



What is the expected output of the following code?

  1. 4
  2. 10
  3. Nothing gets printed.
  4. The code is erroneous.

Answer(s): B



After execution of the following snippet, the sum of all vals elements will be equal to:

  1. 4
  2. 5
  3. 2
  4. 3

Answer(s): A



Viewing page 12 of 79
Viewing questions 56 - 60 out of 481 questions



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

PCEP-30-02 Exam Discussions & Posts

AI Tutor