Random - access memory (RAM / ræm /) is a form of computer data storage that stores data and machine code currently being used. A random - access memory device allows data items to be read or written in almost the same amount of time irrespective of the physical location of data inside the memory. In contrast, with other direct - access data storage media such as hard disks, CD - RWs, DVD - RWs and the older magnetic tapes and drum memory, the time required to read and write data items varies significantly depending on their physical locations on the recording medium, due to mechanical limitations such as media rotation speeds and arm movement.
what is ram in a computer used for
stores data and machine code currently being used