encyclopegia.org

Random access

Random access (also called direct access) is the ability to access an arbitrary element of a sequence in equal time or any datum from a population of addressable elements roughly as easily and efficiently as any other, no matter how many elements may be in the set. In computer science it is typically contrasted to sequential access which requires data to be retrieved in the order it was stored. For example, data might be stored notionally in a single sequence like a row, in two dimensions like rows and columns on a surface, or in multiple dimensions. However, given all the coordinates, a program can access each record about as quickly and easily as any other. In this sense, the choice of datum is arbitrary in the sense that no matter which item is sought, all that is needed to find it is its address, i.e. the coordinates at which it is located, such as its row and column (or its track and record number on a magnetic drum). At first, the term "random access" was used because the process had to be capable of finding records no matter in which sequence they were required. However, soon the term "direct access" gained favour because one could directly retrieve a record, no matter what its position might be. The operative attribute, however, is that the device can access any required record immediately on demand.…

Random access (also called direct access) is the ability to access an arbitrary element of a sequence in equal time or any datum from a population of addressable elements roughly as easily and efficiently as any other, no matter how many elements may be in the set. In computer science it is typically contrasted to sequential access which requires data to be retrieved in the order it was stored. For example, data might be stored notionally in a single sequence like a row, in two dimensions like rows and columns on a surface, or in multiple dimensions. However, given all the coordinates, a program can access each record about as quickly and easily as any other. In this sense, the choice of datum is arbitrary in the sense that no matter which item is sought, all that is needed to find it is its address, i.e. the coordinates at which it is located, such as its row and column (or its track and record number on a magnetic drum). At first, the term "random access" was used because the process had to be capable of finding records no matter in which sequence they were required. However, soon the term "direct access" gained favour because one could directly retrieve a record, no matter what its position might be. The operative attribute, however, is that the device can access any required record immediately on demand. The opposite is sequential access, where a remote element takes longer time to access. A typical illustration of this distinction is to compare an ancient scroll (sequential; all material prior to the data needed must be unrolled) and the book (direct: can be immediately flipped open to any arbitrary page). A more modern example is a cassette tape (sequential — one must fast forward through earlier songs to get to later ones) and a CD (direct access — one can skip to the track wanted, knowing that it would be the one retrieved). In data structures, direct access implies the ability to access any entry in a list in constant time (independent of its position in the list and of the list's size). Very few data structures can make this guarantee other than arrays (and related structures like dynamic arrays). Direct access is required, or at least valuable, in many algorithms such as binary search, integer sorting, or certain versions of sieve of Eratosthenes. Other data structures, such as linked lists, sacrifice direct access to permit efficient inserts, deletes, or re-ordering of data. Self-balancing binary search trees may provide an acceptable compromise, where access time is not equal for all members of a collection, but the maximum time to retrieve a given member grows only logarithmically with its size. ==References==

References

  1. Random and Sequential Data Access · retrieved 2026-11-19 · rev 1344119183
    Cite this reference

    MLA "Random and Sequential Data Access." 2026-11-19. https://technet.microsoft.com/en-us/library/cc938619.aspx. Accessed 24 November 2026.

    Chicago "Random and Sequential Data Access." 2026-11-19. https://technet.microsoft.com/en-us/library/cc938619.aspx.

    APA encyclopegia.org. (2026). Random and Sequential Data Access. Retrieved November 24, 2026, from https://technet.microsoft.com/en-us/library/cc938619.aspx

  2. Introduction to IBM Direct-access Storage Devices and Organization Methods . International Business Machines Corporation. 1966. pp. 3– . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1344119183
    Cite this reference

    MLA "Introduction to IBM Direct-access Storage Devices and Organization Methods . International Business Machines Corporation. 1966. pp. 3– . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20." Introduction to IBM Direct-access Storage Devices and Organization Methods. 2026-11-19. https://books.google.com/books?id=i6vWAAAAMAAJ. Accessed 24 November 2026.

    Chicago "Introduction to IBM Direct-access Storage Devices and Organization Methods . International Business Machines Corporation. 1966. pp. 3– . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20." Introduction to IBM Direct-access Storage Devices and Organization Methods. 2026-11-19. https://books.google.com/books?id=i6vWAAAAMAAJ.

    APA Introduction to IBM Direct-access Storage Devices and Organization Methods. (2026). Introduction to IBM Direct-access Storage Devices and Organization Methods . International Business Machines Corporation. 1966. pp. 3– . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20. Retrieved November 24, 2026, from https://books.google.com/books?id=i6vWAAAAMAAJ

  3. National Computer Conference and Exposition (1957). Proceedings . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1344119183
    Cite this reference

    MLA "National Computer Conference and Exposition (1957). Proceedings . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20." National Computer Conference and Exposition (1957). 2026-11-19. https://books.google.com/books?id=lQQrAQAAIAAJ. Accessed 24 November 2026.

    Chicago "National Computer Conference and Exposition (1957). Proceedings . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20." National Computer Conference and Exposition (1957). 2026-11-19. https://books.google.com/books?id=lQQrAQAAIAAJ.

    APA National Computer Conference and Exposition (1957). (2026). National Computer Conference and Exposition (1957). Proceedings . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20. Retrieved November 24, 2026, from https://books.google.com/books?id=lQQrAQAAIAAJ

  4. D. E. KNUTH (1969). The Art of Computer Programming. Vol. 3. Sorting and Searching . Addison-Wesley. ISBN 978-0-201-03803-3 . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1344119183
    Cite this reference

    MLA "D. E. KNUTH (1969). The Art of Computer Programming. Vol. 3. Sorting and Searching . Addison-Wesley. ISBN 978-0-201-03803-3 . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20." D. 2026-11-19. https://books.google.com/books?id=ZQu9mgEACAAJ. Accessed 24 November 2026.

    Chicago "D. E. KNUTH (1969). The Art of Computer Programming. Vol. 3. Sorting and Searching . Addison-Wesley. ISBN 978-0-201-03803-3 . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20." D. 2026-11-19. https://books.google.com/books?id=ZQu9mgEACAAJ.

    APA D. (2026). D. E. KNUTH (1969). The Art of Computer Programming. Vol. 3. Sorting and Searching . Addison-Wesley. ISBN 978-0-201-03803-3 . Retrieved 2 October 2013 . Wikipedia revision 1344119183, retrieved 2026-11-20. Retrieved November 24, 2026, from https://books.google.com/books?id=ZQu9mgEACAAJ

  5. National Computer Conference and Exposition. Proceedings . 1957. retrieved 2 October 2013 · retrieved 2026-03-17 · rev 1344119183
    Cite this reference

    MLA "National Computer Conference and Exposition. Proceedings . 1957. retrieved 2 October 2013." National Computer Conference and Exposition. 2026-03-17. https://en.wikipedia.org/w/index.php?oldid=1344119183. Accessed 24 November 2026.

    Chicago "National Computer Conference and Exposition. Proceedings . 1957. retrieved 2 October 2013." National Computer Conference and Exposition. 2026-03-17. https://en.wikipedia.org/w/index.php?oldid=1344119183.

    APA National Computer Conference and Exposition. (2026). National Computer Conference and Exposition. Proceedings . 1957. retrieved 2 October 2013. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1344119183

  6. Introduction to IBM Direct-access Storage Devices and Organization Methods . Internati . 1966. retrieved 2 October 2013 · retrieved 2026-03-17 · rev 1344119183
    Cite this reference

    MLA "Introduction to IBM Direct-access Storage Devices and Organization Methods . Internati . 1966. retrieved 2 October 2013." Introduction to IBM Direct-access Storage Devices and Organization Methods. 2026-03-17. https://en.wikipedia.org/w/index.php?oldid=1344119183. Accessed 24 November 2026.

    Chicago "Introduction to IBM Direct-access Storage Devices and Organization Methods . Internati . 1966. retrieved 2 October 2013." Introduction to IBM Direct-access Storage Devices and Organization Methods. 2026-03-17. https://en.wikipedia.org/w/index.php?oldid=1344119183.

    APA Introduction to IBM Direct-access Storage Devices and Organization Methods. (2026). Introduction to IBM Direct-access Storage Devices and Organization Methods . Internati . 1966. retrieved 2 October 2013. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1344119183

  7. Random and Sequential Data Access . · retrieved 2026-03-17 · rev 1344119183
    Cite this reference

    MLA "Random and Sequential Data Access ." 2026-03-17. https://en.wikipedia.org/w/index.php?oldid=1344119183. Accessed 24 November 2026.

    Chicago "Random and Sequential Data Access ." 2026-03-17. https://en.wikipedia.org/w/index.php?oldid=1344119183.

    APA encyclopegia.org. (2026). Random and Sequential Data Access . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1344119183

  8. D. E. KNUTH. The Art of Computer Programming. Vol. 3. Sorting and Searching . Ad . 1969. retrieved 2 October 2013 · retrieved 2026-03-17 · rev 1344119183
    Cite this reference

    MLA "D. E. KNUTH. The Art of Computer Programming. Vol. 3. Sorting and Searching . Ad . 1969. retrieved 2 October 2013." D. 2026-03-17. https://en.wikipedia.org/w/index.php?oldid=1344119183. Accessed 24 November 2026.

    Chicago "D. E. KNUTH. The Art of Computer Programming. Vol. 3. Sorting and Searching . Ad . 1969. retrieved 2 October 2013." D. 2026-03-17. https://en.wikipedia.org/w/index.php?oldid=1344119183.

    APA D. (2026). D. E. KNUTH. The Art of Computer Programming. Vol. 3. Sorting and Searching . Ad . 1969. retrieved 2 October 2013. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1344119183

Cite this article

MLA

"Random access." encyclopegia.org, 2026, https://encyclopegia.org/wiki/random-access. Accessed 24 November 2026.

Chicago

"Random access." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/random-access.

APA

encyclopegia.org. (2026). Random access. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/random-access

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Lehmer random number generator

stub · references available

random variable

stub · references available

random number generation

stub · references available

access software

stub · references available

access control

stub · references available

random wire antenna

stub · references available

non-volatile random-access memory

stub · references available

Subnetwork Access Protocol

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1344119183 · 0.5 · snapshot enwiki-001344119183

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.