The correct answer is: A. sequential and random.
Sequential access is a method of accessing data in a file in a linear order, from the beginning to the end. Random access is a method of accessing data in a file in any order, without having to read all the data before the desired data.
Sequential access is typically used for files that are accessed in a linear order, such as a text file or a list of records. Random access is typically used for files that are accessed in a non-linear order, such as a database or a spreadsheet.
Indexed access is a method of accessing data in a file using an index. An index is a data structure that stores the location of data in a file. Indexed access can be used to improve the performance of random access.
Direct access is a method of accessing data in a file without using an index. Direct access is typically used for files that are accessed very frequently, such as a database or a spreadsheet.
On-line access is a method of accessing data that is stored on a computer that is connected to a network. Real-time access is a method of accessing data that is updated as it is being created.
On-line access and real-time access are not types of record-access methods.