In the following list:
John, Kate, Fred, Mark, Jon, Adam, Drew
which element is the head of the list?
a) John
b) Mark
c) Drew
d) Adam
a.
You might also like to view...
In the statement
getline (cin, aString); the characters in the input stream will be read up to but not including a) the first blank b) the first non-blank c) the first end-of-line character d) it is an error – the function needs another parameter
If its loop-continuation condition is false the first time it is evaluated, a do…while rep- etition statement __________ .
a) executes its body until the condition becomes true b) executes its body while the condition is false c) never executes d) has executed its body only once
________ moves the selection to the previous field in a table
A) Shift + Tab B) The PageUp key C) The PageDown key D) Tab
In an array-based implementation of a heap, the heapDelete operation is ______.
a) O(1) b) O(n) c) O(n2) d) O(log n)