ITSC121F2019Lab8

From BU Computer Science
Jump to navigation Jump to search

Lab 8

For this lab you are to write three programs. Do NOT look up the solutions on the Internet!

  • 7.1 (read the grades from a file (called probl1.txt) using the end of file to determine when done. Don't read the number of students)
  • 7.16
  • 7.26

What to turn in

A zip folder with:

  1. The java code for all programs
  2. A word document that includes:
    1. Your name
    2. Description of each program
    3. The time it took to write each program
    4. A testing report that includes:
      1. Why you think each program is correct (sample input/output)
      2. Two examples of bad input for each problem that has input
    5. A report from 7.16 that compares the time for the linearSearch vs. the time for BinarySearch when running the program a total of 50 times.

Additional notes

  • Don't forget to comment your code.
  • Watch your spacing and line length
  • Use good variable names
  • Use good prompts

Due Date is found on Canvas