Answer the following questions true (T) or false (F)
1. The efficiency of the selection sort depends on the initial arrangement of the data.
2. Consider the following nested loop. What is the order of the algorithm?
for (int i = 0; i < n; ++i)
for (j = 1; j < n; j = 2)
…
1. False.
2. F
You might also like to view...
What is the name of the default world method that automatically runs when an Alice program is executed?
a. the first method b. main c. my first method d. start e. None of these
Which of the following statements is false?
a. The concepts of icons, menus and windows were originally developed by Xerox PARC. b. Windows is an open source operating system. c. The software that contains the core components of the operating system is called the kernel. d. Linux source code is available to the public for examination and modification.