Professional Documents
Culture Documents
Fundamentals of Computers
Unit-1:
INTRODUCTION TO COMPUTER
1. Define computer ?
Computer is a electronic device.
A computer is used to getting input process the input and produce
the output.
A computer can perform various tasks.
2. Define data ?
Data is sequence of one or more symbols
Data is raw material
Data is represented Alphabets (A-Z, a, z and numbers (0-9))
Eg: pen, yes, 123
3. What is information ?
A group of data is called information.
A processed data is called information.
When data are processed structed and organized in a meaning way.
Eg: My name is K.Sethuraman.
4. What is instruction ?
A set of rules can be used perform operation.
ADD -> addition of two number.
STA -> store the value in memory.
5. What is program ?
A group of instruction are called program.
It can be used to perform operation in a computer.
It is executed in central processing unit.
6. Uses of computer
It is used to medical shop.
Helps to write or type a letter.
It is used to banking and fund transaction.
Download books.
7. What are major operation on a computer ?
Accept the input.
Process the input.
Store the input value.
Produce the output.
Control the computer operation.
5 Marks
1. Explain block diagram of computer and its components ?
Block diagram of represented below
Control unit
ALU
Input Unit
The input unit receive data from the input device.
The input unit consists of two or more input device.
The input devices are keyboard, mouse, scanners, speaker....etc.
Storage Unit
The storage unit save the data from the input unit.
The storage data is used to processing and performing operation.
The storage device is called harddisc.
Output Unit
The output unit is produce the result.
The output unit is consists of one or more output device.
The output unit are printer, monitor.............etc.
The output result is stored in a storage unit for further use.
Control Unit
It is denoted as CU.
It control all the operation of the computer.
The function of control unit is Fetch, Decode and Execute.
It tells the computer “What sequence of operation it must
perform”
ALU
It is denoted as Arithmetic Logical Unit.
Arithmetic Operations are +, -, *, /, %(mod)
The Logical Operators are AND,OR,NOT.
It perform arithmetic and logical operation.
It does comparison and takes decisions.
2. Explain Characteristics of computer ?
Hardware
Types of Hardware
Hardware
Internal External
Hardwar Hardwar
e e
Internal hardware
External hardware
Internal Hardware
A device that is installed within the computer is called
internal hardware.
It is a component.
It resides inside the computer.
The internal hardware are RAM, ROM,Harddisc mother
board..........etc.
External Hardware
A device that is connect outside the computer is called
external hardware.
It is component.
It resides outside the computer,
The External hardware are Keyboard, Mouse, Printer......etc.
Software
A set of instruction given to the computer to solve a problem is
called software.
Software is also called programs.
Different software are used to solve different problems.
Software
Application System
Software Software
Application Software
It is a group of program design to solve a single task (or) a group
of related task.
Application software makes computer popular and easy to use.
It is also known as application package.
Application software is used to perform various application on
computer.
Some common application software are
SpreadSheet Software
It is a numeric data analysis to create a budget, ledger and perform
mathematical and financial calculation.
System Software
System software helps in running the computer hardware and
computer system.
It enable the application software to interact with each other.
Programs that support the execution and development of other
program.
Source Assembly
Compiler
Program Language
Define Assembler?
A program that translate from assembly language into machine code
(object code).
What is loader ?
A loader loads programs and libraries into the main memory from the
storage device.
A loader is a program used by an os to load program.
Loading is the process of placing the program into memory for
execution.
Source object
Assembler Loader Object program
program program ready for
execution
memory
Define linker ?
A linker is a computer program that takes one or more object
programs generated by a compiler and combines them in a single
executable program.
Translate
What is interpreter?
Source pre
program processing Intermediate code Interpreter
Types of computer
1. Digital computer
Signal representation
1 1
0 0 0
2. Analog computer
Used for
Communication
Measuring temperature
Broadcast
High speed
Signal representation
3. Hybrid computers
Signal representation
P(12,0,
Used for 0)
Control robots
Various engineering field
ICU (ECG)
4. Micro Computer
Application
Office use computer
Personal computer at home
Characteristics
Small in size
Used by one person
Not expensive
Generate less heat
5. Mini computer
Application
Work group system in office.
Departmental system
Network server in lab.
Characteristics
Larger memory size
Greater storage capacity
6. Super computer
The fastest and most powerful type of computers are called
super computer.
Super computer contains a number of CPU with operate in
parallel and make it faster.
It is also known as grand father computer.
It is designed for scientific jops.
Application
Weather forecasting
Weapon research
Electronic design
Characteristics
Powerful computer
Highly expensive
Speed is measured in billions of instruction persecond.
7. Maniframe computer
Application
Central database server
Millitary
Industrial organisation
Characteristics
High speed
Larger storage capacity
Larger in size
High expensive
More than one processor at a time
Desktop computer
They are the common computer that see in homes and schools.
They need a small $ place.
It is placed in a desk or table.
It is cheaper than laptop and notebook.
It is used to perform varity of tasks.
Laptop
It is a brand of microcomputer which can be accommodated
in a small bag.
It is portable computer within integrated screen and keyboard.
It is smaller in size than a desktop computer.
Easy access to the internet in any place.
Less capacity compared to pc.
More compact.
Less power requirement
Notebook computer
Smallest micro computer
It can weight less than a kilogram.
Most notebook have built in micro phone and webcan.
Easy setup in classroom.
os
1
1
1
OS
Advantages of os
Easy to use
User friendly
Intermediate between all h/w’s and s/w’s
No need to know any technical languages.
It platform of all programs.
Structure of os
System programs
This layer consists of assembler, linker,loader ...etc.
Application programs
This is dependent on user needs.
The user written the program in any programming language.
Software
A set of instruction given to an computer to solve a problem is
called software.
Software is also called program.
Hardware
A physical part of the computer is called hardware.
Hardware operate under the control of software.
Types of os
It has the following types of os
.
Multiuser
Allow two or more used to run at same time.
Some os permit hundred or thousand of user.
Multi processing
Support running a program more than one cpu
Multi tasking
Allow more than one program to run concurrently.
Multi threading
Allow different part of a single program to run concurrently.
Real time
The time interval required to process and respond to input.
It respond to input instantly.
Computer language
A computer language are the language by which a user command a
computer to work.
It is a set of rules that provides a way of telling a computer what
operation to perfrom
It is a system of communication.
Computer Language
Eg:
C= A+B Highlevel
Assembly
language
ADD A,B
Machine
language
H/W
1000011110
Highlevel language
A language that people can read, write and uunderstand.
Use English word.
Must be translated before the computer can understand it.
It is a third generation language.
Need a compiler or interpreter to translate its code to machine code.
Eg: if,else, continue, break.
Eg : 0011
Primary Secondar
memory y memory
Flash CD Flopp DV
RA RO
drive y disk D
M M
PRO EPROM
SRA DRA EEPRO
M
M M M
Primary memory Secondary memory
S-RAM
Static indicates that the memory retains its contents as long as power is
being supplied.
Large size.
Expensive.
High power consumption.
D-RAM
It must be continually refreshed in order to maintain the data.
Small size.
High expensive.
Low power consumption.
ROM
EPROM
Erasable Programmable Read Only Memory.
Erasable means we can change (or) erase the data.
It much expensive than ROM.
Change data with the help of ultra violet rays.
EEPROM
Electrically Erasable Programming Read Only Memory.
It can erased by electrical charges.
EEPROM can be erased one byte at a time.
Both erasable and programming take 5 to 10 milli seconds.
Fourth generation
Generation used very large scale integrated (VLSI) circuits. VLSI circuits
having about 5000 transistors and other circuit element with their associated
circuits on a single chip made it possible to have microcomputers of fourth
generation.
Fourth generation computers become 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.
The main features of fourth generation are
VLSI techonology used
Very cheap
Portable and realiable
Use of pcs
Very small size
Pipeline processing
No ac required
Computers became easily available
Fifth generation
The period of fifth generation is 1980-till date. In the fifth generation,VLSI
technology became VLSI(Ultra Large Scale Integration) techonolgy, resulting
in the production of microprocessor chips having ten million electronic
components.
This generation is based on parallel processing hardware and AI(Artificial
Intelligence) software. AI is an emerging branch in computer science. Which
interprets the means and method of making computers think like human
beings.All the high-level languages like C and C++, JAVA,....Net etc.., are used
in this generation.
All includes
Robotics
Neutral networks
Game playing
Development of expert system to make decisions in real life
situations.
Natural language understanding and generation.
Computer Generations
First Generations :
An input can send data to another device, but it cannot receive data from
another device
Input devices are necessary to convert our information or data into a form
which can be understood by the computer
The devices which are used to input the data and the programs in the
computer are known as "Input Devices". or Input device can read data and
convert them to a form that a computer can use
Following are some of the important input devices which are used in a computer
−
Keyboard
Mouse
scanner
Magnetic Ink Card Reader(MICR)
Optical Character Reader(OCR)
Optical Mark Reader(OMR)
Light pen
Joy stick
Touch screen
Micro phone
Keyboard
Keyboard is used in the input phase of a computer-based
information system.
Keyboard is most common input device is used today.
The data and instructions are input by typing on the keyboard.
The message typed on the keyboard reaches the memory unit of a
computer. It’s connected to a computer via a cable.
Apart from alphabet and numeral keys, it has other function keys
for performing different functions.
It contains a total of 101 to 104 keys
Mouse
The mouse is an input device which is used with your personal computer.
It rolls on a small ball and has two or three buttons on the top.
When you roll the mouse across a flat surface the screen censors the
mouse in the direction of mouse movement.
The cursor moves very fast with mouse giving you more freedom to work
in any direction.
It is easier and faster to move through a mouse.
It is a pointing device
Scanner
The keyboard can input only text through keys provided in it.
If we want to input a picture the keyboard cannot do that.
The Scanner is an optical device that can input any graphical matter and
display it back.
Jo y Stick
Touch Screen
The Touch screen takes input as when a finger or object comes in contact
with the screen, the light beam is broken, and the location of the breaking
of a light beam is recorded, which acts as inputs.
Micro Phone
It is an input Device
To input the sound that is stored in digital form
OUT PUT DEVICES
An OUTPUT device can receive data from another device and generate
output with that data, but it cannot send data to another device
Output devices can adopt different shapes and styles, which are used to
give the output of the processing of data.
The output can be in any form i.e. typed, printed, sketched, visible,
nonviable, audio, video etc.
Output devices are those peripheral devices that allow a user to retrieve
information from a computer
Examples of output devices include the following.
Monitor
Receives data from a computer (output) and displays that information as
text and images for users to view.
It cannot accept data from a user and send that data to another device.
Receives sound data from a computer and plays the sounds for users to
hear.
It cannot accept sound generated by users and send that sound to another
device.
Speakers are one of the most common output devices used with computer
systems.
Some speakers are designed to work specifically with computers, while
others can be hooked up to any type of sound system.
... The sound produced by speakers is defined by frequency and
amplitude.
Printer
A printer is a device that accepts text and graphic output from a computer
and transfers the information to paper, usually to standard size sheets of
paper. Printers vary in size, speed, sophistication, and cost.
In general, more expensive printers are used for higher-resolution color
printing
The printer is a very important component of a computer.
It gives you a printed result of what is displayed on the monitor.
The output received from the printer is called hard copy because you can
retain it even after you turn off the computer or are no longer working on
it
Types of printer
Projector
1. What is Computer
Computer is an advanced electronic device that takes raw data as input from the
user and processes these data under the control of set of instructions (called program)
and gives the result (output)
4. What is a compiler?
Compiler is a program that translates source code into object code.
Software:
5 MARKS QUESTIONS
1. Write short notes on computer language
Computer languages are the languages through which user can communicate
with the computer by writing program instructions.
Low Level language is the only language which can be understood by the computer.
Binary Language is an example of low level language. Low level language is also known
as Machine Language. The binary language contains only two symbols 1 & 0. All the
instructions of binary language are written in the form of binary numbers 1's & 0's. A
computer can directly understand the binary language. Machine language is also known
as Machine Code.
Advantages
Disadvantages
Low level language instructions are very difficult to use and understand.
Low level language instructions are machine dependent, that means a program
written for a particular machine does not executes on other machine.
Middle level language is a computer language in which the instructions are created
using symbols such as letters, digits and special characters. Assembly language is an
example of middle level language. In assembly language, we use predefined words
called mnemonics. Binary code instructions in low level language are replaced with
mnemonics and operands in middle level language.
Advantages
Disadvantages
High level language is a computer language which can be understood by the users. High
level language is very similar to the human languages and have a set of grammar rules
that are used to make instructions more easily. Every high level language have a set of
predefined words known as Keywords and a set of rules known as Syntax to create
instructions. Languages like COBOL, FORTRAN, BASIC, C ,C++, JAVA etc., are the
examples of high level languages.
Advantages
Disadvantages
____________________________________________________________________________________________
A computer can process data, pictures, sound and graphics. They can solve highly
complicated problems quickly and accurately. These are
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.
2. Central Processing Unit (CUP) – CPU is called the brain of a computer. An electronic
circuitry that carries out the instruction given by a computer program.
i. Control unit (CU)- the control unit manages the various components of the
computer. It reads instructions from memory and interpretation and changes in a series
of signals to activate other parts of the computer. It controls and co-ordinate is input
output memory and all other units.
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-
1. It controls all the parts and software and data flow of computer.
2. It performs all operations.
3. It accepts data from input device.
4. It sends information to output device.
5. Executing programs stored in memory
6. It stores data either temporarily or permanent basis.
7. 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.
____________________________________________________________________________________________________
1. Speed: - As you know computer can work very fast. It takes only few seconds for
calculations that we take hours to complete. The computer can perform millions
(1,000,000) of instructions and even more per second.
2. Accuracy: - The degree of accuracy of computer is very high and every calculation is
performed with the same accuracy. The accuracy level is 7.. The errors in computer are
due to human and inaccurate data.
3. Diligence: - A computer is free from tiredness, lack of concentration, fatigue, etc. It can
work for hours without creating any error. If millions of calculations are to be performed,
a computer will perform every calculation with the same accuracy. Due to this capability
it overpowers human being in routine type of work.
4. Versatility: - It means the capacity to perform completely different type of work. You
may use your computer to prepare payroll slips. Next moment you may use it for
inventory management or to prepare electric bills.
5. Power of Remembering: - Computer has the power of storing any amount of
information or data. Any information can be stored and recalled as long as you require it,
for any numbers of years. It depends entirely upon you how much data you want to store
in a computer and when to lose or retrieve these data.
6. No IQ: - Computer is a dumb machine and it cannot do any work without instruction
from the user. It performs the instructions at tremendous speed and with accuracy. It is
you to decide what you want to do and in what sequence. So a computer cannot take its
own decision as you can.
7. No Feeling: - It does not have feelings or emotion, taste, knowledge and experience.
Thus it does not get tired even after long hours of work. It does not distinguish between
users.
8. Storage: - The Computer has an in-built memory where it can store a large amount of
data. You can also store data in secondary storage devices such as floppies, which can be
kept outside your computer and can be carried to other computers.
____________________________________________________________________________________________________
Memory Management
Processor Management
Device Management
File Management
Security
Control over system performance
Job accounting
Error detecting aids
Coordination between other software and users
Memory Management
Processor Management
Device Management
An Operating System manages device communication via their respective drivers. It
does the following activities for device management −
Keeps tracks of all devices. Program responsible for this task is known as the I/O
controller.
Decides which process gets the device when and for how much time.
File Management
A file system is normally organized into directories for easy navigation and usage. These
directories may contain files and other directions.
Keeps track of information, location, uses, status etc. The collective facilities are
often known as file system.
Decides who gets the resources.
Following are some of the important activities that an Operating System performs −
_____________________________________________________________________________________________________
RAM:
Advantages
Disadvantages.
1. It is not cost friendly since its pricing per bit is high.
2. Space limited since computer manufacturers don’t include it in high capacities.
3. It is volatile.
ROM
This a type of memory that allows users to only read/ retrieve data from it but can not
write on it unless it is a special type of ROM.
The word ROM is an acronym for Read Only Memory. This type of memory is commonly
used to store permanent instructions in a computer such as the booting instructions.
Advantages of ROM.
Disadvantages.
Its information can only be retrieved (read) but user can not delete, alter or
overwrite its contents except for special types of ROM.
On some special types of ROM, user can only alter its contents ones.
Unlike RAM, incorrectly erasing ROM contents will brick the memory (makes
it in unusable).
ROM is slower type of memory.
Speed
Accuracy
Storage and Retrieval
Repeated Processing Capabilities
Reliability
Flexibility
Low cost
Input -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 could be recorded on any one of several types of input
medium, such as magnetic disks, tapes and so on.
Processing - In this step input data is changed to produce data in a more useful
form. For example, paychecks may be calculated from the time cards, or a
summary of sales for the month may be calculated from the sales orders.
Output - The result of the proceeding processing step are 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.
Language Processors:
Software
Software represents the set of programs that govern the operation of a computer
system and make the hardware run.
Analog computers
Digital Computers
These computers take the input in the form of digits & alphabets & converted it
into binary format.
Digital computers are high speed, programmable electronic devices.
Signals are two level of (0 for low/off 1 for high/on).
Accuracy unlimited.
Examples: Computer used for the purpose of business and education is also an
example of digital computers.
Hybrid Computer
The combination of features of an analog and digital computer is called a Hybrid
computer.
The main examples are central national defence and passenger flight radar
system.
They are also used to control robots.
Super Computer
Mainframes
Mini Computer
Notebook Computers
Notebook computers typically weigh less than 6 pounds and are small enough to
fit easily in a briefcase.
The principal difference between a notebook computer and a personal computer
is the display screen.
Many notebook display screens are limited to VGA resolution.
Programming Languages
There are two major types of programming languages. These are Low-Level Languages
and High-Level Languages.
Low-Level languages are further divided into Machine language and Assembly
language.
Low-Level Languages: The term low level means closeness to the way in which the
machine has been built. Low-level languages are machine oriented and require
extensive knowledge of computer hardware and its configuration.
Assembly Language
It is the first step to improve the programming structure. You should know that
computer can handle numbers and letter. Therefore some combination of letters can
be used to substitute for a number of machine codes.
The set of symbols and letters forms the Assembly Language and a translator program
is required to translate the Assembly Language to machine language. This translator
program is called `Assembler'. It is considered to be a second-generation language.
High-Level languages
You know that assembly language and machine level language require deep knowledge
of computer hardware whereas in a higher language you have to know only the
instructions in English words and logic of the problem irrespective of the type of
computer you are using.
Higher level languages are simple languages that use English and mathematical
symbols like +, -, %, / for its program construction.
You should know that any higher level language has to be converted to machine
language for the computer to understand.
10 MARKS QUESTIONS
1. Discuss the most significant development in each generation of
computers (OR) explain the features of each generation
computers.
First Generation
Second Generation
Third Generation
The period 1963 to 1971 is roughly considered as the period of Third Generation
of computers.
The third generation computers were developed by using the Integrated Circuit
(IC) technology.
Fourth Generation
Fifth Generation
The period 2010 to till date and beyond, roughly considered as the period of fifth
generation of computers.
By the time, the computer generation was being categorized on the basis of
hardware only, but the fifth generation technology also included software.
The computers of the fifth generation had high capability and large memory
capacity.
Working with computers of this generation was fast and multiple tasks could be
performed simultaneously.
Some of the popular advanced technologies of the fifth generation include
Artificial intelligence, Quantum computation, Nanotechnology, Parallel
processing, etc.
Advantages
Disadvantages
Low level language instructions are very difficult to use and understand.
Low level language instructions are machine dependent, that means a program
written for a particular machine does not executes on other machine.
Middle level language is a computer language in which the instructions are created
using symbols such as letters, digits and special characters. Assembly language is an
example of middle level language. In assembly language, we use predefined words
called mnemonics. Binary code instructions in low level language are replaced with
mnemonics and operands in middle level language.
Advantages
Disadvantages
High level language is a computer language which can be understood by the users. High
level language is very similar to the human languages and have a set of grammar rules
that are used to make instructions more easily. Every high level language have a set of
predefined words known as Keywords and a set of rules known as Syntax to create
instructions. Languages like COBOL, FORTRAN, BASIC, C ,C++, JAVA etc., are the
examples of high level languages.
Advantages
Disadvantages
High level language executes slower compared to middle and low level
languages
Operating Systems:
Memory Management − Keeps track of the primary memory, i.e. what part of it
is in use by whom, what part is not in use, etc. and allocates the memory when a
process or program requests it.
Processor Management − Allocates the processor (CPU) to a process and
deallocates the processor when it is no longer required.
Device Management − Keeps track of all the devices. This is also called I/O
controller that decides which process gets the device, when, and for how much
time.
File Management − Allocates and de-allocates the resources and decides who
gets the resources.
Security − Prevents unauthorized access to programs and data by means of
passwords and other similar techniques.
Job Accounting − Keeps track of time and resources used by various jobs and/or
users.
Control Over System Performance − Records delays between the request for a
service and from the system.
Interaction with the Operators − Interaction may take place via the console of
the computer in the form of instructions. The Operating System acknowledges
the same, does the corresponding action, and informs the operation by a display
screen.
Error-detecting Aids − Production of dumps, traces, error messages, and other
debugging and error-detecting methods.
Coordination between Other Software and Users − Coordination and
assignment of compilers, interpreters, assemblers, and other software to the
various users of the computer systems.
_____________________________________________________________________________________________________
__