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

Page 30 of 99

Which expression evaluates to 7?

  1. 9 % 3 + 7
  2. 9 - 3 * 7
  3. 9 // 3 - 7
  4. 9 / 3 * 7

Answer(s): A



The // operator:

  1. performs integer division
  2. performs regular division
  3. does not exist

Answer(s): A



Which of the following statements are correct? (Choose two.)

  1. 7 + False evaluates to False
  2. True or False evaluates to True
  3. True + 1 evaluates to 2
  4. True and False evaluates to True
  5. type('') returns <class 'bool'>

Answer(s): B,C



What is the output of the following snippet?

  1. 25.0
  2. The snippet will cause an execution error.
  3. 17.0
  4. 17

Answer(s): C



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