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

Page 31 of 99

What is the expected output of the following code?


  1. 1 | False
    2 | True
    3 | False
    4 | True

  2. 1 | False
    2 | True
    3 | True
    4 | True

  3. 1 | False
    2 | True
    3 | True
    4 | False

  4. 1 | False
    2 | False
    3 | True
    4 | True

Answer(s): B



Evaluate the following Python arithmetic expression:
(3 * (1 + 2) ** 2 - (2 ** 2) * 3)

What is the result?

  1. 13
  2. 3
  3. 69
  4. 15

Answer(s): D



What value will be assigned to the x variable?

  1. 1
  2. False
  3. True

Answer(s): C



Consider the following code.

What does the second assignment do?

  1. It shortens the list.
  2. It reverses the list.
  3. It doesn’t change the list.
  4. It extends the list.

Answer(s): B



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