02 - The Computer System.
02 - The Computer System.
Computer Engineering 1
The Computer system
Lecture 02
Fall/ 2024
1
Content
Hardware Component
Software
Input-Process-Output Concept
Application of Computer
2
The Computer System
Computer is an electronic device that accepts data as input, processes the input data
by performing mathematical and logical operations on it, and gives the desired output.
The computer system consists of four parts
Hardware
Software
Data
Users
3
Hardware
Hardware consists of the mechanical parts that make up the computer as a machine.
The hardware consists of physical devices of the computer. The devices are required
for input, output, storage and processing of the data.
Input device
Output device
Processing device
Storage device
4
Input Devices
• Input Device Definition: A piece of equipment/hardware which
helps us enter data into a computer is called an input device.
For example ….
5
Output Devices
• Output Device Definition: A piece of
equipment/hardware which gives
out the result of the entered input,
once it is processed (i.e. converts
data from machine language to a
human-understandable language), is
called an output device. For example
printer, monitor, etc.
6
Components of Computer Hardware ….
• Memory Unit.
The memory unit is used to store the data, the instructions
and the output information.
7
Central Processing Unit CPU
Central Processing Unit (CPU) or the processor is also often called the brain of computer. CPU
controls, coordinates and supervises the operations of the computer. It is responsible for processing
of the input data. CPU consists of Arithmetic Logic Unit (ALU) and Control Unit (CU).
• ALU performs all the arithmetic and logic operations on the input data.
• AU
• LU
8
Central Processing Unit CPU
9
The main Part of CPU
CU (control unit)
Register memory
Clock
speed
10
Arithmetic Logic Unit
• ALU consists of two units—arithmetic unit and logic unit.
• The arithmetic unit performs arithmetic operations on the data that is made available to it.
Some of the arithmetic operations supported by the arithmetic unit are—addition, subtraction,
multiplication and division.
• The logic unit of ALU is responsible for performing logic operations. Logic unit performs
comparisons of numbers, letters and special characters. Logic operations include testing for
greater than, less than or equal to condition.
• ALU performs arithmetic and logic operations, and uses registers to hold the data that is being
processed.
11
12
Registers
Registers are high-speed storage areas within the CPU, but have the least storage
capacity. Registers are not referenced by their address, but are directly accessed
and manipulated by the CPU during instruction execution.
Instruction Register (IR) contains the current instruction most recently fetched.
13
Registers……
Memory Buffer Register (MBR) temporarily stores data from memory or the
Data Register (DR) stores the operands and any other data.
The size of register, also called word size, indicates the amount of data with
64 bit
14
Memory Unit
Memory Unit Memory unit stores the data, instructions, intermediate results and output, temporarily,
during the processing of data. This memory is also called the main memory
• The input data that is to be processed is brought into the main memory before processing. The instructions
required for processing of data and any intermediate results are also stored in the main memory.
• The output is stored in memory before being transferred to the output device. CPU can work with the
15
Cache Memory
Cache memory is a storage buffer that stores the data that is used more often, temporarily, and makes
them available to CPU at a fast rate.
• high speed
• between RAM and CPU
16
Primary Memory
RAM is volatile. It stores data when the computer is on. The information
stored in RAM gets erased when the computer is turned off. RAM
provides temporary storage for data and instructions.
17
Secondary Memory
• The secondary memory stores data and instructions permanently. The information can be stored in
secondary memory for a long time (years), and is generally permanent in nature unless erased by the
user. It is a non-volatile memory.
• It provides back-up storage for data and instructions. Hard disk drive, floppy drive and optical disk drives
are some examples of storage devices.
18
Software, Data, User
19
Software
• Software is a series of instructions that directs a computer to perform specific tasks or operations
• Software is a collection of instructions that enable the user to interact with a computer
• System software
• Application software
20
Application Software
They are programs which are used for end user purposes.
21
Systems software
Systems software includes the programs that are dedicated to managing and controlling
the computer itself
• System software is the interface between the hardware and user applications.
• Examples of system software are following
• Operating System
• Compilers , Interpreter
• Utilities
22
Software
System Application
Software Software
A computer is an electronic device that accepts data, processes data, generates output, and
stores data. The concept of generating output information from the input data is also referred to
as input-process-output concept.
Input
characters, word, text, sound, images, document, etc.
Process
some actions on the data by using the instructions or program given by the user of the data. The action could be
an arithmetic or logic calculation, editing, modifying a document, etc.
25
Input-Process-Output Concept
Output
The output is the result generated after the processing of data. The output
may be in the form of text, sound, image, document, etc.
Storage
The input data, instructions and output are stored permanently in the
secondary storage devices like disk.
26
Application of Computer
Computers have proliferated into various areas of our lives.
• Education
• Entertainment
• Sports
• Security
• Medicine
• Government
• Home 27
Summery
Hard ware
Software
Hardware Component
Software
Application of Computer 28
At the end
Any Question????
29