Professional Documents
Culture Documents
Introduction To Computer Module 1 and 2
Introduction To Computer Module 1 and 2
Computers are machines that perform tasks or A digital computer is designed to process the
calculations according to a set of instructions or data in numerical form, its circuits perform
programs. mathematical operations of addition,
subtraction, multiplication and division.
It is an electronic device used to store data and
gives the results accurately within a fraction of The numbers operated on by a digital computer
second. are expressed in the binary system.
Computers are extensively used everywhere. It Digital Computers are generally classified by
mainly consist of four basic unit such as, size and power as follows
Mini computers were designed for control, Computers work at an incredible speed.
instrumentation, human interaction, and It can carry out instructions at a very high
communication switching as it is distinct from speed.
calculation and record keeping.
A powerful computer is capable of performing
A small, multi-user computer that can support about 3-4 million simple instructions per
10 to hundred users simultaneously. second.
Mainframe Computers It can perform arithmetic and logical operations
Mainframe Computers is a powerful multi-user within a fraction of second.
computer that can support thousand users Accuracy
simultaneously.
Computer provides a high degree of accuracy.
The degree of accuracy of a computer depends The computer is an electronic device that
on the instruction and processor type. accepts (reads) data from the user and
processes the data by performing calculations
Versatility
and operations on it, and generates (writes) the
Computer is versatile in nature. desired output.
It can perform different types of task easily. A computer consists of four major components
such as
At one moment user can use the computer to
prepare a letter document and in the next Input Devices (Input Unit)
moment they may play music or print a CPU (Processing Unit)
document. Memory (Storage Unit)
Output Devices (Output Unit)
Power of remembering
Input Unit
A computer can store and recall any
information because it has secondary storage. An input device is a hardware or peripheral
device used to send data to a computer.
All information can be retained as long as
desired by the user and that can be recalled An input device allows users to communicate
almost simultaneously and accurately even after and feed instructions and data to computers for
several years. processing, display, storage and/or
transmission.
Diligence
The important and most commonly used input
Computers can perform long and complex
devices are
calculations with the same speed and accuracy
from the start till the end. Keyboard
Mouse
Being a machine, a computer does not suffer
from the human traits of tiredness and lack of Other input devices are
concentration.
Joystick
Storage Scanner Barcode Reader
Large volume of data and information can be CPU (Processing Unit)
stored in the computer and also retrieved
whenever required. The CPU is the heart of the computer, it is the
part of a computer which interprets and
Computer has two types of storage. They are executes instruction.
Primary storage and Secondary storage.
Functional block of CPU
In Primary Storage, a limited amount of data
can be stored temporarily like RAM, ROM. The two components in CPU are Arithmetic and
logic unit (ALU)
Secondary storage can store a large amount of
data permanently like floppy and compact disk. Control Unit (CU)
Arithmetic and logic unit (ALU) The important output devices, which are used
in computer systems are
The ALU performs arithmetic and logical
operations. Monitors
Printer
Arithmetic operations include addition,
Graphic Plotter
subtraction, multiplication and division.
Computer - Number System
Logical operations include comparing numbers,
letters and special characters. A computer can understand positional number
system where they are only in the form of
The ALU is a fundamental building block of the
digits, alphabet, symbols, video, audio, etc.,
Central Processing Unit of a computer.
But the computer can understand only 0s and
Control Unit (CU)
1s, so it converts all data into 0s and 1s.
A Control Unit (CU) handles all processor
A value of each digit in a number can be
control signals.
determined using
It directs all input and output flow, fetches code
The digit
for instructions from micro- programs and
The position of the digit in the number
directs other units and models by providing
control and timing signals. The base of the number system (where base is
defined as the total number of digits available in
Memory Unit
the number system).
Computer memory is a device that stores
Number system used in the computer is
computer's data and programs.
classified into Binary number system
It stores program, data results or any kind of
Decimal number system Octal number system
information.
Hexadecimal number system
Memory stores binary information, i.e. 0's and
Binary number system
1's in internal storage areas in the computer.
The binary number system is a numbering
Moreover, the term memory is usually used as
system that represents numeric values using
shorthand for physical memory, which refers to
two unique digits (0 and 1).
the actual chips capable of holding data.
It is also called as base (2) number system.
Some computers also use virtual memory,
Each position in a binary number represents a 0
which expands physical memory onto a hard
power of the base (2), that is, 20.
disk.
The last position in a binary number represents
Output Unit
x power of the base (2), that is, 2x where x
Output devices are peripheral equipment that represents the last position 1. For e.g.
converts a computer's output to a form that can 1101.101(2)
be seen, heard or used as an input for another
The leftmost bit is called Most Significant Bit
device, process or system.
(MSB) and the rightmost bit is called Least
Significant Bit (LSB).
Decimal Number System ASCII character encoding provides a standard
way to represent characters using numeric
The number system that we use in our day-to-
codes.
day life is the decimal number system.
These include upper and lower-case alphabetic
The decimal number system has a base 10 as it
characters, numbers, and punctuation symbols.
uses 10 digits from 0 to 9.
ASCII was actually designed for use with
In decimal number system, to the left of the
teletypes and so the descriptions are somewhat
decimal point represent units, tens, hundreds,
obscure.
thousands and so on.
ASCII codes are broadly classified into three
Each position represents a specific power of the
groups
base (10).
Non printable ASCII codes
The above example shows that, decimal
Printable ASCII codes
number 5319(10), weight of each digit is power
Extended ASCII codes
of 10.
Non printable ASCII codes
Each digit has position number is from right(0)
to left(3).That is first digit on right 33 non printable special characters. The first 32
characters (decimal value from 0 to 31) which
is zero, the second digit on the right is 1 and so
represent letters, digits, punctuation marks and
on up to 3.
a few miscellaneous symbols.
Binary to Decimal Conversion
Printable ASCII codes
Multiply each bit by 2n, where n is "weight" of
94 standard printable characters (decimal value
bit.
range from 33 to 126) which represent letters,
The weight is position of the bit, which starts digits, punctuation marks and a few
from 0 on right, then 1 and goes on. Add the miscellaneous symbols.
result.
The following table originates from the older,
Decimal to Binary Conversions American systems, which worked on 7-bit
character tables.
The easiest way to convert decimal to its binary
equivalent is to use division algorithm. Extended ASCII codes
Divide by two, keep track of remainder at each Extended ASCII uses eight instead of seven bits,
step. which adds 128 additional characters.
Put remainder bit as 0, if that number gets This gives extended ASCII the ability for extra
divided by two. Put remainder bit as 1, if that characters, such as special symbols, foreign
number is not divided by two. language letters and drawing characters.
The lower case alphabetic characters are Architectural attributes that include instruction
sequential beginning at 61h. set, number of bits used to represent various
data types (numbers, characters), I/O
The first 32 characters (codes 0-1Fh) and 7Fh
mechanism and techniques for addressing
are control characters.
memory.
Most keyboards generate the control characters
Organizational attributes that include those
by holding down a control key (CTRL) and
hardware details transparent to the
simultaneously pressing an alphabetic character
programmer, such as control signals, interfaces
key.
between the computer and peripherals and the
Unicode memory technology used.
The Arithmetic and Logic Unit performs Micro-programs are stored in a special control
arithmetic and logical operations. memory and are based on flowcharts.
Arithmetic operations include addition, They are replaceable and ideal because of their
subtraction, multiplication and division. simplicity.
Processor Speed
Boot sector refers to a single sector (normally Primary Memory is used for immediate access
the first in the active partition) that contains the of data by the processor. Most computer
code to boot the operating system. systems around the world use primary memory.
A sector of a hard disk, floppy disk or similar Primary memory can be divided into two types.
data storage device that contains code for RAM (Random Access Memory)
booting programs (usually, but not necessarily, ROM (Read Only Memory)
operating systems) stored in other parts of the
disk.
RAM (Random Access Memory)