Introduction To Computre Chapter1-3
Introduction To Computre Chapter1-3
Introduction to Computer
What is Computer?
• An electronic device for storing and processing data, typically in
binary form, according to instructions given to it in a variable
program.
• It is a collection of hardware and software components.
• Device or machine for making calculations or controlling operations
that are expressible in numerical and logical terms.
• But today’s computers not only process numbers, they process texts,
pictures, multimedia and so on.
• Generally, Computer is an electronic device; operating under the
control of instructions stored in its own memory unit and that can
accept data, process data, produce output and store the results for
future use.
Characteristics of computers
• Automatic: once a program is in the computer’s memory, it continues
without the need for human intervention until completion.
• Speed: a computer is a very fast device.
• A powerful computer is capable of performing billion (109) simple
arithmetic operations per second.
• Accuracy: The computer’s accuracy is consistently high.
• Storage capacity: computers help to save space and economy by
storing very large amount of data.
• Diligence: unlike human beings, a computer is free from boredom,
tiredness, lack of concentration.
Characteristics of computers(cont…)
• Versatility:
• It is the capability of a computer to perform different kinds of works with same
accuracy and efficiency.
• Power of remembering:
• A computer can store and recall huge amount of information because of its
secondary storage capability.
• No IQ: Intelligent Quotient is zero.
• It works only within the limits of what it has been instructed to do.
• No feeling:
• They have no feelings and no instincts because they are machines.
• Resource sharing
Application of computers
• Today, every company is now directly or indirectly dependent on
computers for information processing.
Science: scientists have been using computers to develop theories, to
analysis, and test the data.
E.g. detail study of how earth quakes affect buildings or population
affect weather pattern, satellite based application.
Medicine and health care: now doctors are using computers right
from diagnosing the illness to monitoring a patient’s status during
complex surgery.
Application of computers(cont…)
First generation
Second generation
Third generation
Fourth generation
Fifth generation
First generation(1940s-1950s)
• It uses vacuum tubes as main component
• It is very big ,expensive & slow
• It required extensive air condition
• It generates large heat
• It uses magnetic drums for memory
• It uses punched cards and paper tape for input purpose.
• Output was displayed on printouts.
Second generation(1950s-1960s)
• It uses Transistors replaced vacuum tubes
• B/c of the transistors, the computer becomes smaller in size, fast in
speed & more reliable than 1st generation.
• It uses punched cards for input and printouts for output
• It controls by Assembly programming language
• Magnetic tape is introduced for store data
Third generation(1960s-1970s)
• Integrated circuits(IC) called chips are replaced to transistor. IC is a
collection transistor.
Because of IC, Computers became:-
• Smaller in size & power requirement
• Very fast & more reliable
• Magnetic disk is replaced to magnetic tape storage device.
• It uses keyboard instead of punched cards.
• It uses monitors instead of printout.
• It uses operating system which allows the computer to run many
applications at one time with a central program that monitored the
memory.
Fourth generation(1970s-present)
• It uses Microprocessor replaces Integrated Circuit.
• Thousands of Integrated Circuits are built onto a single silicon Chip.
• Cheaper in price
• More powerful
• Efficient &reliable
• It uses Graphical user interface and mouse.
Five Generation(present-future)
• It uses an artificial intelligence & interact with the natural language
• The main is to narrow the gap b\n human being and computer.
Data and Information
• Data:- Data is raw and unorganized fact that required to be processed
to make it meaningful.
• Data is meaningless.
• Letters, numbers, combination of both letters and numbers
• Data is essential raw material for the creation of information
Information( Data + meaning )
• Provides answers to the who, what, where and when type questions.
Knowledge(Information + understanding)
• Information read, heard, or seen, and understood.
• General awareness or possession of information.
General
Mini Computer
Analog Digital
Specific
Mainframe Computer
Hybrid
Super Computer
Computers classification according to purpose
1. General purpose
• Even though such computers are versatile, they generally lack in speed
and efficiency.
• Computers that you use home and schools are general purpose
computers.
Computers classification…contd’
2. Specific purpose
• These computers are used for airline reservation, satellite tracking, and
air traffic control.
Classification of computers according to the
method of operation (data handling)
• Computers are classified into three by the way they process data:-
1. Analog computers
2. Digital computers
3. Hybrid computers
Analog computers
Hardware component
Software component
1. Computer Hardware
• The computer hardware is the physical part of the computer system, which we can touch
and see.
• It includes electronic devices, which have the potential for performing the task of solving
problems.
CONT
• The computer hardware is composed of three main components namely:
Central Processing Unit (CPU)
Memory unit(Storage devices)
Input /Output devices
1. Central Processing Unit (CPU)
• It is the part of a computer hardware that executes program instructions.
• It performs Arithmetic and Logical operations and controls the operations
of the other elements of the system.
In general the CPU has two major functions:
Performing arithmetic and logical operation and
Controlling every activity of the computer like:
Controlling internal and external devices
CONT
Controlling memory usage for storing data and instruction.
Controlling sequence of operation.
Component of CPU
• The CPU has three(3) major components:
Register
Control Unit
• The control unit is like the human brain and it controls all of the activities of
computer.
CONT..
• It directs the entire computer system to carry out every activity.
• Reads instruction from a memory and translates it into an activity; and
regulates the amount of CPU time that each operation may consume.
• The control unit does not actually execute the instructions (just as the brain
does not do the walking or the talking); rather it instructs or directs other
processing elements to do so.
• Fetches and store data and instruction from memory to register and vice
versa.
• It receives an instruction, decodes/ interprets and passes it to the ALU for
execution.
• The control unit tells the rest of the computer system how to carry out a
program's instructions.
CONT..
• It directs the movement of electronic signals between:
Main memory and the arithmetic/logic unit
Main memory and the input and output devices
• Arithmetic/LogicUnit(ALU)
Is the component of the CPU which contains the electronic circuitry that
executes arithmetic and logical operations.
• Arithmetic unit:- perform actual computing and calculations based on
fundamental mathematical operations: addition, subtraction, multiplication,
and division
• Logical unit: - based on the instruction provided to it, perform logical
comparison between data items.
• The comparison determines whether one information is greater than, less
than or equal to the other. That is, A = B, A > B, A < B, A>=B, A<=B
Registers
• Registers are special high-speed circuitry areas that temporarily hold data, keep track
instructions, and hold the location and results of operations under the control of CU.
• Registers are contained in the processor and hold data to be processed immediately.
• Used to temporarily store data and instruction that relate to the process being executed
• Data and program instructions are loaded from main memory into the registers just before
processing
Memory Unit
• Computer systems need to store data and instruction internally or external to the system.
Memory is a location that holds data and instruction.
Primary memory/storage
Secondary memory/storage
Primary memory (Main /Internal
Memory)
• Main memory is part of the computer that holds data and instruction
for processing.
• In general it can be used:
To hold data and instruction temporarily receiving from input
devices and sending them to output devices during processing
To store data necessary while execution
To provide additional space for programs in execution.
To hold the computers operating system program.
To hold instructions of application software. E.g. Word
processing, spreadsheet, etc.
Memory size (storage capacity)
• ROM is used to store initial start-up instruction and routines in BIOS (basic
input/output system), which can only read by the CPU.
• The contents of ROM are not lost even in case of sudden power failure, thus making it
non-volatile in nature.
• ROM is random access in nature which means the CPU can randomly access any
location within the ROM.
Random-Access Memory (RAM)
• A kind of memory that can be instantly changed is called read-write
memory or random-access memory (RAM).
• RAM can be defined as a block of sequential memory location, each of
which has a unique address determining the location and those locations
containing the data element.
• A memory address is a number that indicates a location on the memory
chips.
• Memory addresses start at zero and go up to one less than the number of
bytes of memory in the computer.
• RAM is referred to as random-access memory because of its ability to access
every byte of data directly.
• ROM is permanent while the data in RAM changes constantly (i.e. it is
volatile in nature).
Speed of Computer
• Secondary memories are a kind of memory which are external to the main
circuit board and connected through a cable.
• Unlike RAM, it is a part of the computer that retains data permanently after
the power is turned OFF.
Optical storage
• Magnetic storage:- They use a magnetic technology to read and write data from
and to the surface of storage area.
• The most common types of magnetic storage are:
• Magnetic tape
• Magnetic disc
• Data are stored on a magnetic tape by running the tape over the
electromagnetic read/write head known as tape dive or streamer, which
magnetizes small spots on the tape.
• It stores data sequentially.
Magnetic disc
• Magnetic disks allow to store and access information randomly and
overcome the slow access time commonly found in tape files.
• The most common magnetic disk includes floppy, flash and hard disks.
• Floppy:- It used to store programs and data for a longer period outside the
computer system.
• Have low access time
• Hard disks
• Hard disks can store enormous amounts of data, but it HAS lower
access time than RAM.
• But accessing data from hard disk is faster than accessing data
from floppy disk.
Optical disk/storage
• Optical storage devices use the principle of light (laser technology) to store information.
• The data is actually recorded by burning on a tiny hole which is called pitch to store 0’s /1’s.
• The two common types are:
CD and
DVD
• Compact disk (CD)
• CD is a form of data storage device that uses optical material rather than magnetic
material.
• Have three variation, these are:-
• Output Devices: Are devices which used to convert a machine readable code in to human
readable by processing (converting) in to graphical, alphanumeric, or audiovisual form.
• In general they are a kind of peripheral device that enables a computer to communicate
(send out) information to the user.