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

Page 27 of 99

What is the expected output of the following code?


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

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

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

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

Answer(s): B



What would you insert instead of ???, so that the program prints True to the monitor?

  1. x < y
  2. x is not y
  3. x is y
  4. x != y

Answer(s): C



What is the expected output of the following code?

  1. 1 2 3
  2. 1 2 2
  3. 3 2 1
  4. 2 1 3

Answer(s): A



What is the expected output of the following code?

  1. 1
  2. 2
  3. 4
  4. 3

Answer(s): A






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

PCEP-30-02 Discussions & Posts