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

Page 28 of 99

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



The result of the following division:

  1. cannot be evaluated
  2. is equal to 1.0
  3. is equal to 1
  4. cannot be predicted

Answer(s): B



What is the expected output of the following code?

  1. 7
  2. The code is erroneous.
  3. 6.0
  4. 7.0
  5. 6

Answer(s): D



Page 28 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