6. Computer
▰ A computer is an electronic device that processes and stores data
using a combination of hardware and software components.
▰ It performs complex calculations, executes programs, and allows
users to interact with it through input and output devices.
6
7. ▰ CPU (Central Processing Unit)
▰ Memory
▰ Storage
▰ Input / Output Devices
Components of a Computer System
7
8. ▰ also known as the processor, is the brain of
the computer.
▰ It carries out the instructions of a
computer program by performing basic
arithmetic, logical, control, and
input/output (I/O) operations.
CPU (Central Processing Unit)
8
9. ▰ Control Unit:
-The control unit coordinates and manages the execution of instructions.
CPU three primary components:
9
▰ Arithmetic Logic Unit (ALU):
-The ALU performs arithmetic operations (addition, subtraction, multiplication,
division) and logical operations (comparisons, Boolean operations) on data.
▰ Registers:
-Registers are small storage units within the CPU that store data and instructions
temporarily for faster processing. They hold operands, intermediate results, and
memory addresses.
11. ▰ also known as RAM (Random Access
Memory), provides temporary storage for
data and instructions that the CPU requires
for processing.
▰ It is a volatile form of memory, meaning it
loses its contents when the computer is
powered off.
Memory
11
12. Memory is divided into two main types:
Primary Memory:
-also called main memory, is directly
accessible to the CPU.
-It includes RAM and cache memory.
RAM stores data and instructions that the
CPU actively uses during program
execution, while cache memory provides
fast access to frequently used data.
12
Secondary Memory:
-Secondary memory, such as hard drives
and solid-state drives (SSDs), provides
long-term storage for programs and
data.
-Unlike primary memory, it retains
information even when the power is
turned off.
13. Storage
Storage devices, such as hard drives and solid-state drives (SSDs),
provide long-term storage for data and programs. They are classified
into two main types:
▰ Magnetic Storage: Traditional hard drives that use magnetic disks
to store data.
▰ Solid-State Storage: SSDs that use non-volatile memory chips to
store data.
13
15. Input/Output Devices
I/O devices facilitate interaction between the computer and the
external world. Some common I/O devices include:
▰ Keyboard and Mouse: Used for inputting data and commands.
▰ Display Monitor: Provides visual output to the user.
▰ Printer: Used for generating hard copies of documents.
▰ Network Interface Card (NIC): Facilitates network communication.
15
16. Interaction between Hardware and Software
Hardware and software are
interdependent components
that work together to
perform tasks and execute
programs on a computer
system.
16
17. Memory is divided into two main types:
▰ Hardware: Hardware refers to the physical components of a computer system,
such as the CPU, memory, storage devices, and input/output devices. It
provides the necessary resources and processing power for software to run.
▰ Software: Software encompasses the programs, applications, and operating
systems that enable users to interact with the computer. It includes system
software (e.g., operating systems, drivers) and application software (e.g., word
processors, web browsers).
17
18. Hardware and software interact in the following ways:
▰ Execution of Instructions: The CPU executes instructions stored in memory,
performing operations specified by the software.
▰ Memory Management: The operating system manages memory allocation,
ensuring that software programs have the necessary memory space to run
efficiently.
▰ Device Interaction: Software communicates with input/output devices, allowing
users to interact with the computer system and receive output from it.
18
19. Hardware and software interact in the following ways:
▰ Device Drivers: Device drivers are software components that enable
communication between the operating system and hardware devices, ensuring
proper functioning and compatibility.
▰ Virtualization: Virtualization software creates virtual machines that emulate the
functionality of physical hardware, allowing multiple operating systems to run
simultaneously on a single computer.
19
20. Summary
▰ The components of a computer system, including the CPU, memory, storage, and
input/output devices, form the foundation for its operation.
▰ The CPU serves as the central processing unit, executing instructions and performing
calculations.
▰ Memory provides temporary storage for data and instructions, while storage devices
offer long-term storage.
▰ Input/output devices facilitate interaction between the computer and users.
▰ Hardware and software components work together, with software relying on hardware
resources for execution, and hardware being controlled and utilized by software
programs.
20