Answer the following statements true (T) or false (F)

1) The primary purpose of a set is to determine if a particular element is a member of the set.
2) Set is not the only collection type that supports testing for membership.
3) Sets and maps can be implemented using either binary trees or by using a hashing function.
4) A hashing function is a function that maps elements of a set or a map to other elements that are in the set or the map.
5) When implementing a map class or a set class using a tree data structure, a heap is used for the tree.

1) T
2) T
3) T
4) F
5) F

Computer Science & Information Technology

You might also like to view...

In the ring topology, data flows around the circle in one direction only

Indicate whether the statement is true or false

Computer Science & Information Technology

To import a text file, you begin by clicking the From Text button in the:

A) Text group on the Data tab. B) Get External Data group on the Insert tab. C) Get External Data group on the Data tab. D) Text group on the Insert tab.

Computer Science & Information Technology