____ sort sorts the list by moving each element to its proper place.
A. Quick
B. Bubble
C. Selection
D. Insertion
Answer: D
You might also like to view...
What will be output from the following code:
``` public void t e s t 6 ( ) f int x = 1 2 ; int y = 0 ; while ( x < 10 && y < 1) { x = x + 1 ; y = y + 1 ; System . out . p r i n t l n ( x + " , " + y ) ; } } ```
What is the output of this code?
``` int main() { int x; if(x == 2) { cout<<”x is 2”; } else { cout<<”x is not 2”; x = x + 5; return 0; } ``` A. No output. B. x is 2 C. x is not 2 D. x is never initialized, so it won’t compile.
Facebook is second only to LinkedIn for job hunters and for employers seeking to fill new positions
Indicate whether the statement is true or false
Case-Based Critical Thinking Questions ? Case 1: Tony's Pizza & Pasta ? Tony's Pizza & Pasta restaurant uses an application to update and display menu items and the related price information. Daily "Chef's Specials" are stored using two one-dimensional parallel arrays. The days of the week are stored in thestrDaysarray, with Sunday as the first element. The daily special for each day is stored in a parallel array namedstrSpecial. Which of the following statements assigns Friday's special, which is rigatoni, to the appropriate element?
A. strSpecial(6) = rigatoni B. strSpecial(5) = rigatoni C. strSpecial(6) = "rigatoni" D. strSpecial(5) = "rigatoni"