The following is the pseudocode for which type of algorithm?
```
Set found to false
Set position to -1
Set index to 0
While found is false and index < number of elements
If list[index] is equal to search value
found = true
position = index
End If
Add 1 to index
End While
Return position
```
a. linear sort
b. linear search
c. binary search
d. selection sort
e. None of these
b. linear search
Computer Science & Information Technology
You might also like to view...
A table of contents can include leader characters to draw the reader's attention across the page
Indicate whether the statement is true or false
Computer Science & Information Technology
A(n) ____________________ is typically a dedicated box that supports any UC provided service.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology