What type of search does the following function implement?bool aSearch (int list[ ], int last,int target, int* locn){   int looker;   looker = 0;   while (looker < last && target != list[looker])      looker++;   *locn = looker;   return ( target == list[looker] );}

A. sequential search
B. sentinel search
C. ordered list search
D. binary search

Answer: A

Computer Science & Information Technology

You might also like to view...

What is the maximum number of strings that can be manipulated with the CONCATENATE function?

A) 25 B) 125 C) 255 D) 200

Computer Science & Information Technology

If your list of sources becomes ____________________ when you select the heading Bibliography, this indicates the Bibliography field is active.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology