CS21b Introduction to Computing II
Lab Exam on Streams
Instructions: Read the entire page (including the Notes) before you start
working on your programs. Good Luck!
1. Create a Java Application named GradeWriter with the
following specifications:
- Input will consist of a Subject and a Letter Grade
- The application will constantly loop and ask if the user wants to enter a
new grade
- The application will write the information into a file named 'Grades.txt'
or 'Grades.dat'
2. Create a Java Application named GradeReader that reads from
the file created in #1 and computes the QPI and prints it out in the screen. Assume that all subjects are
3 units each.
*Notes:
- Although you are allowed to use a computer for this hands-on exam, you are
not allowed to consult your notes, other existing programs, slides, or
internet web sites.
- Once you complete the exam, submit it on courses.ateneo.edu
as QPIApp.zip
- If you finish before the time expires, call the attention of the
instructor so he can grade your work on the spot.
- You have 60 minutes to finish this exam. And in case you're looking for
the part on threads, I've decided to give that exam on another day. Also,
try out this practice
hands-on exam for networking.
Return to Main Index