Free PCEP-30-02 Exam Braindumps
PCEP - Certified Entry-Level Python Programmer Questions 96–100 (page: 21)

Updated On: 10-Feb-2026

The += operator, when applied to strings, performs:

  1. Subtraction
  2. Concatenation
  3. Multiplication

Answer(s): B



What is the expected output of the following code?

  1. 8
  2. 7.0
  3. 8.0
  4. 9.0

Answer(s): C



Consider the following code.

The value eventually assigned to x is equal to:

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

Answer(s): C



What is the output of the following code?

  1. The program will cause an error.
  2. False
  3. None
  4. True

Answer(s): D



What is the expected output of the following code?
x = 1 + 1 // 2 + 1 / 2 + 2
print(x)

  1. 3
  2. 4.0
  3. 4
  4. 3.5

Answer(s): D



Viewing page 21 of 79
Viewing questions 101 - 105 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!