All necessary steps much show for these problems, please.
- The binary search algorithm is used with the following list; x
has the value “flour.” Name the elements against which x is
compared. Work shown should include which half of the list is
searched after the midpoint is determined.
butter, chocolate, eggs, flour,
shortening, sugar
- How many different bit strings of length seven are there?
- A survey of 160 college students reveals that 85 own
automobiles, 101 own bikes, 25 own motorcycles, 50 own a car and a
bike, 12 own a car and a motorcycle, 9 own a bike and a motorcycle,
and 4 own all three. How many own none of these?