What does RAM stand for and what is its main characteristic?
RAM stands for Random-Access Memory. It is volatile memory, meaning it loses its contents when the power is turned off.
What is the role of RAM in a computer system?
RAM is the main working memory where the computer stores data and programs that are currently in use. It allows the CPU to access this information quickly.
What does ROM stand for and what is its main characteristic?
ROM stands for Read-Only Memory. It is non-volatile memory, meaning it retains its contents even when the power is off.
What is the primary purpose of ROM in a computer?
ROM is used to store the firmware, including the boot-up instructions (like the BIOS) that the computer needs to start up. It is not typically modified during normal operation.
What is secondary storage?
Secondary storage is non-volatile storage used to store data and programs permanently, even when the computer is turned off. Examples include hard drives, SSDs, and optical discs.
Name three types of secondary storage.
Magnetic (e.g., hard disk drives), optical (e.g., CDs, DVDs), and solid-state (e.g., USB flash drives, SSDs).
What is the difference between volatile and non-volatile memory?
Volatile memory requires power to retain data (e.g., RAM), while non-volatile memory retains data without power (e.g., ROM, secondary storage).
Why does a computer need both RAM and secondary storage?
RAM provides fast, temporary storage for running programs and data, but it is volatile and limited in capacity. Secondary storage provides large, permanent storage for files and programs, but it is slower. Together, they balance speed and capacity.
What is the main advantage of solid-state storage over magnetic storage?
Solid-state storage has no moving parts, making it faster, more durable, and more energy-efficient than magnetic storage, though it is often more expensive per gigabyte.
What is a common example of magnetic storage?
A hard disk drive (HDD) is a common example of magnetic storage. It uses spinning platters and magnetic heads to read/write data.
What is a common example of optical storage?
CDs, DVDs, and Blu-ray discs are common examples of optical storage. They use lasers to read and write data on the disc surface.
What is a common example of solid-state storage?
USB flash drives and solid-state drives (SSDs) are common examples of solid-state storage. They use flash memory to store data.
How does the speed of RAM compare to secondary storage?
RAM is much faster than secondary storage. RAM can be accessed in nanoseconds, while secondary storage (like HDDs or SSDs) takes milliseconds or microseconds.
How does the cost per gigabyte compare between RAM and secondary storage?
RAM is more expensive per gigabyte than secondary storage. Secondary storage is cheaper per gigabyte, allowing for larger capacities at lower cost.
What is the typical capacity of RAM compared to secondary storage?
RAM typically has a smaller capacity (e.g., 8-32 GB) compared to secondary storage, which can be terabytes (e.g., 1-4 TB).
What is portability in the context of storage devices?
Portability refers to how easily a storage device can be moved and used with different computers. For example, USB flash drives are highly portable, while internal hard drives are not.
Why is RAM considered 'working memory'?
RAM is where the computer holds data and instructions that are actively being used by the CPU. It acts as the 'workspace' for the computer.
What happens to the contents of RAM when the computer is turned off?
The contents of RAM are lost because RAM is volatile memory. It requires power to maintain the stored data.
What is the boot-up process and how does it relate to ROM?
When a computer starts, it executes instructions stored in ROM (like the BIOS) to initialize hardware and load the operating system from secondary storage into RAM.
What is the difference between primary and secondary storage?
Primary storage (like RAM) is directly accessible by the CPU, fast, and volatile. Secondary storage (like HDDs, SSDs) is not directly accessible, slower, non-volatile, and used for long-term storage.
What is a memory cell?
A memory cell is the basic unit of semiconductor memory that stores one bit of data (0 or 1).
What is the role of the CPU cache in relation to memory?
The CPU cache is a small, very fast type of volatile memory (SRAM) that stores frequently used data and instructions to speed up processing, acting as a buffer between the CPU and main memory (RAM).
What is virtual memory?
Virtual memory is a technique where the operating system uses a portion of secondary storage as an extension of RAM, allowing the computer to run programs that require more memory than physically available.
What is the difference between DRAM and SRAM?
DRAM (Dynamic RAM) is used for main memory (RAM) and needs constant refreshing, while SRAM (Static RAM) is used for CPU cache and is faster but more expensive; SRAM does not need refreshing.