What is different about mathematical sets and STL sets?

What will be an ideal response?


In mathematics, sets have no structure. The elements are not in order, all you can tell about a set is whether it is empty and count the members. I perhaps need to say some weasel words here about some mathematical niceties, but I refrain. You can tell whether a given candidate is a member of a mathematical set. The STL set supports all the tests on a mathematical set can be performed on an STL set. On the other hand, the elements of the STL set are kept sorted. There is a first and a last element. You can tell whether an STL set is empty and determine the size. These seem to be the most important differences and similarities.

Computer Science & Information Technology

You might also like to view...

Which of the following shows the correct definition of a PHP exception?

a. Exception(new, $throw, $message, $code); b. throw new Exception($message, $code); c. new Exception($message, $code); d. throw Exception(new, $message, $code);

Computer Science & Information Technology

An atomic attack is a barrage of hundreds of packets directed at a host.

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

Computer Science & Information Technology

Portable PCs have a standard _______________-mm audio out port.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

EX Case 3-1Bethany is secretary of the Student Council at her high school. In anticipation of the end of the year report she will give to the Administration on volunteer projects, monies raised and spent, and student involvement, she wants to format the report worksheets so they are easy to read. Bethany needs each of the headings to fit into a certain sized cell. To get the text to wrap, she uses the Wrap Text button in the ____ group on the Home tab.

A. Font B. Alignment C. Cell D. Editing

Computer Science & Information Technology