CBSE Class 11 Computer Science Question 8 of 112

Dictionaries — Question 8

Back to all questions
8
Question

Question 8

What do you understand by ordered collection and unordered collection ? Give examples.

Answer

Ordered Collection is the one in which the position of each element is fixed.
Example: List, strings, Tuples

Unordered Collection is the one in which position of each element is not fixed i.e., the order of all the elements are not maintained.
Example: Sets, Dictionaries