1. JOJI ILAGAN CAREER CENTER FOUNDATION, INC.
COLLEGE OF BUSINESS AND TOURISM
Gov. Chavez Street, Davao City
FINAL EXAMINATION
Com Ed 5 – Database Management
Jeff Rey A. Comidoy – Instructor
1ST Semester, SY 2011-2012
I. Write the term on the following definitions:
1. It is a collection of data on a given subject stored on 14. One of the parameters that are used mostly with files
a storage medium, usually a disk or CD. in a network environment
2. What is the extension of an executable file? 15. In the Open statement, it indicates how the file will
3. What is the extension of a word document files? be used.
4. What is the extension of a library files? 16. Mode of the Open statement where the file is open
5. The type of file where all the information is written in for sequential input is called.
order from beginning to end. 17. Mode of the Open statement where the file will be
6. The type of file where all records are accessible read sequentially starting at the beginning.
individually. 18. Mode of the Open statement where the file is open
7. A special type of file where the random file is for sequential output is called.
compacted. 19. Mode of the Open statement where the file will be
8. In Open “MyFile.txt” For Random Read Lock Read As created or overwritten.
#1, what is the name of the file in the disk directory? 20. Mode of the Open statement where the file is open
9. In Open “MyFile.txt” For Random Read Lock Read As for random read and write us called.
#1, what is the means to access records? 21. Mode of the Open statement where the file of any
10. In Open “MyFile.txt” For Random Read Lock Read As specific record can be accessed.
#1, what is the restriction over the files? 22. Mode of the Open statement where the file will be of
11. In Open “MyFile.txt” For Random Read Lock Read As sequential output to the end of an existing file.
#1, what is the means of file sharing? 23. Mode of the Open statement where the file will be
12. In Open “MyFile.txt” For Random Read Lock Read As open for binary read and write.
#1, what is the file handle the file being assigned to? 24. Mode of the Open statement where the file will be
13. In opening a file, what is the default value if access is accessed at a byte level.
not specified? 25. One of the two commands that allow you to write
data to a sequential file.
II. Identify whether it is sequential, random or binary file.
1. This is a file where all the information is written in order from the beginning to the end.
2. To access a given record, you have to read all the record stored before it.
3. In the old days, magnetic tape was the most commonly used medium to store data & all files were organized this way.
4. A file where all records are accessible individually.
5. It is like a CD where you can jump to any track.
6. This is useful when there is a large quantity of data to store and it has to be available quickly.
7. This method of storage became popular when hard-disk drives were developed.
8. This is a special, compacted form of the random file.
9. Data is stored at the byte level and you can read and write individual bytes to the file.
10. This makes the file access very fast and efficient.
III. Write a program in Visual Basic with the following form.