Week 2 Unit 6: Self-test

05. December 2024

Question 1

Which of the following statements about sequences are correct?

Note: There are 2 correct answers to this question.


It is possible to execute the functions "max()" and "min()" with a string as the parameter.
If strings are sorted, they are sorted first by the number of characters. If two strings have the same number of characters, they are sorted alphabetically.
Sequences handle ordered data. Ordered does not mean that the data is sorted. Ordered means that each element of the sequence has a defined place, which can be accessed by an index.
Within a sequence, each element is unique.
Within a sequence, all elements are sorted.

< Previous unit | Next unit > | Course Overview