35 minutes. Instant-marked. Unlimited attempts. Each answer is marked as soon as you choose it, with an explanation. Nothing is saved in this course.
P1. Abstraction means:
It hides the inside.
P2. average(2, 10) = (a + b) ÷ 2 equals:
(2 + 10) ÷ 2 = 6.
P3. A function with the same inputs should give:
The output depends on the inputs only.
P4. In the list 9, 6, 3, 1, the item at position 1 is:
Positions count from 0.
P5. The last position in a list of 5 items is:
Positions run from 0 to 4.
P6. To find a value by name use:
The name is the key.
P7. Prices 30 and 20 with invented tax of 10 percent give a grand total of:
50 plus 5.
P8. You should test each function:
Small parts expose faults quickly.