Cc112 Prog 1 Topic 1
Cc112 Prog 1 Topic 1
Cc112 Prog 1 Topic 1
Computer
Programming - 1
2
“
The computer system is a
complex arrangement of
hardware and software
components that work together
to process and store
information.
3
Computer System
4
What is a
Computer?
5
Computer
6
Components of a Computer System
8
CPU three primary components:
▰ Control Unit:
-The control unit coordinates and manages the execution of instructions.
▰ 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.
9
10
Memory
12
Storage
14
Input/Output Devices
16
Memory is divided into two main types:
17
Hardware and software interact in the following ways:
19
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
What is the
PRIMARY
&
SECONDARY
storage?
21
THANKS!
22