CSC115 Assignment 3
CSC115 Assignment 3
CSC115 Assignment 3
Due Nov. 11, 2010
1. Describe the “Limit Test” and give an example of where it might be used.
2. Explain how you could check a date to ensure that it was a valid date. A flow chart is not required for
the explanation but you may draw a flow chart as a part of the explanation if you wish.
3. Describe the “Class Test” and given an example of where it might be used.
4. Describe the “Completeness Test” and given an example of where it might be used.
6. Describe the “Completeness Test” and given an example of where it might be used.
7. Describe the “Consistency Test” and given an example of where it might be used.
8. To validate a date using a computer, which validity check would you most likely use?
a. Limit check
b. Reasonable check
c. Range check
d. Date cannot be validated using validity checks
e. None of the above
9. Describe the “Format Test” and give an example of where it might be used.
10. Describe the “Exact Match” and given a example of where it might be used.
11. What are the four types of maintenance that are performed on data files.
15. Explain what index files are and how they are used.
16. In the hierarchy chart, files are closed:
a. In the Initialization Section
b. In the Process Section
c. In the Termination Section
d. Wherever you want
e. None of the above
19. Draw a flowchart fragment that would read a file using sequential access and find record number 45.