principleMinor
Direct vs. Random Access
Viewed 0 times
randomdirectaccess
Problem
Would someone please clarify for me the difference between direct and random access?
Specifically, why does this Wikipedia article on Direct Access Storage Devices distinguish between the two:
The direct access capability, occasionally and incorrectly called
random access (although that term survives when referring to memory or RAM),
whereas this article on random access doesn't:
In computer science, random access (sometimes called direct access) is
the ability to access an element at an arbitrary position in a
sequence in equal time, independent of sequence size.
Specifically, why does this Wikipedia article on Direct Access Storage Devices distinguish between the two:
The direct access capability, occasionally and incorrectly called
random access (although that term survives when referring to memory or RAM),
whereas this article on random access doesn't:
In computer science, random access (sometimes called direct access) is
the ability to access an element at an arbitrary position in a
sequence in equal time, independent of sequence size.
Solution
When you speak about direct access in small amount of time that could also be logarithmic, you speak about secondary devices, so hard disks, floppys, USB flash drives, etc.
When you speak about random access you mean that access time to any part of memory is constant. This is very hard to achieve with secondary devices, but easier with primary ones.
When you speak about random access you mean that access time to any part of memory is constant. This is very hard to achieve with secondary devices, but easier with primary ones.
Context
StackExchange Computer Science Q#6540, answer score: 2
Revisions (0)
No revisions yet.