Serial files are kept in
- Time order.
- Primary key order.
- Size order.
- An order determined by a secondary key.
Serial files are slow because
- You have to start at the beginning of the file and work your way through all the data items until you get to the one you want.
- They are stored on slow storage media.
- You have to do complex calculations to work out where exactly some data is.
A master file is
- Regularly updated compared to a transaction file.
- Rarely updated compared to a transaction file.
- Updated as often as a transaction file.
A shop records details of each product sold in a serial file. Before it is used to update the master file, it would be a good idea to
- Put the file in a sequential order.
- Put the file in a time order.
- Put the file in a random order.
- Do nothing and just update the master file.
Magnetic tapes are
- Direct access devices.
- Serial access devices.
- Devices suitable for use with hash files.
- Devices suitable for index sequential files.
Index sequential data structures are good structures if you need to
- Sometimes search serially and sometimes search directly for a piece of data.
- Rarely need to search for a data item except for data recovery purposes.
- Only ever to search for some data serially.
- Only ever need to access data directly.
Hash files are also known as
- Random files.
- Serial files.
- Sequential files.
- Index sequential files.
Using large areas of memory to store a few items of data in a hash file is known as
- Redundancy.
- Indexless.
- Serial spanning.
- Normalisation.
A good hashing algorithm
- Minimises clashes.
- Maximises clashes.
- Maximises data redundancy.
- Uses the most complex algorithm possible.
A hashing algorithm is simply
- A maths formula.
- An ELH diagram.
- A DFD.
- A data dictionary.