CSCI 306

Makeup Questions

Due Thursday November 1



Question #1.  Max Points: 5

Purpose:  Understand exceptions, basic file handling

Assignment: Write a class named FileExceptions that does the following:
Data file:
4.5
a
6.2
b
3

Output:
Input was not a number a
Input was not a number b
Total valid items: 13.7



Question #2.  Max Points: 8

Purpose: Understand short-circuit evaluation, raw types, wrapper classes, and interfaces. 

Assignment: Copy the SetDemo class from chapter 16. Rename it MySetDemo.  Then do the following:


Question #3. Max Points: 5

Purpose:
Gain an understanding of inheritance and abstract classes

Assignment:


Submission:

Zip your code and submit on Blackboard to the area named Test1Makeup by midnight on Thursday.  Bring your test to class on Thursday and turn it in (even if you haven't submitted the zip yet).   I will return the test to you with the revised score.   Remember that you can earn up to half the points you missed on the exam.   NOTE: If you do a question, do it entirely even if you don't need the maximum points.