Professional Documents
Culture Documents
COMPUTERS
“An automatic electronic apparatus for making
calculations or controlling operations that are
expressible in numerical or logical terms.”
Integrated Co-ordination
components
1. CPU, ALU and Working together to
Storage Devices achieve a goal
2. Input –Output
Devices
Information is handled in the computer
by electrical components indicate only
two states or conditions All data to be
stored & processed are transformed or
coded as strings of two symbols, one
symbol to represent each state.
Two symbols normally used are 0 & 1.
•A bit is the smallest element . It holds one of the two
BIT possible values.
•0 or OFF is FALSE or NOT SET; 1 or ON is TRUE or
SET
ASCII
¤ Converts each digit of a decimal number into its binary
equivalent .
¤ It uses 4 digits to represent each of the digits.
¤ 4 bits are insufficient to represent the various other
characters used by the computer 6 bits are usually used
to represent characters in BCD code.
•The major drawback with the BCD code is that
allows only 64 different characters to be
represented.
•The BCD code was therefore extended from a 6-bit
to an 8-bit code.
•The added 2 bits are used as additional zone bits,
expanding the zone bits to 4.
•This resulting code is called the Extended Binary-
Coded Decimal Interchange Code
•(EBCDIC). Using the EBCDIC it is possible to
represent 28 or 256 characters.
•Since EBCDIC is an 8-bit code, it can easily be
divided into two 4-bit groups.
•Each of these groups can be represented by one
hexadecimal digit.
Now an
‘American advanced
Standard ASCII is used This
Code for having 8-bit representatio
Information character n is being
Interchange’ representatio used in Micro
or ASCII. n code Computers.
Uses 7 digits allowing for
to represent 256 different
128 characters.
characters.
Central processing unit (CPU) executes the
instructions of the program. The CPU is made up of
three major components: Register Set, ALU & CU.