Professional Documents
Culture Documents
Jigar Dalvadi
Computer is an electronic device which performs tasks given by user with extremely fast speed
and accuracy. Like any other device or machine, a computer system has also a number of parts.
A computer system can be blocked into mainly three parts:
1. Input Unit
2. Central Processing Unit
3. Output Unit
1. Input unit – Input unit is a unit that accepts any input device. The input device is used to
input data into the computer system.
1|Page
PPS – 3110003 Prepared By: Prof. Jigar Dalvadi
2. Central Processing Unit (CPU) – CPU is called the brain of a computer. An electronic
circuitry that carries out the instruction given by a computer program.
ii. Arithmetic & Logic unit (ALU) – The arithmetic logic unit (ALU), which performs simple
arithmetic operation such as +,-, *, / and logical operation such as >, <, =<, <= etc.
iii. Memory Unit (MU)- Memory is used to store data and instructions before and after
processing. Memory is also called Primary memory or internal memory. It is used to store data
temporary or permanently.
Function of CPU-
It controls all the parts and software and data flow of computer.
It performs all operations.
It accepts data from input device.
It sends information to output device.
Executing programs stored in memory
It stores data either temporarily or permanent basis.
It performs arithmetical and logical operations.
3. Output Unit –Output unit is a unit that constituents a number of output device. An output
device is used to show the result of processing.
2|Page
PPS – 3110003 Prepared By: Prof. Jigar Dalvadi
Hardware
The term hardware hardware refers to mechanical device that makes up computer.
Hardware consists of the physical components of a computer, also referred to as the
equipment of a computer.
The user may not be able to see all the hardware devices because they are internal to the
computer’s casing.
Software
3|Page
PPS – 3110003 Prepared By: Prof. Jigar Dalvadi
System Software
The software that runs the computer by activating, controlling, and coordinating the
hardware is system software.
They also control the application programs on the computer.
They differ according to the function they need to perform in the computer system.
Application Software
This type of software is for specific tasks related to end-users and their ease.
Unlike system software, a computer doesn’t need them to function.
The users can install and uninstall this software according to their needs.
4|Page
PPS – 3110003 Prepared By: Prof. Jigar Dalvadi
Low-level languages are referred to as 'low' because they are very close to how different
hardware elements of a computer actually communicate with each other.
Low-level languages are machine oriented and require extensive knowledge of computer
hardware and its configuration.
There are two categories of low-level languages: machine language and assembly
language.
Machine language
Machine language, or machine code, is the only language that is directly understood by
the computer, and it does not need to be translated.
Assembly language
High-Level Languages
5|Page
PPS – 3110003 Prepared By: Prof. Jigar Dalvadi
Advantages of flowchart
Proper debugging
Effective analysis
Efficient coding
Proper documentation
Efficient program maintenance
6|Page
PPS – 3110003 Prepared By: Prof. Jigar Dalvadi
Disadvantages of flowchart
Time-consuming
Complex
Difficult to modify
It has no standard
Definition of Algorithm
Writing a logical step-by-step method to solve the problem is called the algorithm
In other words, an algorithm is a procedure for solving problems. In order to solve a
mathematical or computer problem, this is the first step in the process.
An algorithm includes calculations, reasoning, and data processing. Algorithms can be
presented by natural languages, pseudo code, and flowcharts, etc.
Advantages of algorithm
Disadvantages of algorithm
7|Page