Which of the following methods is used in accessing sequential files?
A
Sequential access
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
Random access
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Both (1) and (2)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B Sequential access Sequential access methods are used in accessing sequential files. Sequential access is an access to a computer data file that requires the user to read through the file from the beginning in the order in which it is stored.
The sequential file is a file that contains records or other elements that are stored in a chronological order based on account number or some other identifying data. Sequential files must be read starting at the beginning of the file.