Take the 2-minute tour ×
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It's 100% free, no registration required.

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.

share|improve this question
    
It seems like you're asking about the "Direct access method" but your title says otherwise :p –  keyser Nov 7 '12 at 19:35

2 Answers 2

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.

share|improve this answer

Both seems same. We use Random Access when for primary memory (RAM) and Direct Access for secondary storage.

For Direct Access Storage Device, this is written

The access methods for DASD are Sequential, Indexed and Direct.

So, here Direct means Random only

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.