Que 4
Que 4
2. Secondary Memory:
o Descrip on: Secondary memory provides long-term data storage. It is non-vola le,
meaning it retains data even when power is off.
o Key Characteris cs:
Slower than Primary Memory: Data access mes are longer compared to
RAM.
Large Storage Capacity: Can store much larger amounts of data compared to
primary memory.
o Examples: Hard drives (HDDs), solid-state drives (SSDs), CDs, DVDs.
o Usage: Used for storing files, programs, and data that aren't currently in use but
need to be preserved for future access.
3. Cache Memory:
o Descrip on: Cache memory is a small, high-speed memory located near the CPU
that stores frequently used data and instruc ons to reduce the me needed to
access data from slower primary memory.
o Key Characteris cs:
Very Fast: Much faster than primary and secondary memory.
Small Size: Limited capacity compared to main memory.
Levels: Usually organized in mul ple levels (L1, L2, L3), with L1 being the
fastest but smallest, and L3 being larger but slower.
o Usage: Speeds up the performance of the CPU by providing quick access to
commonly used instruc ons and data.
4. Virtual Memory:
o Descrip on: Virtual memory is a system that allows the computer to compensate for
physical RAM shortages by temporarily transferring data from RAM to the hard drive
or SSD.
o Key Characteris cs:
Uses Disk Storage as RAM: Allows running larger applica ons than physical
RAM would normally allow.
Slower than RAM: Accessing data from virtual memory (disk storage) is
much slower than accessing it from actual RAM.
Enables Mul tasking: Makes it easier to run mul ple programs
simultaneously.
o Usage: Facilitates the running of programs that exceed the physical memory
limita ons of the system, improving mul tasking efficiency.
1. Registers:
o Descrip on: Registers are small, high-speed storage loca ons within the CPU. They
hold data and instruc ons temporarily while the CPU processes them.
o Key Characteris cs:
Fastest Memory: Registers are the fastest form of memory in a computer.
Limited Number: The number of registers is much smaller compared to
other types of memory.
o Usage: Used for storing operands, intermediate results, and instruc on addresses
during processing.
5. Control Unit:
o Descrip on: The control unit directs the opera on of the CPU by interpre ng
instruc ons and coordina ng the ac vi es of the ALU, registers, and memory.
o Key Characteris cs:
Control Signals: It generates control signals that dictate how data is moved
between components.
Instruc on Decoding: Decodes incoming instruc ons and determines the
appropriate ac ons.
o Usage: Ensures the correct sequence of opera ons by coordina ng all the
components of the CPU, enabling efficient program execu on.