Free PCEP-30-02 Exam Braindumps
PCEP - Certified Entry-Level Python Programmer Questions 201–205 (page: 42)

Updated On: 10-Feb-2026

What is the default return value for a function that does not explicitly return any value?

  1. void
  2. Null
  3. public
  4. None
  5. int

Answer(s): D



A function definition starts with the keyword:

  1. fun
  2. def
  3. function

Answer(s): B



The function body is missing.
What snippet would you insert in the line indicated below:

  1. print('number')
  2. return 'number'
  3. print(number)
  4. return number

Answer(s): D



What is the expected output of the following code?

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

Answer(s): A



If a list passed into a function as an argument, deleting any of its elements inside the function using the del instruction:

  1. will not affect the argument
  2. will cause a runtime error
  3. will affect the argument

Answer(s): C



Viewing page 42 of 79
Viewing questions 206 - 210 out of 481 questions


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

AI Tutor AI Tutor 👋 I’m here to help!