Computer Fundamentals Tutorial
Computer Fundamentals Tutorial
Input (Data):
Input is the raw information entered into a computer from the input
devices. It is the collection of letters, numbers, images etc.
Process:
Process is the operation of data as per given instruction. It is totally
internal process of the computer system.
Output:
Output is the processed data given by computer after data processing.
Output is also called as Result. We can save these results in the storage
devices for the future use.
Computer System
All of the components of a computer system can be summarized with the
simple equations.
Software = Programs
Software gives "intelligence" to the computer.
i
1.Computer Fundamentals ─ Overview
Today’s world is an information-rich world and it has become a necessity for everyone to
know about computers. A computer is an electronic data processing device, which accepts
and stores data input, processes the data input, and generates the output in a required
format.
The purpose of this tutorial is to introduce you to Computers and its fundamentals.
Functionalities of a Computer
If we look at it in a very broad sense, any digital computer carries out the following five
functions:
Step 2 - Stores the data/instructions in its memory and uses them as required.
5
Advantages of Computers
Following are certain advantages of computers.
High Speed
The computer has units of speed in microsecond, nanosecond, and even the
picosecond.
6
It can perform millions of calculations in a few seconds as compared to man who will
spend many months to perform the same task.
Accuracy
Computers perform all jobs with 100% accuracy provided that the input is correct.
Storage Capability
It can store any type of data such as images, videos, text, audio, etc.
Diligence
Unlike human beings, a computer is free from monotony, tiredness, and lack of
concentration.
It can perform repeated tasks with the same speed and accuracy.
7
Versatility
This machine can be used to solve the problems related to various fields.
At one instance, it may be solving a complex scientific problem and the very next
moment it may be playing a card game.
Reliability
8
Computers are designed to make maintenance easy.
Automation
Automation is the ability to perform a given task automatically. Once the computer
receives a program i.e., the program is stored in the computer memory, then the
program and instruction can control the program execution without human
interaction.
The use of computers for data processing in an organization leads to reduction in paper
work and results in speeding up the process.
As data in electronic files can be retrieved as and when required, the problem of
maintenance of large number of paper files gets reduced.
Disadvantages of Computers
Following are certain disadvantages of computers.
No I.Q.
9
Dependency
Environment
The operating environment of the computer should be dust free and suitable.
No Feeling
It cannot make judgment based on feeling, taste, experience, and knowledge unlike
humans.
10
2.Computer Fundamentals ─ Applications
Business
Payroll calculations
Budgeting
Sales analysis
Financial forecasting
Managing employee database
Maintenance of stocks, etc.
Banking
12
Insurance
Maturity date
Interests due
Survival benefits
Bonus
Education
The computer provides a tool in the education system known as CBE (Computer
Based Education).
13
There are a number of methods in which
educational institutions can use a
computer to educate the students.
Marketing
14
In marketing, uses of the computer are following:
Healthcare
Computers have become an important part in hospitals, labs, and dispensaries. They are
being used in hospitals to keep the record of patients and medicines. It is also used in scanning
and diagnosing different diseases. ECG, EEG, ultrasounds and CT scans, etc. are also done
by computerized machines.
Following are some major fields of health care in which computers are used.
Diagnostic System - Computers are used to collect data and identify the cause of
illness.
15
etc.
Engineering Design
One of the major areas is CAD (Computer Aided Design) that provides creation and
modification of images. Some of the fields are:
16
Structural Engineering - Requires stress
and strain analysis for design of ships,
buildings, budgets, airplanes, etc.
Military
Missile Control
Military Communication
Smart Weapons
Communication
17
E-mail
Chatting
Usenet
FTP
Telnet
Video-conferencing
18
Government
Computers play an important role in government services. Some major fields in this category
are:
Budgets
Weather forecasting
19
3.Computer Fundamentals ─ Generations
There are five computer generations known till date. Each generation has been discussed in
detail along with their time period and characteristics. In the following table, approximate
dates against each generation has been mentioned, which are normally accepted.
Sr.
Generation & Description
No.
First Generation
1
The period of first generation: 1946-1959. Vacuum tube based.
Second Generation
Third Generation
Fourth Generation
20
Fifth Generation
21
In this generation, mainly batch processing operating system was used. Punch cards, paper
tape, and magnetic tape was used as input and output devices. The computers in this
generation used machine code as the programming language.
Unreliable
Very costly
22
Generated a lot of heat
Huge size
Need of AC
23
Non-portable
ENIAC
EDVAC
UNIVAC
IBM-701
IBM-650
24
The main features of second generation are:
Use of transistors
AC required
IBM 1620
IBM 7094
CDC 1604
CDC 3600
UNIVAC 1108
The IC was invented by Jack Kilby. This development made computers smaller in size, reliable,
and efficient. In this generation remote processing, time-sharing, multi-programming
operating system were used. High-level languages (FORTRAN-II TO IV, COBOL, PASCAL
PL/1, BASIC, ALGOL-68 etc.) were used during this generation.
25
The main features of third generation are:
IC used
Smaller size
Faster
Lesser maintenance
Costly
AC required
IBM-360 series
Honeywell-6000 series
26
IBM-370/168
TDC-316
27
other circuit elements with their associated circuits on a single chip made it possible to have
microcomputers of fourth generation.
Fourth generation computers became more powerful, compact, reliable, and affordable. As a
result, it gave rise to Personal Computer (PC) revolution. In this generation, time sharing,
real time networks, distributed operating system were used. All the high-level languages
like C, C++, DBASE etc., were used in this generation.
Very cheap
Use of PCs
Pipeline processing
No AC required
28
Concept of internet was introduced
DEC 10
29
STAR 1000
PDP 11
CRAY-1(Super Computer)
CRAY-X-MP(Super Computer)
AI includes:
Robotics
30
Neural Networks
Game Playing
31
ULSI technology
Desktop
Laptop
NoteBook
UltraBook
ChromeBook
32
4.Computer Fundamentals ─ Types
Sr.
Type Specifications
No.
PC (Personal Computer)
33
computers is playing games and surfing the
Internet.
34
Workstation
Workstations generally come with a large, high-resolution graphics screen, large amount of
RAM, inbuilt network support, and a graphical user
interface. Most workstations also have mass
storage device such as a disk drive, but a special
type of workstation, called diskless workstation,
comes without a disk drive.
Minicomputer
35
Mainframe
36
Supercomputer
Supercomputers are one of the fastest computers currently available. Supercomputers are
very expensive and are employed for specialized applications that require immense amount
of mathematical calculations (number crunching).
For example, weather forecasting, scientific simulations, (animated) graphics, fluid dynamic
calculations, nuclear energy research, electronic design, and analysis of geological data
(e.g. in petrochemical prospecting).
37
Computer - Data and Information
Data is represented with the help of characters such as alphabets (A-Z, a-z), digits (0-9) or
special characters (+,-,/,*,<,>,= etc.)
What is Information?
Information is organized or classified data, which has some meaningful values for the
receiver. Information is the processed data on which decisions and actions are based.
For the decision to be meaningful, the processed data must qualify for the following
characteristics −
38
Data Processing Cycle
Input − In this step, the input data is prepared in some convenient form for processing.
The form will depend on the processing machine. For example, when electronic computers
are used, the input data can be recorded on any one of the several types of input medium,
such as magnetic disks, tapes, and so on.
Processing − In this step, the input data is changed to produce data in a more useful
form. For example, pay-checks can be calculated from the time cards, or a summary of
sales for the month can be calculated from the sales orders.
Output − At this stage, the result of the proceeding processing step is collected. The
particular form of the output data depends on the use of the data. For example, output
data may be pay-checks for employees.
39
5.Computer Fundamentals ─ Components
All types of computers follow the same basic logical structure and perform the following five
basic operations for converting raw input data into information useful to their users.
Control the Directs the manner and sequence in which all of the above
5
workflow operations are performed.
40
Input Unit
41
This unit contains devices with the help of which we enter data into the computer. This unit
creates a link between the user and the computer. The input devices translate the
information into a form understandable by the computer.
1. Mouse
2. Keyboard
3. Scanner
4. Web camera
CPU is considered as the brain of the computer. CPU performs all types of data processing
operations. It stores data, intermediate results, and instructions (program). It controls the
operation of all parts of the computer.
Memory Unit
Control Unit
42
Here, in this diagram, the three major components are also shown. So, let us discuss these
major components:
Memory or Storage Unit
As the name suggests this unit can store instructions, data, and intermediate results. The
memory unit is responsible for transferring information to other units of the computer when
needed. It is also known as an internal storage unit or the main memory or the primary
storage or Random Access Memory (RAM) as all these are storage devices.
Its size affects speed, power, and performance. There are two types of memory in the
computer, which are primary memory and secondary memory. Some main functions of
memory units are listed below:
Data and instructions are stored in memory units which are required for processing.
It also stores the intermediate results of any calculation or task when they are in process.
The final results of processing are stored in the memory units before these results are
released to an output device for giving the output to the user.
All sorts of inputs and outputs are transmitted through the memory unit.
Control Unit
As the name suggests, a control unit controls the operations of all parts of the computer but
it does not carry out any data processing operations. For executing already stored
instructions, It instructs the computer by using the electrical signals to instruct the computer
system. It takes instructions from the memory unit and then decodes the instructions after
that it executes those instructions. So, it controls the functioning of the computer. It’s main
task is to maintain the flow of information across the processor. Some main functions of the
control unit are listed below:
Controlling of data and transfer of data and instructions is done by the control unit among
other parts of the computer.
The control unit is responsible for managing all the units of the computer.
The main task of the control unit is to obtain the instructions or data which is input from the
memory unit, interprets them, and then directs the operation of the computer according to
that.
The control unit is responsible for communication with Input and output devices for the
transfer of data or results from memory.
The control unit is not responsible for the processing of data or storing data.
43
ALU (Arithmetic Logic Unit)
ALU (Arithmetic Logic Unit) is responsible for performing arithmetic and logical functions or
operations. It consists of two subsections, which are:
Arithmetic Section
Logic Section
Now, let us know about these subsections:
Arithmetic Section: By arithmetic operations, we mean operations like addition,
subtraction, multiplication, and division, and all these operation and functions are performed
by ALU. Also, all the complex operations are done by making repetitive use of the mentioned
operations by ALU.
Logic Section: By Logical operations, we mean operations or functions like selecting,
comparing, matching, and merging the data, and all these are performed by ALU.
Note: CPU may contain more than one ALU and it can be used for maintaining timers that
help run the computer system.
What Does a CPU Do?
The main function of a computer processor is to execute instruction and produce an output.
CPU work are Fetch, Decode and Execute are the fundamental functions of the computer.
Fetch: the first CPU gets the instruction. That means binary numbers that are passed from
RAM to CPU.
Decode: When the instruction is entered into the CPU, it needs to decode the instructions.
with the help of ALU(Arithmetic Logic Unit) the process of decode begins.
Execute: After decode step the instructions are ready to execute
Strore: After execute step the instructions are ready to store in the memory.
Types of CPU
We have three different types of CPU:
Single Core CPU: The oldest type of computer CPUs is single core CPU. These CPUs were
used in the 1970s. these CPUs only have a single core that preform different operations. This
means that the single core CPU can only process one operation at a single time. single core
CPU CPU is not suitable for multitasking.
Dual-Core CPU: Dual-Core CPUs contain a single Integrated Circuit with two cores. Each
core has its cache and controller. These controllers and cache are work as a single unit. dual
core CPUs can work faster than the single-core processors.
Quad-Core CPU: Quad-Core CPUs contain two dual-core processors present within a single
integrated circuit (IC) or chip. A quad-core processor contains a chip with four independent
44
cores. These cores read and execute various instructions provided by the CPU. Quad Core
CPU increases the overall speed for programs. Without even boosting the overall clock speed
it results in higher performance.
Output Unit
The output unit consists of devices with the help of which we get the information from the
computer. This unit is a link between the computer and the users. Output devices translate
the computer's output into a form understandable by the users.
45
46