Answer the following statements true (T) or false (F)
1. Before you can perform a bubble sort, the data must be stored in descending order.
2. You are more likely to find an item by using a binary search than by using a linear search.
3. If you are using the bubble sort algorithm to sort an array in descending order, the smaller values move toward the end.
4. A selection sort and a binary search can be applied to STL vectors as well as arrays.
5. The linear search repeatedly divides the portion of an array being searched in half.
1. F
2. F
3. T
4. T
5. F
You might also like to view...
To display the Find and Replace dialog box, click Replace on the ________ tab
A) HOME B) REVIEW C) INSERT D) REFERENCES
Which of the following functions correctly returns the argument value times 10?
A. new timesTen(num) { var result = num * 10; return result; } B. timesTen(num) { var result == num * 10; return result; } C. function timesTen(num) { var result == num; return result; } D. function timesTen(num) { var result = num * 10; return result; }
You can use the Internet to search for contact information and maps
Indicate whether the statement is true or false
Which of the following commands can be used to view the quota for a user?
A. quota --view jmith B. quotadisp jsmith C. quotas jsmith D. edquota -u jsmith