Easy# Search Algorithms One

APCSP-IN7E1Q

Consider the following algorithms.

Assume that you have a deck of cards with numbers on them, and you are looking for a card with a particular number:

**Algorithm 1:**

- look at the middle card in your deck.
- if correct, done! You have found what you are searching for!
- if you are looking for a larger number, discard the lower half of the deck
- else, discard the upper half of the deck
- return to step 1

**Algorithm 2:**

- look at the first card in your deck.
- if this is what you are looking for, great! You have found what you are searching for!
- discard the first card in your deck
- return to step 1

Which of the following statements is **TRUE**?