Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
LECTURER IN ECE
AL- AMEEN ENGG. COLLEGE,
SHAORANUR
www.edutalks.org
They provide the basis for all operations in information
processing systems
www.edutalks.org
There are many different types of numbers. In conventional
arithmetic, a number system based upon ten units (0 to 9) is
used
www.edutalks.org
The decimal number system uses positional number
representation, which means that the value of each digit is
determined by its position in a number
www.edutalks.org
Example 1: the number
2734
is interpreted as
www.edutalks.org
Each digit of a binary number, 0 or 1, is called a bit, an
abbreviation for binary digit
www.edutalks.org
To convert a decimal number into binary number it
requires successive division by 2 writing down each
quotient and its remainder
www.edutalks.org
To convert decimal fractions into equivalent binary
fractions repeatedly double the decimal fraction
The bits that are written in this manner are read from
top to bottom with a decimal point on the left
www.edutalks.org
For example consider the number 0.625, conversion
is done in the following manner
www.edutalks.org
The conversion of a binary number to a decimal number
may be accomplished by taking the successive powers of
2 and summing for the result
www.edutalks.org
Digital systems operate only on binary numbers. Since
binary numbers are often very long, two shorthand
notations, octal and hexadecimal, are used for
representing large binary numbers.
www.edutalks.org
Conversion from decimal to octal can be performed by
repeatedly dividing the decimal number by 8 and using
each remainder as a digit in the octal number being
formed
www.edutalks.org
The hexadecimal number system has a base of 16
Digits 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
www.edutalks.org
www.edutalks.org
www.edutalks.org
www.edutalks.org
Introduction
www.edutalks.org
Used to represent each digit of a decimal
number (0 to 9) as a 4 bit binary
8 7 4 (decimal)
www.edutalks.org
• Each decimal digit is coded into a 4-bit binary
code
and so on
www.edutalks.org
• Decimal number is represented in binary form in
a single bit
www.edutalks.org
• Universally accepted alphanumeric code
• 7-bits codes
www.edutalks.org
• Universally accepted alphanumeric code
• 7-bits codes
www.edutalks.org
Example: ASCII code representation of the word
Digital
www.edutalks.org
Error means corruption of data
Parity bit:
www.edutalks.org
Even parity:
1 1000011
Odd parity:
1 1000001 www.edutalks.org
Keep in touch through
suhailta@gmail.com
www.edutalks.org