Use the selectionSort method presented in this section to answer this question. What is list1 after executing the following statements?

```
double[] list1 = {3.1, 3.1, 2.5, 6.4};
selectionSort(list1);
```
a. list1 is 3.1, 3.1, 2.5, 6.4
b. list1 is 2.5 3.1, 3.1, 6.4
c. list1 is 6.4, 3.1, 3.1, 2.5
d. list1 is 3.1, 2.5, 3.1, 6.4


b. list1 is 2.5 3.1, 3.1, 6.4

Computer Science & Information Technology

You might also like to view...

____ is an operational process that is carried out to ensure the continuing effectiveness of continuity plans.

A. Recovery analysis B. Threat analysis C. Business impact analysis D. Risk analysis

Computer Science & Information Technology

____________________ tests are carried out to examine a pre-defined issue.

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

Computer Science & Information Technology

What is wrong with this code?

```class Jeans { private: int size; string brand; public: Jeans() {size = 10; brand = “Levis”;} void SetSize(int s) {size = s;} void SetBrand(string b){brand = b;} }; int main() { Jeans jeans; jeans.size = 8; return 0; }``` A. Nothing is wrong with this code. B. Can’t have two statements in Jeans( ). C. Size is a private variable of Jeans, can’t be accessed by jeans. D. Assignment in main should be Jeans.size = 8;

Computer Science & Information Technology

The ________ format can be opened and read by any computer running a Windows operating system. Therefore, this is particularly useful when you are unsure of what software the recipient of the e-mail has available

Fill in the blank(s) with correct word

Computer Science & Information Technology