Free PCEP-30-02 Exam Braindumps (page: 21)

Page 21 of 99

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

  1. 0
  2. 0.2
  3. 0.0
  4. 0.4

Answer(s): B



An operator able to check whether two values are not equal is coded as:

  1. <>
  2. !=
  3. =/=
  4. not ==

Answer(s): B



The result of the following addition:
123 + 0.0

  1. cannot be evaluated
  2. is equal to 123
  3. is equal to 123.0

Answer(s): C



What will be the output of the following code snippet?
print(3 / 5)

  1. None of the above.
  2. 0
  3. 0.6
  4. 6/10

Answer(s): C



Page 21 of 99



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

Likhaya commented on January 08, 2025
I'm impressed by this website
Anonymous
upvote

BT commented on December 18, 2024
test PCEP-30-02 exam
VIET NAM
upvote

Mike commented on November 06, 2024
Very good website
Anonymous
upvote

joyce Mensah commented on October 28, 2023
I have just purchase the python fundamentals dump, i will see how it goes
Anonymous
upvote