Review on Self Test 1.6

For each of the following requirements, suggest a data structure from the Java Collection Framework.
 
Non-duplicating objects that are often retrieved sequentially based on a natural order among the objects for example alphabetical order.
 
TreeSet
HashSet
LinkedHashSet
ArrayList
For each of the following requirements, suggest a data structure from the Java Collection Framework.  
 
Non-duplicating objects that are randomly retrieved.
 
HashMap
HashTable
HashSet
TreeSet
For each of the following requirements, suggest a data structure from the Java Collection Framework.
 
A list of objects with insertions and deletions to happen anywhere in the list.
ArrayList
LinkedList
LinkedHashSet
None of the Above
For each of the following requirements, suggest a data structure from the Java Collection Framework.
 
A list of objects with insertions and deletions to happen mostly at the end of the list.
ArrayList
LinkedList
LinkedHashSet
TreeSet
For each of the following requirements, suggest a data structure from the Java Collection Framework.
 
A collection of objects uniquely identified by keys, for example student ids. Objects are often accessed in ascending order of the keys.
HashMap
HashSet
TreeMap
LinkedHashMap
{"name":"Review on Self Test 1.6", "url":"https://www.quiz-maker.com/Q7TOEDU","txt":"For each of the following requirements, suggest a data structure from the Java Collection Framework.   Non-duplicating objects that are often retrieved sequentially based on a natural order among the objects for example alphabetical order., For each of the following requirements, suggest a data structure from the Java Collection Framework.     Non-duplicating objects that are randomly retrieved., For each of the following requirements, suggest a data structure from the Java Collection Framework.   A list of objects with insertions and deletions to happen anywhere in the list.","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker