Linear search

A search is a method for finding an item of data.

The simplest type of search is a linear search (serial or sequential search), which basically starts at the beginning of a file, reading each record until the required record is found.

Not an efficient method of searching but if the data is not sorted, this is the only method of searching.

Pseudocode:

Start at beginning of data
Repeat
  Read a data item
Until required data is found;