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

Page 36 of 99

What is the output of the following code?

  1. 2x
  2. 22
  3. The program will cause an error.
  4. 4

Answer(s): B



What is the output of the following snippet if the user enters two lines containing 3 and 6 respectively?

  1. 333333
  2. 18
  3. 36
  4. 666

Answer(s): A



What is the expected output of the following code?

  1. The code is erroneous.
  2. TRUE
  3. FALSE
  4. None of the above.

Answer(s): B



What is the expected output of the following code if the user enters 2 and 4?

  1. 1.0
  2. 4.0
  3. 2.0
  4. 0.0

Answer(s): C






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

PCEP-30-02 Discussions & Posts