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

You can define your own function in Alice.

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

Computer Science & Information Technology

Which unary operator is used to access the address of a variable?

a. % b. # c. * d. & e. !

Computer Science & Information Technology

As shown in the top right of the accompanying figure, ____ softens the edges of a selection.



a. anti-aliasing
b. lassoing
c. feathering
d. vignetting

Computer Science & Information Technology

Which of the following are symbols and NOT displayed on a common keyboard?

A) copyright © B) paragraph ¶ C) trademark ™ D) tilde ~

Computer Science & Information Technology