give the examples of sequential access memory?
Random Access & Sequential Access
Sequential access,Random, Binary
AutoNumber
Sequential and random access.
13.
A hard disk is a Sequential Access Memory device or SAM
To access a particular data item in a sequential file, you need to read in all items in the file prior to the item of interest. This works acceptably well for small data files of unstructured data, but for large, structured files, this process is time-consuming and wasteful. Sometimes, we need to access data in non-sequential ways. Files which allow non-sequential access are random access files.
RAM stands for Random Access Memory. Computer memory chips on the mother board are random access. Disks drives are mostly random access, in that the head can shift to the location of the data to be read. The memory is slightly sequential in that the head must wait for the tracks to spin beneath it before it can read them. An example of sequential memory would be a tape drive. The tape must advance or rewind to the next location where data is stored.In a sequential file you must begin reading from the first record and continue reading until you find the data you seek (or until the end). In a random access file you can specify the number or key of the record you wish to read or write. Random access tends to be much faster for this reason.
The common techniques of file processing include sequential access, random access, and direct access. Sequential access involves reading data sequentially from the beginning to the end of a file. Random access allows reading data from any part of the file without having to read the preceding data. Direct access uses a key or address to locate specific data within the file.
An indexed sequential file is a type of file organization where data records are stored sequentially in the order of key values. An index is maintained to help locate records quickly. This combination of sequential storage and indexing allows for efficient access to data in both sequential and random access patterns.
both of them are random access memories
Random access simply means the ability to read and write anywhere in the file, as opposed to sequential access where data is simply appended to the end of the file and is accessed by traversing from the start of the file in sequential order. Random access is ideally suited to data arrays where every element in the file is exactly the same length, allowing constant-time traversal from one element to any other, in both directions. If the data is also sorted, random access also allows binary search to improve search efficiency.