Computer Science, asked by sunnyka2396, 1 year ago

Compare sequential and index sequential file

Answers

Answered by Rahuljaswal511411
1
Sequential Files Indexed Files Relative Files
Sequential files are called as QSAM files. Indexed files are also called as VSAM files. Relative called as VSAM files (RRDS).
Data is entered in entry sequential order. Data is entered in key sequential order. Data is entered in RRN number.
Duplicate data is allowed. Duplicate data is not allowed. Duplicate data is not allowed
Data is not in sorted order. Data is in sorted order based on key. Date is in sorted order based on RRN.
Delete is not applicable. Delete is applicable. Delete is applicable.
Access is slow. Access is faster. Access is faster than indexed files.
Key is not available. Key is available. Key is user defined. Key is part of a record. Key is available. Key is system defined, key is outside of a record.
Data is stored on tape/disk. Data is stored on disk only. Data is stored on disk only.
File modes. INPUT. OUTPUT. I-O. EXTEND. File modes. INPUT. OUTPUT. I-O. File Modes. INPUT OUTPUT I-O
Frequently used files. Rarely used files. Not yet all used.
Answered by TwinkleTwinkle11111
0
The records in a direct access file are not sorted in ascending or descending order, but are stored in random order. Like index- sequential files, random files can only be used on direct access media, such as disks. ... Explain the difference between serial and sequential file organisation.




Pleased mark me as Brainliest.
Similar questions