Professional Documents
Culture Documents
Introduction
• Bit
• A fundamental unit of information having
just two possible values, as either of the
binary digits 0 or 1.
• Byte
• A unit of digital information in computing
and telecommunications that most
Introduction Contd…
• Within a computer, information is represented
and stored in a digital binary format.
• The term bit is an abbreviation of binary digit
and represents the smallest piece of data.
• Humans interpret words and pictures;
computers interpret only patterns of bits.
Numbering Systems
Number System Base Symbol Used
Binary 2 0,1
Octal 8 0,1,2,3,4,5,6,7
Decimal 10 0,1,2,3,4,5,6,7,8,9
Hexadecimal 16 0,1,2,3,4,5,6,7,8,9,A,B,C,D,
E,F
In hexadecimal A=10,B=11,C=12,D=13,E=14,F=15
Decimal to Binary
• Divide the number by 2.
• Get the integer quotient for the next iteration.
• Get the remainder for the binary digit.
• Repeat the steps until the quotient is equal to
0
Decimal to binary-Example
Decimal to binary-Example
Binary to Decimal Conversion
Binary to Decimal Conversion-Example
Decimal to Octal Conversion
Decimal to Octal Conversion
Octal to Decimal Conversion
Octal to Decimal Conversion
Decimal to Hexadecimal
Conversion
Decimal to Hexadecimal
Conversion
Hexadecimal to Decimal
Conversion