0% found this document useful (0 votes)
29 views2 pages

CSC115 Assignment 3

This document outlines an assignment for a CSC115 course due on November 11, 2010. The assignment contains 20 multiple choice and explanatory questions about software testing techniques like limit tests, class tests, and validity checks and file processing concepts like opening and closing files, record and field structure, sequential versus random access, and using index files.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views2 pages

CSC115 Assignment 3

This document outlines an assignment for a CSC115 course due on November 11, 2010. The assignment contains 20 multiple choice and explanatory questions about software testing techniques like limit tests, class tests, and validity checks and file processing concepts like opening and closing files, record and field structure, sequential versus random access, and using index files.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Name

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.

5. Select the invalid date from the list below:


a. February 29, 2000
b. February 29, 1900
c. February 29, 1804
d. February 29, 1708
e. None of the above

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.

12. Describe the differences between random and sequential access.

13. Explain the term “end-of-file” in terms of files.

14. Which statement is true of using files?


a. Files must be opened by the user before being used.
b. Files must be closed by the user after being used.
c. Files that are opened must be closed.
d. All of the above.
e. None of the above.

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

17. In terms of files, explain the terms “record” and “field.”

18. In the hierarchy chart, files are opened:


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.

20. Files on magnetic tape are usually accessed using:


a. A random access algorithm
b. A sequential access algorithm
c. A circular access algorithm
d. A binary algorithm
e. None of the above

You might also like