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

Page 26 of 99

What value will be assigned to the x variable?

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

Answer(s): A



What is the expected output of the following code?
print(1 / 1)

  1. 1
  2. 1.0
  3. This can not be predicted.
  4. This can not be evaluated.

Answer(s): B



What is the expected output of the following code?


  1. 1 | False
    2 | False

  2. 1 | True
    2 | True

  3. 1 | False
    2 | True

  4. 1 | True
    2 | False

Answer(s): C



What is the expected output of the following code?
print(3 * 'abc' + 'xyz')

  1. 3abcxyz
  2. abcabcxyzxyz
  3. abcabcabcxyz
  4. abcxyzabcxyzabcxyz

Answer(s): C



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