77.0k views
5 votes
When searching for the entry X within the list using sequential search R, S, T, U, V, W, Z how many entries will be considered before discovering that the entry is not present? (Note that the list is in alphabetical order.)

User Krummens
by
5.7k points

1 Answer

2 votes

Answer:

7 if we are using the sequential search or linear search.

Step-by-step explanation:

In linear search it goes to every element and checks if the element is X or not if the element is .So we have seven characters it will go to every element and will check if the element is X or not.Hence it will check 7 times.

User Deunz
by
5.6k points