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

1. STL set operations are essentially insert, delete, and the query, “Is it there?”.
2. A Map is a function given as a set of ordered pairs. The first is the key that has to have ordering and the second is any type. The position of a pair in the set is determined by the ordering on the keys.
3. The notation m["stringval"] = 100 is valid if m is a map that takes a pair of type (string,
4. The set container implements only iterator.
5. Order of magnitude estimates don’t work well if we are interested in behavior for small data sets.

1. True
2. True
3. True
4. False
5.True

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT a step in creating a many-to-many relationship?

A) Create a junction table. B) The junction table is on the many side of both relationships. C) Populate the junction table after the relationships have been created. D) Only add the keys to the junction table.

Computer Science & Information Technology

________ are pieces of code—often sent as attachments or hidden in audio clips, video clips and games—that attach to or overwrite other programs to replicate themselves.

a) Parasites. b) Viruses. c) Bacteria. d) None of the above.

Computer Science & Information Technology