Computer memory is a fundamental component of any computer system. It stores data, instructions, and information that the Central Processing Unit (CPU) needs to execute programs efficiently. Memory is broadly classified into primary memory and secondary memory. Understanding these types and their roles is essential for answering many questions in computer knowledge exams.
Primary memory is the memory directly accessible by the CPU. It temporarily holds data and instructions that the CPU processes. It is fast but usually volatile, meaning it loses its content when the power is turned off.
Key Characteristics of Primary Memory:
Secondary memory refers to storage devices that hold data permanently or semi-permanently. Unlike primary memory, it is non-volatile and retains data even when the computer is powered off. It is slower than primary memory but has a much larger capacity.
Secondary memory is used for long-term data storage, backups, and transferring data between computers.
The CPU is often called the brain of the computer. It executes instructions stored in memory. The memory unit is the part of the CPU that interacts with memory to fetch instructions and data.
The CPU follows the fetch-decode-execute cycle:
This cycle repeats continuously to run programs.
+-----------------+ +-----------------+ +-----------------+| | | | | || CPU |<----->| Primary Memory |<----->| Secondary Memory || (Control Unit & | | (RAM/ROM) | | (HDD/SSD/USB) || ALU) | | | | |+-----------------+ +-----------------+ +-----------------+
| Memory Type | Volatility | Speed | Purpose | Example |
|---|---|---|---|---|
| Primary Memory | Volatile (except ROM) | Fast | Stores data and instructions for CPU | RAM, ROM, Cache |
| Secondary Memory | Non-Volatile | Slower | Permanent data storage | HDD, SSD, USB drives |
Question: Which of the following system components is the brain of a computer?
Options: (a) RAM (b) CPU (c) Hard Disk (d) Monitor
Solution: The CPU (Central Processing Unit) is known as the brain of the computer because it performs all processing and controls other components.
Answer: (b) CPU
Question: The memory unit that communicates directly with the CPU is called ______ memory.
Solution: The primary memory, especially RAM, communicates directly with the CPU to provide data and instructions.
Answer: Primary memory (RAM)
Question: If a CPU has a clock speed of 3 GHz, how many clock cycles does it complete in one second?
Solution: 1 GHz = \(10^9\) cycles per second.
Therefore, 3 GHz = \(3 \times 10^9\) cycles per second.
Answer: \(3 \times 10^9\) clock cycles per second.
Question: A computer's main memory is divided into 4 blocks of equal size. If the total memory size is 8 GB, what is the size of each block?
Solution: Total memory = 8 GB
Number of blocks = 4
Size of each block = \(\frac{8 \text{ GB}}{4} = 2 \text{ GB}\)
Answer: Each block is 2 GB.
Question: Which memory type is volatile and loses its content when power is turned off?
Solution: RAM is volatile memory because it requires power to maintain stored information.
Answer: RAM (Random Access Memory)
Question: Which of the following best describes the function of the Control Unit in a CPU?
Options: (a) Perform arithmetic operations
(b) Store data permanently
(c) Coordinate all functions of the CPU
(d) Increase storage capacity
Solution: The Control Unit manages and coordinates all CPU operations, including fetching and decoding instructions.
Answer: (c) Coordinate all functions of the CPU
Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.
Go to practice →