Free PCEP-30-02 Exam Braindumps
PCEP - Certified Entry-Level Python Programmer Questions 106–110 (page: 23)

Updated On: 10-Feb-2026

What would you insert instead of ???, so that the program prints True to the monitor?

  1. x < y
  2. x is not y
  3. x is y
  4. x != y

Answer(s): C



What is the expected output of the following code?

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

Answer(s): A



What is the expected output of the following code?

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

Answer(s): A



What is the data type of x, y, z after executing the following snippet?

  1. int, int, int
  2. x is int,
    y and z are invalid declarations
  3. int, str, int
  4. int, str, str

Answer(s): D



What is the expected output of the following code?

x = 2
y = 6
x += 2 ** 3
x //= y // 2 // 3
print(x)

  1. 9
  2. 10
  3. 0
  4. 11

Answer(s): B



Viewing page 23 of 79
Viewing questions 111 - 115 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!