

McqMate
Q. |
Consider the following list. int[] intList = {35, 12, 27, 18, 45, 16, 38}; What is the minimum number of comparisons that have to be made to find 18 using a sequential search on intList? |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» D. 4 |
View all MCQs in
Java ProgrammingNo comments yet