pata Representation
BcD
BCD stands for Binary Coded Decimal. This
system was Pe eUPO seme esata:
system where four bits are-used to represent each
decimal digits. BCD is a method of using binary
digits to represent the decimal digits (0-9). In BCD
system, there iso limit on size of a number.
ASCII
ASCII stands for American Standard Code for
ee These are standard
character codes used f6 store data so that it may
be used by other software programs. Basically,
ASCII codes are of two types which as follows
() ASCHL-7 It is a 7-bit standard ASCII code. It
allows 2’ =128 (ffom 0 to 127) unique
symbols or characters. _
(ii) ASCIL-8 It is an extended version of
ASCI-7. It is an 8-bit code, allows 2° = 256
(0 to 255) unique symbols or rz
EBCDIC
EBCDIC stands for Extended Binary Coded
Decimal Interchange Code-In EBCDIC, characters
are represented by eight bits. These codes store
information which is readable by other
computers. It allows 2° = 256 combination of bits.
Logic Gate
It is a basic building block of a digital circuit that
has two inputs and one output. The relationship
between the input and the output is based on a
certain logic. These gates are implemented using
electronic switches like transistors, diodes,
[beac | cutout
“eel operation i
Types of Logic Gate
There are various types of logic gate as follows:
1. AND Gate This gate is also represented by ()
like (A-B), In AND gate, it returns True only
if both the conditions or inputs are True
otherwise it returns False.
ee
49
AB
OF rede
ee pt
i 10
Leet
X=A-B
2, OR Gate This is represented by (+) like
(A+B), It returns True if any one of the
conditions or inputs is True and if both
conditions are False then it returns False.
ee
x
B
Truth Table of OR Gate
A ijn ABS
0
‘ X=A+B
3, Inverter or NOT Gate This gate is also
represented by (’) like A’, In NOT gate,
it returns True if input is false and
vice-versa,
a—[>o—x«
Truth Table of NOT Gate
4, NAND Gate It is basically the inverse of
the AND gate. This gate is designed by
combining the AND and NOT gates.
It returns False only if the both conditions
or inputs are True otherwise it returns
‘True,
ee
eee