Pgdca 111 It Notes
Pgdca 111 It Notes
1 Generation of computer.
The Five Generations of Computers
First generation computers (1940-1956)
⚫ The first computers used vacuum tubes for circuitry and magnetic drums for
memory.
⚫ They were often enormous and taking up entire room.
⚫ First generation computers relied on machine language.
⚫ They were very expensive to operate and in addition to using a great deal
of electricity, generated a lot of heat, which was often the cause of
malfunctions.
⚫ The UNIVAC and ENIAC computers are examples of first-generation computing
devices.
Second generation computers (1956-1963)
• Transistors replaced vacuum tubes and ushered in the second generation of
computers.
• Second-generation computers moved from cryptic binary machine language to
symbolic.
• High-level programming languages were also being developed at this time, such
as early versions of COBOL and FORTRAN.
• These were also the first computers that stored their instructions in their memory.
Third generation computers (1964-1971)
⚫ The development of the integrated circuit was the hallmark of the third generation of
computers.
⚫ Transistors were miniaturized and placed on siliconchips, called semiconductors.
⚫ Instead of punched cards and printouts, users interacted with third
generation computers through keyboards and monitors and interfaced with
an operating system.
⚫ Allowed the device to run many different applications at one time.
Memory is major part of computers that categories into several types. Memory is best
storage part to the computer users to save information, programs and etc, The computer
memory offer several kinds of storage media some of them can store data temporarily and
some them can store permanently. Memory consists of instructions and the data saved into
computer through Central Processing Unit (CPU). Memory is the best essential element of a
computer because computer can’t perform simple tasks. The performance of computer
mainly based on memory and CPU. Memory is internal storage media of computer that has
several names such as majorly categorized into two types,
1. Primary Memory / Volatile Memory
2. Secondary Memory / Non Volatile Memory
It is a non-volatile memory.
Input unit
Computer need to receive data and instruction in order to solve any problem. We need
to put the data and instruction into the computers. The Input Unit consists of one or more
Input devices. There are a number of devices that perform the function of input devices.
The keyboard of your computer is one of the most commonly used input devices. Other
commonly used input devices are the mouse, floppy disk drive, hard disk drive and
magnetic tape. Regardless of the type of input device used in a computer system, all
input device perform the following functions.
- Accept data and instruction from the outside word
- Convert it to a from that the computer can understand.
- Supply the converted data to the computer system for further processing.
Storage units
The storage unit of the computer holds the data and instruction that you enter through
the input unit before these are processed. It preserves the intermediate and final results
before these are sent to the output devices. It is also used to preserve the data for later
use: e.g. you may like to save letter you type today for printing after one week. The
various storage devices used in computer system are classified into two categories-
primary and secondary.
Primary Storage
The primary storage also called the primary memory, store and provides information very
fast. This is generally used to hold the program being currently executed in the computer,
the data being received from the in put unit and the intermediate and final results of the
program. The primary generally loses its content when you switch off the computer.
Therefore if you need to preserve the results or the input data, you have to transfer it to
the secondary storage. The cost of primary storage is more compare to the secondary
storage. Therefore, most computers have limited primary storage. Most of the computers
use ‘semiconductor memory’ as primary storage.
Secondary Storage
Output Unit
The output unit of a computer provides the information and results of a computation to
the outside world. As you know, computers do not work in the decimal system, thy work
in the binary system. Therefore if required, the output unit also converts the binary data
into a form that users can understand. Printer and Video Display Unit (VDU, also called
display screen)are commonly used output devices. Other commonly used output devices
are floppy disk drive, hard disk drive and magnetic tape drive in the earl ear generation
computers, paper tape punch units and card punch units were also used as output
devices.
Arithmetic-Logic Unit
All calculations are performed in the Arithmetic Logic Unit (ALU) of the computer. ALU
also dose compressions and takes decisions. Whenever calculation has to be done, the
control unit transfers the required data from the storage unit to ALU. The ALU can
perform basic orations such as additions, substations, multiplications, division, etc. the
ALU can also do logical operations: e.g. it can check if the number a is less than, equal to
or greater than the number b. after the ALU has performed the calculation or the logical
operation, the result is transfer to the storage unit.
Control Unit
The control unit controls all other units in the computer. The input unit does not know
when to receive data and where to put the data in the storage unit after receiving it. It is
the control unit that gives the necessary instructions to the input unit. Similarly, the
control unit instructs the input unit where to store the data after receiving it from the user.
In the same way, it controls the flow of data and instructions from the storage unit to ALU.
It also controls the flow of the result from ALU to the storage unit. The control unit also
controls what should be sent to the output unit and when. In brief, the control unit is the
central nervous system of the computer that controls and synchronizes its working.
Central Processing Unit
The control unit and ALU of the computer are together known as the central
processing unit (CPU). In most modern computers, a single IC does the job of
controlling all units of the computer. The same IC also contains the ALU. The CPU is
like a computer’s brain:
----- It performs all calculations.
----- It takes all Decisions.
---- It controls all units of the computer.
CPU(Central processing Unit .Alternately referred to as a processor,
central processor, or microprocessor):is a
• Set of electronic circuitry that executes program instructions
• Converts data into information
• Acts as Control center i.e. it controls all the devices connected to system. because
of this function it is called as Brain of Computer System
The three components of the CPU are following,
1. Arithmetic Logic Unit
2. Control Unit
3. Registers
ALU (arithmetic logic unit)
Performs calculations , logical operations and comparisons (data changed)Registers
Small, permanent storage locations within the CPU used for a particular purpose
Manipulated directly by the Control Unit
Wired for specific function
Size in bits or bytes (not MB like memory)
Can hold data, an address or an instruction
6 Write short on -
(A) Keyboard
The keyboard is the most common and widely used input device. It is made up of
buttons called 'keys'. The keys are arranged into sections:
• Alphabet keys
• Function or F keys (F1, F2, F3)
• Numeric keys (one set above the alphabet keys and a numeric keypad on the right)
• Arrow keys
• Command keys (insert, delete, home, end, page up/down)
Keyboards are used to input Text, numbers and instructions into the computer. Most
keyboards use a QWERTY key layout. This name comes from the first six letters on the top
row of the alphabet keys.
Alphanumeric Keypad
It consists of keys for English alphabets, 0 to 9 numbers, and special characters like +
− / * ( ) etc.
Function Keys
There are twelve function keys labeled F1, F2, F3… F12. The functions assigned to these
keys differ from one software package to another. These keys are also user programmable
keys.
Special-function Keys
These keys have special functions assigned to them and can be used only for those specific
purposes. Functions of some of the important keys are defined below.
Spacebar, Enter, Backspace, Delete, Insert, Shift, Caps Lock, Esc, Tab, Ctrl, Alt
(B) MOUSE
Mouse is a device that controls the movement of the cursor or pointer on a display screen. It
is a small object you can roll along a hard and flat surface. As you move the mouse, the
pointer on the display screen moves in the same direction. Mouse contains at least one
button and sometimes as many as three, which have different functions depending on what
program is running.
The mouse is a small device used to point to a particular place on the screen and select in
order to perform one or more actions. It can be used to select menu commands, size
windows, start programs etc.
The most conventional kind of mouse has two buttons on top: the left one being used most
frequently. Mouse Actions
(C ) Optical Character Recognition (OCR) is software which extracts the text from the
image of scanned document. OCR software compares the shape of each possible text
character in the image data with sample (template) for each character stored in computer.
When it recognizes a character then adds it in the output data sequence.
Most OCR readers include a small optical scanner for reading characters
and Sophisticated OCR software for analyzing read.
Advantages of OCR readers include
🠹 Written data and printed data can be read at the same time.
🠹 Hard copies of documents can be read directly into a computer without retyping.
🠹 The characters converted can later be edited by word processing software.
🠹 It is quicker to extract text from a document and to use it via word processor.
🠹 It is useful for people with visual impairments because after extracting text from
document, a text-to-speech software can be used to read it aloud.
Disadvantages of OCR readers include
🠹 OCR readers often do not work well with handwritten characters or thse in unusual
fonts.
🠹 The text recognized by OCR software is not always accurate.
Software is used to detect the presence of marks (shaded regions) in certain positions
on a paper form. Unlike OCR, it cannot detect the characters. OCR software is used to
extract marked answers in multiple-choice questions, survey results, votes in elections
etc.
Advantage:
1. It is extremely fast and accurate because shaded regions are simple to detect.
Disadvantages:
1. Paper forms can be read accurately only if they are lined up properly.
2. The dirty marks on the paper can be read by OMR as well which leads to wrong results.
7 Differentiate between CRT monitor and LCD monitor
BASIS FOR
CRT LCD
COMPARISON
Noise Of They produce high-level noise They have a low level of noise.
Printers as they have many moving
parts.
Print Quality The print quality of impact The print quality of non-impact
printers is lower. printers is higher.
Printing Ink When print head strikes, then They prefer cartridges or toner
they prefer special inked ribbons for printing on paper.
to produce print on paper.
Paper Sheet They prefer continuous paper They prefer individual paper
Used sheets. sheets.
Character Except for the dot matrix, the It can print various types of
Style character or figure style cannot figures from carrying the
be changed in the other impact individual printer.
printers.
MICR software scans documents for numerals and symbols printed in magnetic ink. The
use of magnetic ink makes documents harder to copy. MICR is mostly used by bank
cheque- processing systems for input of printed items on the bottom of each cheque.
Advantages:
1. It is highly accurate to recognize numerals and symbols even if they are overprinted
by visible marks.
1. MICR is difficult to forge.
2. Documents can still be read when folded or written on.
Disadvantages:
1. MICR readers are expensive and only detect magnetic ink characters.
2. MICR readers and encoders are very expensive.
3. The system can only accept a few different character sets.
1 input device
Computer need to receive data and instruction in order to solve any problem. We need to put
the data and instruction into the computers. The Input Unit consists of one or more Input
devices. There are a number of devices that perform the function of input devices. The
keyboard of your computer is one of the most commonly used input devices.
5 operation of register
Stores values from other locations (registers and memory)
Addition and subtraction
Shift or rotate data
Test contents for conditions such as zero or positive Control unit
• Part of the CPU that generates control signals and controls all operations of
computer
• Moves data to and from CPU registers and other hardware components (no change
in data)
• Accesses program instructions and issues commands to the ALU
• Directs the computer system to execute program instructions
• Communicates with other parts of the hardware through exchange of control signals
9 scanner
A scanner is a device that images a printed page or graphic by digitizing it, producing an
image made of tiny pixels of different brightness and color values which are represented
numerically and sent to the computer. Scanners scan graphics, but they can also scan
pages of text which are then run through OCR (Optical Character Recognition) software
that identifies the individual letter shapes and creates a text file of the page's contents.