Question 21
What is the expected output of the following code?
- 4
- 6
- 5
- 3
Question 22
A data structure described as LIFO is actually a:
- stack
- tree
- list
- heap
Question 23
How would you remove all the items from the d dictionary? Expected output: Code:
- d.del()
- d.remove()
- del d
- d.clear()
Question 24
What is the expected output of the following code?
- three
- ('one', 'two', 'three')
- two
- one
Question 25
What is the expected output of the following code?
- False
- 1
- 0
- True