Computer memory
In computing
Computing is usually defined as the activity of using and improving computer hardware and software. It is the computer-specific part of information technology...

, memory refers to the physical devices used to store programs (sequences of instructions) or data (e.g. program state information
State (computer science)
In computer science and automata theory, a state is a unique configuration of information in a program or machine. It is a concept that occasionally extends into some forms of systems programming such as lexers and parsers....

) on a temporary or permanent basis for use in a computer
A computer is a programmable machine designed to sequentially and automatically carry out a sequence of arithmetic or logical operations. The particular sequence of operations can be changed readily, allowing the computer to solve more than one kind of problem...

 or other digital
A digital system is a data technology that uses discrete values. By contrast, non-digital systems use a continuous range of values to represent information...

Electronics is the branch of science, engineering and technology that deals with electrical circuits involving active electrical components such as vacuum tubes, transistors, diodes and integrated circuits, and associated passive interconnection technologies...

 device. The term primary memory is used for the information in physical systems which are fast (i.e. RAM
-Animals:*Ram, an uncastrated male sheep*Ram cichlid, a species of freshwater fish endemic to Colombia and Venezuela-Military:*Battering ram*Ramming, a military tactic in which one vehicle runs into another...

), as a distinction from secondary memory, which are physical devices for program and data storage which are slow to access but offer higher memory capacity.