Free PCEP-30-02 Exam Braindumps
PCEP - Certified Entry-Level Python Programmer Questions 101–105 (page: 22)

Updated On: 10-Feb-2026

What value will be assigned to the x variable?

  1. False
  2. 0
  3. 1
  4. True

Answer(s): A



What is the expected output of the following code?
print(1 / 1)

  1. 1
  2. 1.0
  3. This can not be predicted.
  4. This can not be evaluated.

Answer(s): B



What is the expected output of the following code?


  1. 1 | False
    2 | False

  2. 1 | True
    2 | True

  3. 1 | False
    2 | True

  4. 1 | True
    2 | False

Answer(s): C



What is the expected output of the following code?
print(3 * 'abc' + 'xyz')

  1. 3abcxyz
  2. abcabcxyzxyz
  3. abcabcabcxyz
  4. abcxyzabcxyzabcxyz

Answer(s): C



What is the expected output of the following code?


  1. 1 | True
    2 | False
    3 | True
    4 | False

  2. 1 | False
    2 | False
    3 | True
    4 | True

  3. 1 | False
    2 | True
    3 | True
    4 | True

  4. 1 | False
    2 | True
    3 | False
    4 | True

Answer(s): B



Viewing page 22 of 79
Viewing questions 106 - 110 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!