Week 5 DQ 1 - find a certain I.D. number or students name...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Discussion Question 1 Write a 200- to 300-word response to the following question: In which situations would you choose to use a direct access or random access file instead of a sequential access file? Give a specific example and explain your reasoning. The situations in which I would choose to use a direct access or random access file instead of a sequential access file is when I would have to find a certain person or number in the file. An example would be a certain needing to find a certain I.D. number of a student or a certain student’s name. The reason why I say this is because if you were to use a sequential access file to
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: find a certain I.D. number or students name in the file, and say theres over 1000 numbers or names, it would have to go through sequential order to get to the number or name. If the number of name is 500 th one or even the 1000 th one, it would take a long time to get to the I.D. number or students name that is needed. With a direct access or random access file, it can go in sequential order and it can locate that certain I.D number or name. So it just makes sense to choose the direct access or random access file instead of the sequential access file....
View Full Document

This note was uploaded on 03/08/2012 for the course CGS 3269 taught by Professor Staff during the Fall '08 term at University of Central Florida.

Ask a homework question - tutors are online