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

Page 33 of 99

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

  1. 0.5
  2. 0.0
  3. None of the above.
  4. 0

Answer(s): D



What is the result of the following code?

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

Answer(s): B



What is the expected output of the following code?


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

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

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

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

Answer(s): B



The expression:
'mike' > 'Mike'
is

  1. erroneous
  2. true
  3. false

Answer(s): B






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

PCEP-30-02 Discussions & Posts