Search(A, size, key) found = false; pos = 0 while pos < size and not found if A[pos] == key found = true else ++pos return pos;