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

Updated On: 26-Jan-2026

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



What is the expected output of the following code?

  1. 4
  2. 2
  3. 10
  4. 0
  5. 1
  6. 3

Answer(s): A



Viewing page 15 of 99
Viewing questions 57 - 60 out of 481 questions



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

Join the PCEP-30-02 Discussion