Moderate# Search Algorithms Two

APCSP-4EG4XI

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 found what are searching for!
- discard the first value in your deck
- return to step 1

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