Question 56
What is the expected output of the following code?
- 4
- 2
- 10
- 0
- 1
- 3
Question 57
What is the output of the following snippet?
- [0, 1, 9, 16]
- [0, 1, 4, 16]
- [0, 1, 4, 9]
- [1, 4, 9, 16]
Question 58
What is the expected output of the following code?
- [4, 3, 2, 1]
- [4, 3, 2]
- [4, 3]
- The code is erroneous.
Question 59
Take a look at the snippet and choose one of the following statements which is true:
- nums and vals are of the same length
- nums is longer than vals
- vals is longer than nums
Question 60
What is the expected output of the following code?
- 0 1
- 1 0
- The code is erroneous.
- 0 0