The following pseudocode statements describe the _____ list operation.set pWalker to list headloop (more nodes)   process (pWalker data)   set pWalker to next linkend loop

A. search
B. traverse
C. list count
D. destroy

Answer: B

Computer Science & Information Technology

You might also like to view...

Scaling enables you to indicate the maximum number of pages to be used when printing a worksheet

Indicate whether the statement is true or false

Computer Science & Information Technology

The following is the pseudocode for which type of algorithm?

``` Set first to 0 Set last to the last subscript in the array Set found to false Set position to -1 While found is not true and first is less than or equal to last Set middle to the subscript halfway between array[first] and array[last] If array[middle] equals the desired value Set found to true Set position to middle Else If array[middle] is greater than the desired value Set last to middle - 1 Else Set first to middle + 1 End If End While Return position ``` a. linear sort b. linear search c. binary search d. selection sort e. None of these

Computer Science & Information Technology