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

Page 6 of 99

What is the expected output of the following code?

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

Answer(s): B



A data structure described as LIFO is actually a:

  1. stack
  2. tree
  3. list
  4. heap

Answer(s): A



How would you remove all the items from the d dictionary?
Expected output:

Code:

  1. d.del()
  2. d.remove()
  3. del d
  4. d.clear()

Answer(s): D



What is the expected output of the following code?

  1. three
  2. ('one', 'two', 'three')
  3. two
  4. one

Answer(s): D






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

PCEP-30-02 Discussions & Posts