Free PCEP-30-02 Exam Braindumps
PCEP - Certified Entry-Level Python Programmer Questions 141–145 (page: 30)

Updated On: 10-Feb-2026

What is the output of the following code?

  1. 2x
  2. 22
  3. The program will cause an error.
  4. 4

Answer(s): B



What is the output of the following snippet if the user enters two lines containing 3 and 6 respectively?

  1. 333333
  2. 18
  3. 36
  4. 666

Answer(s): A



What is the expected output of the following code?

  1. The code is erroneous.
  2. TRUE
  3. FALSE
  4. None of the above.

Answer(s): B



What is the expected output of the following code if the user enters 2 and 4?

  1. 1.0
  2. 4.0
  3. 2.0
  4. 0.0

Answer(s): C



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

  1. 2.5
  2. 2
  3. 2.25
  4. 2.0

Answer(s): D



Viewing page 30 of 79
Viewing questions 146 - 150 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!