BU CAS CS 111: Introduction to Computer Science I

Spring 1998

Assignment 6
(due Friday 98.03.27 at 5 p.m. in room MCS 138)


  1. [4 points] Exercise 6.15, page 248.
    Test your program 3 times, on the date files:

  2. [4 points] Exercise 6.17, page 249.
    Modify the program given in this exercise as follows:

  3. [4 points] Exercise 6.34, page 257.
    Run your program 5 consecutive times, on 5 different integers read off the keyboard. Make sure to test your program for the case when the search key is not in the array.


Assaf Kfoury
Created: 98.03.20