Unformatted text preview: is commonly known as the exchange flag .) Display a message indicating “early exit” whenever it occurs. Show two examples: One with an early exit and one that completes the n-1 passes. 2. Binary Search Problem Rewrite the BinarySearch procedure in Section 9.5.2 by using registers instead of variables for mid, first and last. Add good comments to indicate the register usage....
View Full Document
This note was uploaded on 09/08/2010 for the course CMPE 46 at San Jose State.