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...

________ reduces the file size of an image

A) Compression B) Formatting C) Reduction D) Pixelization

Computer Science & Information Technology

__________ are never the authoritative server for a DNS zone.

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

Computer Science & Information Technology

When discussing iptables, the ____________________ specifies what happens to a packet that matches a rule.

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

Computer Science & Information Technology

If there is no data in the queue when a dequeue is attempted, the queue is in an overflow state.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology