Answer the following statements true (T) or false (F)
1. If X = INT(6.5) then the value of X is 7.
2. After the first pass of an ascending sort operation is completed, the first value in the group is definitely known to contain the smallest value.
3. After the first pass of a descending sort operation is completed, the last value in the group is definitely known to contain the smallest value.
4. A sequential search is more efficient than a binary search.
5. Loading a table is usually done in the initialization portion of a program.
1. false
2. true
3. false
4. false
5. True
You might also like to view...
Which of the following statements will assign the contents of a TextBox control named txtInput into the Text property of a Label control named lblDisplay?
a. txtInput = lblDisplay b. txtInput.Text = lblDisplay.Text c. lblDisplay = txtInput d. lblDisplay.Text = txtInput.Text
A(n) ________ is used to display a line number for each record
Fill in the blank(s) with correct word
Function os.wait returns a two-element tuple that contains the________and the child’s________—an integer that indicates the state in which the child process exited.
a) child’s pid, exit status. b) child’s pid, exit code. c) parent’s pid, exit status. d) None of the above.
How many elements are in array double[] list = new double[5]?
a. 4 b. 5 c. 6 d. 0