You are on page 1of 1

FA

AI
Z
HU L)
D
O
A
M HO
M
A .SC
UH PAK
M .
COMPUTER SCIENCE FOR 10TH CLASS (UNIT # 5)
BY .Z.A
D ============================================================
B
SE .K.
PO (S =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

DATA REPRESENTATION

CO

THEORY
Question: Describe the importance of binary number system in computers.
Digital computers respond to numbers rather than letters. The ON/OFF position of
electronic switches corresponds to binary digits i.e. 0 and 1. So, digital computers use
binary numbers system for data representation and processing.
Question: What is meant by coding in computers?
Coding means representing numeric or non-numeric data and instructions in binary
number system. Following types of codes are used in coding of computers: Binary Coded Decimal (BCD): In this type of coding, each decimal digit is represented by its four bit binary
equivalent. E.g. BCD code for 948 is: (1001 0100 1000)
Alphanumeric Codes:
It is 6-bit code. This type of codes are used when the data and instructions contain
letters and symbols in addition to numbers. i.e. EBCDIC, ASCII, ANSI, UNICODE etc
The ASCII Code:
It is 7-bit code used to handle alphanumeric data. An extention of 8-bits code is also
available which is called ASCII-8 code.
The EBCDIC Code:
EBCDIC (Extended binary coded Decimal Interchange Code). It is 8-bit code and
primarily used for IBM (International Business Machine) and other compatible
computers.
Question: Describe ASCII code and EBCDIC code?
The ASCII Code:
It is 7-bit code used to handle alphanumeric data. An extension of 8-bits code is also
available which is called ASCII-8 code.
The EBCDIC Code:
EBCDIC (Extended binary coded Decimal Interchange Code). It is 8-bit code and
primarily used for IBM (International Business Machine) and other compatible
computers.
=*=*=*=*=
============================================================
(Page 1 of 1)

You might also like