A storage contains millions of bytes of memory to store anything we want on our computer. To store a bit of data in computer memory, we use a circuit, called a latch, that stores the previous input unless it’s reset. We can create a circuit using a:
- S-R latch
- Gated S-R latch
- D latch
Memory#
There are components to a computer’s hardware memory. Main memory or random access memory (RAM) is the physical memory space inside a computer. It stores data and instructions that can directly be accessed by the CPU. Computers usually have a limited amount of main memory to store all your data.
That is when secondary storage comes into use. Secondary storage augments the main memory and holds data and programs that are not needed immediately.
Secondary storage devices include hard drives, compact discs (CD), USB flash drives, etc. Secondary storage devices cannot be directly accessed by the CPU.