Computer 5th Sem
Computer 5th Sem
and processing. There are five basic components of the computer which help in making
this processing of data easier and convenient.
By definition, components of a computer system are the primary elements which make
the functioning of an electronic device smooth and faster. There are five basic
components which include:
1. Input Unit
2. Output Unit
3. Memory Unit
4. Control Unit
5. Arithmetical and Logical Unit
Input Unit
A computer will only respond when a command is given to the device. These
commands can be given using the input unit or the input devices.
For example: Using a keyboard we can type things on a Notepad and the computer
processes the entered data and then displays the output of the same of the screen.
The data entered can be in the form of numbers, alphabet, images, etc. We enter the
information using an input device, the processing units convert it into computer
understandable languages and then the final output is received by a human-
understandable language.
Output Unit
When we command a computer to perform a task, it reverts for the action performed
and gives us a result. This result is called output. There are various output devices
connected to the computer. The most basic of which is a monitor. Whatever we write
using a keyboard or click using a mouse, is all displayed on the monitor.
Thus, the output unit gives us the final result once the entire processing is done within
the mechanism of a device.
For example: when we visit an ATM, we enter our details like language, pin, amount to
be withdrawn, etc. and then the final money which the cash dispenser releases is our
outcome. In this case, the cash dispenser acts as an output unit.
Memory Unit
When we enter the data into the computer using an input device, the entered
information immediately gets saved in the memory unit of the Central Processing Unit
(CPU). Because of the presence of some existing programming, the Memory Unit
transmits the data further to the other parts of the CPU.
Similarly, when the output of our command is processed by the computer, it is saved in
the memory unit before giving the output to the user.
Control Unit
This is the core unit which manages the entire functioning of the computer device. It is
one of the most essential components of the computer system.
The Control Unit collects the data entered using the input unit, leads it on for processing
and once that is done, receives the output and presents it to the user. It can be said to
the centre of all processing actions taking place inside a computer device.
It can also perform actions like a comparison of data and decision-making actions. The
ALU comprises circuits using which addition, subtraction, multiplication, division and
other numerical based calculations can be performed.
Memory Unit
Control Unit
Arithmetic and Logical Unit
All these three units are elements of CPU and together help in the efficient working and
processing of data. It is also known as the “Brain of Computer” and no action can be
conducted by a device without the execution and permission of the Central Processing
Unit.
The device is a close-knit circuit comparison microprocessor which helps in fetching the
data and proving suitable results to the user. Thus, CPU is the main processing unit of
the computer.
Also, while discussing the various components of computers, it must be known that a
device which is so complex and intricately made using circuits and wires comprises
various other elements, which affects its overall programming and performance.
Generations of Computer
There exist 5 computer generations till date. In the following list, approximate dates
against each generation have been mentioned, which are normally accepted. These
five generations of computers are based on their processing hardware.
In Computer language, “Generation” is a set of Technology. It provides a frame work for the growth of
the computer technology. There are totally Five Computer Generations till today. Discussed as following.
o Difficult to configure.
Second Generation:
Third Generation:
o High level languages like COBOL & FORTAN are allowed to write programs.
o Generate less heat & consumed less power than 2nd generation computer.
Fourth Generation:
Duration: 1975-1989 Technology: Microprocessor chip
o Smaller in size.
o Easy to configure.
o NO requirement of air-conditioners.
o Cheapest in price.
Fifth Generation:
. o Based on the ULSI chip which contains 100 million electronic components.
Computer Classification
A computer is a device that transforms unusable data into information. According
to the set of instructions the user gives it, it processes the input and generates
the desired outcome. Modern digital computers are classified on the basis of their
size and capacity. The size and data handling capabilities of the various types of
computers may be used to categorize them into two groups.
Classification of Computers
Different classifications of Computers are as follows.
1. Supercomputers
The most efficient computers in terms of processing data and performance are
supercomputers. These computers are used for research and exploratory
purposes. Supercomputers are exceedingly large and highly expensive. It can
only fit in large, air-conditioned spaces.
Supercomputer Features:
They make use of AI (Artificial intelligence)
They are the fastest and strongest;
They are very costly.
They are enormous in size.
They are employed by companies that manufacture goods.
They process information at a rapid rate.
2. Mainframe Computers
Despite being less efficient than supercomputers, mainframe computers are
nevertheless extremely expensive. Large corporations and governmental
organizations frequently employ mainframe computers to run everyday
operations. They have the ability to store and analyze a lot of data. To maintain
information on their customers, students, and insurance policyholders, banks,
colleges, and insurance companies utilize them. They may also act as a server in
a network environment. Hundreds of users may be managed simultaneously by
them.
3. Minicomputers
Minicomputers are used by small businesses and industries. They go by the term
"Midrange Computers." These minicomputers frequently have several users, just
as mainframe computers. They are a bit slower than mainframe computers.
Features of Minicomputers:
It is smaller than mainframes or supercomputers in terms of size.
In comparison to a mainframe or supercomputer, it is less costly.
It is able to perform many jobs at once.
It may be utilized by several users simultaneously.
It is utilized by small businesses.
4. Microcomputers.
A microcomputer, sometimes referred to as a personal computer (PC), is a type
of computer that runs on a smaller scale than traditional computers (Personal
Computer). A component that is commonly referred to as a motherboard houses
the central processing unit (CPU), a microprocessor, memory in the form of ROM
(Read Only Memory), RAM (Random Access Memory), I/O ports, and a bus
system of connecting wires. They are the most affordable.
Features of Microcomputers:
They are extensively employed for personal usage.
They are smaller and comparably less expensive.
Multi-user functionality is not supported.
It has a limited computational capacity.
They are quite simple to use.
5. Workstation
Workstations are computers that are designed to serve a single user and may include
unique hardware advancements not present on a personal computer; currently, the
phrase is used to refer to desktop PCs which also include high-
performance hardware. These are generally used to perform a specific task with
great accuracy.
Based on Capacity
According to fundamental operating principles, there are three different kinds of
computers. They are as follows:
1. Analogous Computers
Analog computers process analog data. Temperature, pressure, weight, depth,
and voltage are a few examples of this type of data. These have an infinite range
of values and are continuous quantities.
The first computers were analog, and they laid the groundwork for today's digital
computers.
2. Digital Computers
In digital computers, letters, numbers, and other special symbols are represented
by digits. On-off (ON-OFF) inputs are used by digital computers, and ON-OFF
signals are also generated by them.
An ON is often represented by a 1 and an OFF by a 0, respectively. A digital
computer is capable of processing both numerical and non-numerical data. In
addition to doing fundamental arithmetic operations like addition, subtraction,
multiplication, and division, it can also perform logical operations.
3. Hybrid Computers
Computers that combine digital and analog components are called hybrid
computers. It combines the best features of both types, having the speed of an
analog computer with the memory and precision of a digital computer. Hybrid
computers are typically used in specific applications where both forms of data
need to be processed. As an example, a gas pump contains a processor that
converts measurements of fuel flow into information about quality and cost.
Memory is a set of several memory cells which are known as the building blocks of memory. Each
memory cell is assigned a unique index number or identification number which is the unique address of
that specific memory cell. CPU selects the memory cells to read or write data.
The performance of the computer system depends on the memory and CPU. A large set of data cannot
be stored in a CPU permanently. They can only store basic instructions required to operate the
computer. Hence, it is necessary to have a memory to run a computer system properly.
1. primary
2. secondary
Types of RAM
We can broadly classify RAM into SRAM or Static RAM and DRAM or Dynamic RAM on
the
basis of behaviour.
To keep data, dynamic RAM, or DRAM, must be refreshed every few milliseconds.
DRAM is made up of capacitors and transistors, and capacitors leak electric charge;
hence DRAM must be charged on a regular basis. Because DRAM is less expensive
than SRAM, it is commonly used in personal computers and servers.
2. SRAM – Static Random Access Memory or SRAM stores the data in a static form,
meaning the data remains in the memory for as long as the computer is on. SRAM uses
a matrix of six transistors and no capacitors. Transistors do not need the power to
prevent leakage hence, we do not need to refresh SRAM again and again
The data is stored in static RAM, or SRAM, as long as the system is powered on. SRAM
stores a bit using sequential circuits, similar to a flip-flop, so it does not need to be
refreshed on a regular basis. Because SRAM is so expensive, it’s only used when
speed is critical.
ROM
ROM stands for Read Only Memory into which the data cannot be normally written.
While the data can easily be read from this type of memory. ROM is a primary non-
volatile memory, meaning it can retain all the data in the memory without the power
supply. It is a very fast computer memory that stores the instructions required to start
the computer as soon as we connect it to the power source. When we connect the
computer to the power source, the CPU starts reading the instructions stored in ROM. It
also does not require support from the driver or any complex software to load the
necessary parts of the operating system in the primary memory
1. MROM: MROM stands for “Masked Read Only Memory”. It is a type of memory whose
contents are pre-programmed with specific functional data by the integrated circuit
manufacturer. MROM cannot enable users to change the data stored, like other types
of ROM. If it tries to do so, the process would be difficult or slow.
2. PROM: It stands for Programmable Read Only Memory and as the name suggests,
these memory are programmable. A user can program or code this memory as PROM
is manufactured as a blank memory. A PROM programmer can be used to enter a set
of programs or codes in a blank PROM. Once data or instructions are written in it, they
cannot be changed.
3. EPROM: This stands for Erasable Programmable Read Only Memory which is an
upgraded version of PROM. This type of memory allows its users to erase the stored
data as well as rewrite it. The data stored in EPROM can be erased by passing
ultraviolet light for a particular length of time using an EPROM eraser.
4. EEPROM: This stands for “Electrically Erasable Programmable Read Only Memory”
and as per its name, this memory can be programmed and erased electrically. The
programming and erasing of data takes around 4 to 10 milliseconds and this can be
done around 10,000 times. EEPROM can be erased 1 byte at a time rather than
erasing the entire memory at once. Hence, the entire process is flexible but slow.
The speed of Random Access Memory The speed of Read-only Memory (ROM) is slower when compared
(RAM) is higher when compared to to RAM.
ROM
Random Access Memory (RAM) has a ROM has a lower capacity compared to RAM
higher capacity when compared to
ROM
Data in RAM can be modified, erased, Data in ROM can only be read, it cannot be modified or erased.
or read.
The data stored in RAM is used by the The data stored in ROM is used to bootstrap the computer.
Central Processing Unit (CPU) to
process current instructions
Data stored on RAM can be accessed If the Central Processing Unit (CPU) needs to access the data on
by the Central Processing Unit. ROM, first the data must be transferred to RAM, and then the
Central Processing Unit (CPU) will be able to access the data.
Data of RAM is very volatile, it will exist Data present in Read-Only Memory (ROM) is not volatile, it is
as long as there is no interruption in permanent. Data will remain unchanged even when there is a
power. disruption in the power supply.
‘