Computer Notes For 9th Class
Computer Notes For 9th Class
Unit 1
Introduction to Computers
Q 1: What is Computer?
Ans: Introduction:
The word computer is derived from the word compute. Which mean to
calculate. So a computer is normally considered to be a calculating device that
can perform arithmetic and logical operations at a very high speed. Computer is a
device that can compute at great speed. Actually, the main purpose of making
computer was to invent a machine which could make calculations at very high
speed.
Definitions:
A Computer is an electronic device that can accept data, store it arithmetically
and logically, process that information and give result from that processing.
Input / Data
Processing
OR
Output / Result
particular computer each and every calculation is performed with the same
accuracy.
4-Efficiency:
Efficiency is one of the most wonderful things about the computer. Computer can
perform multiple tasks simultaneously. For example preparation of the result of
examination, communicating on network and storage and retrieval of information
etc.
5-Processing:
A computer can process the given instructions. It can perform different types of
processing like addition, subtraction, multiplication and division. It can also
perform logical functions like comparing two numbers to decide which one is the
bigger etc.
6-Retriving:
A computer can recall (retrieve) the stored data and information as and when
required. The data stored in the computer can be used at later time. A computer
can recall the required data in a few seconds.
7-Control Sequence:
A computer works strictly according to the given instructions. It follows the same
sequence of execution that is given in a program.
8-Versatility:
3
A computer can perform any task, provided it can be reduced to a series of logical
steps.
We can use a computer in hospital, bank or at home. We can use it for calculating
our budget or can play games. A variety of facilities are available through
computers.
9-Decision making capability:
A computer can take simple decisions, such as less than, greater than or equal to.
It also determines whether a statement is true or false.
10-Diligency:
Computer can never get tired. It performs more boring, repetitive and
monotonous task.
CRUX
Computer has taken the business activities to new horizons, today it very possible
to commence business on a table using a single computer. Thanks to internet that
now we can get any kind of information we needed in just few seconds.
Q3: Give some examples of computer applications.
Ans: Here some examples of computer application are:
2.
3.
About 3000 years BC, Chinese developed the first calculating machine named
Abacus or Soroban.
Abacus consists of a rectangular wooden frame having rods which carry round
beads. Counting is done by shifting the beads from one side to another.
Q6: Describe Napiers bones history?
Ans: Napiers bones: (1550-1617)
John Napier was a Scottish mathematician. He made the first calculating device
after abacus. It was called John Napiers bone or cardboard multiplication
calculator. In addition to multiplication this machine was also used to calculate
square roots and cube roots.
Q7: Describe Pascals Pascaline Calculator.
Ans: Pascals Pascaline Calculator:
Blas Pascal (1623-1662), the 18 years old son of a French tax collector,
developed the first mechanical calculating machine in 1642. This machine consists
of gears, wheels and dials. This device was known as pascaline and it was
capable of adding and subtracting operations.
Q8: Describe the Charles Babbage work in the history of computers?
Ans: Computer was invented because Necessity is the mother of invention. Man
always searched for a first calculating device it took a long time to invent the
digital computer. Brief history of Charles Babbage behind the invention of
computer is as follows
Von Neumann contributed a new awareness of how practical and fast computers
should be built. These ideas, usually refer to as the stored program technique,
because essential for future generations of high speed digital computers and were
universally adopted. According to Von Neumann theory Data and program can
be stored in the same memory. Thus the machine can itself alter either its
program or internal data.
As a result of the ideas, computing and programming became much faster, more
flexible and efficient.
Q11: Write a note on different computer generations, briefly explaining their
features.
Ans: 1. First Generation:
Computer Model:
EDVAC, ENIAC, UNIVAC-I etc belongs to first generation computers.
Advantages:
1.
2.
3.
4.
Disadvantages:
1. Too large in size
2. Unreadable
3. Non-portable
4. Limited commercial use
5. Air conditioning required
2. Second generation:
(Transistors 1955-1964)
In 1948 with the invention of transistors, vacuum tubes were replaced with
transistors. As a result, the size of electronic machinery has been shrunk.
Second generation computers replaced machine language with Assembly
language allowing abbreviated programming codes to replace long difficult
binary codes. More sophisticated high level languages such as COBOL
(Common Business Language) and FORTRAN (Formula Transistor) came into
common use during this time.
9
Main features:
Major Innovation - Transistors as main component.
10
More reliable
Less heat generated
Small in size as compared to first generation computers
Better portability
Less prone to hardware failures
Disadvantages:
1.
2.
3.
3.
10
11
Computer Model:
IBM 360, PDP series, ICL 1900, CDC 6600 were developed in that period.
Advantages:
1.
2.
3.
4.
5.
6.
7.
Disadvantages:
11
12
4. Fourth generation:
(Microprocessors 1972-present)
In this generation ICs used very large scale integration (VLSI) technology is
using. In this technology circuits density approaching 10,000 components per
chip. Its memory access time was expressed in nanoseconds. A variety of
storage device were used for storing data. There was a great versatility of
input and output devices.
Main features:
Computer Model:
IBM 303, IBM 4300, CYBER 205 series, Intel 4004, XT, 4x86, Pentium I, II, III, IV
Advantages:
12
1.
2.
3.
4.
5.
6.
Smaller in size
Very reliable
Heat generation is low
Big memory
Totally general purpose
Cheapest among all generations
13
Disadvantages:
1. Very advanced technology was required to fabricate to the ICs.
5. Fifth generation:
(Present - Beyond)
Scientists claimed a challenge about an intelligent computer also known as
LOGICAL COMPUTER. It is a promise that such computers will real genuine real
intelligence. They will work logically and having own decision making power.
Scientists are working to increase the speed of computers. They are trying to
create a computer with real IQ with the help of advanced programming and
technologies.
Main Features:
1.
2.
3.
4.
Advantages:
1. Very large storage capacity.
Written by: Maryem Javed (Computer and Maths teacher)
The Educators School Kasur Campus
E-mail: [email protected]
Computer Notes for 9th Class (Unit 1)
14
Analog Computers
Digital Computers
Hybrid Computers
Analog Computers:
Computers which measures variable quantities along a continuous scale are
called analog computers. Analog computers do not operate directly with
numbers or digits. The output can be obtained in analog signals that are in the
form of graph or wave. Its can store limited amount of data. Processing speed
of these computers is slow. These are being manufactured in small sizes.
Results obtained by analog computers are not accurate. Its readability is low
due to output in the form of signals. These computers can be used to measure
variable quantities such as weigh, height and temperature etc. Analog
computers are mainly used in the field of Engineering, Medicine and Research
centers. Thermometer, analog watch and weight machine are the examples of
analog computers.
14
Digital Computers:
Digital
15
Digital computers work with digits. These computers measure any Physical
quantities along discrete or fixed scale. A digital computer is based on the rule
of counting. In fact, digital computers used digital signals, which can
distinguish between just two values 0 and 1. These computers can store large
amount of data. Processing speed of these computers is fast. These are being
manufactured in a wide variety of sizes. Results obtained by digital computers
are accurate. Its readability is high. These computers can be used to perform
mathematical and logical operations such as Addition, Multiplication, Division,
Subtraction, Less than, Equal to etc. These computers are commonly used in
offices, others institutions and even at home for personal use. Calculators,
digital watch, personal computer are the examples of digital computers.
Hybrid Computers:
Hybrid computers have combined features of both analog and digital
computers. Hybrid computers can get input and give results either in analog
form or in digital form. These computers can stores large amount of data as
compared to analog computers. Calculation speed of these computers is also
slow but fast than analog computers. These are being manufactured in various
varieties of sizes. Accuracy of these computers is high when output in digital
form and low when output in analog form. Its readability is high when output
in digital form and low when output in analog form. These computers can be
used to measure variable and physical quantities. Hybrid computers are
mainly used in engineering field and medical sciences. Medical Instruments,
ECG Machines and Petrol Pump Machines are the examples of hybrid
computers.
15
16
Analog Computers
Digital Computers
16
17
18
Hitachi
NEC
These are the companies in Japan, which produce super computers.
Famous supercomputers are:
Cray-1
Cray-2
Cray-3
Cray XMP
ETA-10
2. MAINFRAME COMPUTERS
Mainframe computers are large, expensive and very powerful computers that can
handle hundreds or thousands of connected users simultaneously. These
computers are capable of processing data at very high speed, millions of
instructions per second and have access to billions of characters of data. The size
of Mainframe is equal to door size or half room size. Mainframes store large
amounts of data, instructions and information. Many people can make use of the
same machine at the same time. These computers are used in banks, educational
institutions, insurance companies and airlines etc. Mainframes are manufactured
by IBM (International Business Machine), NEC (National Electronics
Corporation), HP (Hewlett Packard). Following are the different models of
Mainframe Computers available in the market:
18
Mark I
Whirlwind
IBM 701
IBM 360
19
3. MINI COMPUTERS
Mini computers were introduced in the 1960s. Mini computers are smaller than
mainframes, both in size and other facilities such as speed, storage capacity and
other services. They are versatile that they can be fitted where ever they are
needed. Their speeds are rated between one and fifty million instructions per
second (MIPS). They have primary storage in hundred to three hundred
megabytes range with direct access storage device. These computers are often
used by Small and medium-sized companies or University departments. IBM, DEC
and HP are the famous companies of Minicomputers. Following are the models of
minicomputers:
4.
DEC PDP
HP3000 series
IBM midrange computers
MICRO COMPUTERS
These are the smallest range of computers. They were introduced in the early 70s
having less storing space and processing speed. Micro computers of today are
equivalent to the mini computers of yesterday in terms of performing and
processing. They are also called computer of a chip because its entire circuitry is
contained in one tiny chip. These are single user computers. These are less
expensive computers. It has affordable price. Almost everyone can afford it. There
are several companies of Micro computers. The famous are Intel, IBM, Compaq
and Acer. Here are the models of Microcomputers:
19
486
Pentium I
Pentium II, III, IV
20
AMD 500
Microcomputers are available in different type i.e. desktop computers, laptop
computers and palmtop computers etc.
Q15: Explain the types of Microcomputers.
Ans: Types of Microcomputers:
Following are the three types of Microcomputers:
Desktop Computer:
Desktop or PCs (Personal Computers), are used by one person at a time. They are
usually user machines but can be interconnected among themselves to from a
local area network. Their speed depends upon the processor installed in the
computer. They are cheaper and have been sold in millions.
Laptop Computer:
The smallest computer in size has been developed. This type of small computers
look like an office brief case and called "LAPTOP" computer (also notebook
computer or notebook). The laptops are also termed as "PORTABLE COMPUTERS."
Due to the small size and light weight, they become popular among the computer
users. The businessmen found laptop very useful, during traveling and when they
are far away from their desktop computers. A typical laptop computer has all the
facilities available in microcomputer. Its cost varies from several thousand dollars
or less.
20
Palmtop Computer:
A small computer, that literally fits in your palm. Compared to full-size computers,
palmtops are severely limited, but they are practical for certain functions such as
Written by: Maryem Javed (Computer and Maths teacher)
The Educators School Kasur Campus
E-mail: [email protected]
Computer Notes for 9th Class (Unit 1)
21
phone books and calendars. Palmtops that use a pen rather than a keyboard for
input are often called hand-held computers or PDAs (Personal Digital Assistant)
Because of their small size, most palmtop computers do not include disk drives.
However, Many contain PCMCIA (Personal Computer Memory Card International
Association slots in which you can insert disk drives, modems, memory, and other
devices.
Q16. Describe the Impact of computers and Internet on society.
Ans: Computers and the internet allows society to communicate with each other
quickly and easily, provides society with a huge information database and
multiple sources to get information and allows humanity to do things that were
not possible before the invention of both the computer and the internet.
Probably the most important on our society is on information sharing.
Education:
Computers are very helpful in education. Educational institutes, from primary
university level, are using computers for various learning activities. Students can
prepare their projects easily with the help of computers. Many websites provides
online education. The user can download educational material, books and
tutorials. Some universities provide online lectures for the students.
Business:
21
Computer is now being widely used in business and industry. Any business
organization can use computers for marketing their products. Computer is also
used to manage the distribution system, advertising and selling activities. It can
also be used in deciding pricing strategies. These are also widely used in business
community to reduce the administrative paperwork and cost.
Written by: Maryem Javed (Computer and Maths teacher)
The Educators School Kasur Campus
E-mail: [email protected]
Computer Notes for 9th Class (Unit 1)
22
Online Banking:
The advent of the internet and the popularity of personal computers presented
an opportunity for the banking industry. The use of computer at banks has
provided many benefits. It saves time and provides convenience for customers.
Many banks provide the facility of ATM machines that is used to withdraw cash
directly from machine. Banks provide credit cards for purchasing things using
internet. You can access and manage all of your banks accounts, from one site.
Most of the banks now work on online banking system.
Stock Exchange:
Stock Exchange is the most important place of businessmen. Many stock
exchanges use computers to conduct bids. The stock brokers perform all trading
activities electronically. They connect with computer where brokers match buyers
with sellers. It reduces cost as no paper or special building is required to conduct
these activities.
CRUX
Computers has taken the business activities to new horizons, today it is very
possible to commence business on a table using a single computer. Thanks to
internet that now we can get any kind of information we need in just few
seconds. A technological revolution is changing our way of life; the way we live,
work and play.
Q17. What is computer language? Write a note on computer languages.
22
Ans: Language:
Way of communication is called language
23
23
I.
II.
III.
IV.
24
V.
Assembly Language:
A language which has same features as machine language but uses symbols
instead of 1 and 0 and also need to be translated before execution is called
assembly language.
Characteristics:
I.
II.
III.
IV.
Assembly Code
Assembler
Machine Code
25
ORACLE
MS-ACCESS
Written by: Maryem Javed (Computer and Maths teacher)
The Educators School Kasur Campus
E-mail: [email protected]
Computer Notes for 9th Class (Unit 1)
26
Q17. What are language translators / Processors? And also describe their types.
Ans: Language Translators:
Programs written in high level languages must be converted into machine
language for execution by the computer. Special program are used to convert a
source code into machine code. These programs are called Language Translators
or Processor.
There are three main types of language translators.
1.
Compiler
Interpreter
Assembler
Compiler:
Compiler
Object program
2. Interpreter:
26
The language that executes a source program by translating and executing one
instruction at a time is called Interpreter. If there is any error in the program it
27
indicates the error and stops the program execution. It does not create any
object file. It translates the source program each time the program is executed.
3. Assembler :
A program that translates an assembly code into machine code is called
Assembler. The assembler is a system program that is supported by the computer
manufacturer. It is written by system programmer with great care. It also
assembles the machine code in the main memory of the computer.
Short Notes
Q1: Define Assembler.
Ans: The program used to translate assembly code into machine language is
called Assembler.
OR
An assembler is a program that translates an assembly language program into
machine code.
OR
Assembler is a type of translator. It also works in the same way as compiler and
interpreter.
OR
27
28
28
In 1642 Balise Pascal, the 18 year old son of a French tax collector, invented a
numerical wheel calculator to help his father in calculation. This device was
known as Pascaline and was only able to add two numbers.
Q5: What was difference engine?
Written by: Maryem Javed (Computer and Maths teacher)
The Educators School Kasur Campus
E-mail: [email protected]
Computer Notes for 9th Class (Unit 1)
29
29
30
30
Q9: What are high level programming languages? How they differ from
Assembly language?
31
Ans: There are many high level programming languages. For example; BASIC,
FORTRAN,
COBOL, PASCAL, ADA, C, C++ etc.
Difference: They differ from Machine Languages because they are easy to understand and
write.
The words and phrases used in high level languages are simple English words.
Q10: Why machine and assembly languages are called low level languages?
Ans: They are called low level languages because they are very difficult to
understand. They can only be understood by the computers.
31
32
32
Ans: Electronic Numerical Integrator and Calculator (ENIAC) was the first
electronic computer made in 1946 by John Presper Eckert and John Williams
Mauchly, at the University of Pennsylvania, USA. This was based on decimal
number system and it has no memory.
It could perform 5000 additions or 350 multiplications in one second. It contained
18000 vacuum tubes, 70,000 resistors, 10,000 capacitors and 60,000 switches and
occupied a two room car garage. It consumed 150 kW of power. It weighed 27
tons.
Q15: What is EDSAC?
Ans: Electronic Delay Storage Automatic Computer (EDSAC) was first computer
based on stored program concept. It was completed by Mourice Wilkes at
Cambridge University in 1949.
Q16: What is EDVAC?
Ans: Electronic Discrete Variable Automatic Computer (EDVAC) was built by John
Williams Mauchly, John Presper Eckert at Moore School, Pennsylvania in 1951.
Q17: What is UNIVAC?
Ans: Universal Automatic Computer (UNIVAC) was the first commercially used
computer made by John Presper Eckert and John Williams Mauchly in June 14,
1951.
Q18: What is ABC (ATANASOFF BERRY COMPUTER)?
Ans: ABC a special purpose computer was developed in 1938 by Dr. John Vincent
Atanasoff and Clifford Berry at Iowa State College, USA.
Q19: Write down the Advantages and Disadvantages of Computers?
Ans: Following are some advantages and disadvantages of computer in our life.
Advantages:
1. Computers make us more productive in many of our jobs.
2. In education they can help us for better understanding faster learning and
broaden our thinking.
3. In hospitals we have better diagnosis, proper treatment and better healthcare.
4. In business, they are used to record stocks of raw materials as well as finished
products, making customer's bill, analyzing sales of various products etc.
5. In banks, they are used for day-to-day processing of customer's accounts and
Written by: Maryem Javed (Computer and Maths teacher)
The Educators School Kasur Campus
E-mail: [email protected]
Computer Notes for 9th Class (Unit 1)
33
payments.
6. In manufacturing, they provide ways to develop a representation of the
product and to test it in a variety of simulated environments.
Disadvantages:
1. Unemployment due to automation.
2. Wastage of time and energy in useless computer activities.
3. Data security
4. Privacy
5. Computer Crimes
33
34
34