SlideShare a Scribd company logo
1 of 35
BISHOP HEBER COLLEGE(AUTONOMOUS)
DEPARTMENT OF INFORMATION TECHNOLOGY
(Nationally Re-accredited with A Grade by NAAC with a CGPA
of 3.58 out of 4)
(Recognized by UGC as “College of Excellence”
Tiruchirappalli-620017,INDIA, www.bhc.edu.in
TEACHING LEARNING
Ms. G. VANITHA, MCA., M.Phil., B. Ed., NET,
Assistant Professor,
Department of Information Technology ,
Bishop Heber College, Tiruchirappalli-620-017
The Number system
1 2 3 4 5 6 7 8 9 A B C D E F
A
1
C
9
F
0 4
3
Number system
• Binary Number system-base value-2
• Octal Number system- Base value-8
• Decimal Number system-Base Value-10
• Hexadecimal Number system-16 (0-9,A,B,C,E, &
F)
BINARY NUMBER SYSTEM
• Base value- 2
• The numbers are 0 and 1
OCTAL NUMBER SYSTEM
• base value or radix=8
• The numbers are (0,1,2, … 7)
DECIMAL NUMBER SYSTEM
• base value or radix=10
• The numbers are (0,1,2, … 9)
HEXADECIMAL NUMBER SYSTEM
• Base value 16
• The numbers are 0,1,2, ……9, A,B,C,D,E, and F
BINARY TO DECIMAL CONVERSION
•(10110) 2= ( )10
BINARY TO DECIMAL CONVERSION
DECIMAL TO BINARY
BINARY to HEXADECIMAL
• Start from LSB, Each group of 4 bits replaced by its decimal equivalent.
• Ex
11110110101 = 0111 1011 01 01
7 B 5
Binary to decimal conversion
• Base value of binary =2
• Base value of decimal=10
Octal Number System
• Decimal to octal conversion base value or radix=8
• 8 ^0 =1 (0,1,2, … 7)
• Octal to decimal conversion
• Octal to binary conversion
• Binary to octal conversion
Hexadecimal Number system
• Base value 16
• The numbers are 0,1,2, ……9, A,B,C,D,E, and F
Decimal to Hexadecimal conversion
(115 D) = H.D
(235 D)= H.D
HEXADECIMAL to decimal
A3B H= (A3B) 16
Hexadecimal to binary
• The given no. is replaced by 4 bit binary equivalent.
• 2D5 - 0010 1101 0101
Binary to Hexadecimal
• Start from LSB, Each group of 4 bits replaced by its decimal equivalent.
• Ex
11110110101 = 0111 1011 01 01
7 B 5
BINARY ADDITION
BINARY SUBTRACTION
COMPLEMENTS
• 1’S COMPLEMENT
• 2’S COMPLEMENT
• 9’S COMPLEMENT
• 10’S COMPLEMENT
SIGNED & UNSIGNED
REPRESENTATION
(+) & (-) Sign before the number to represent its sign.
In computer is not possible. So 0 - positive number, 1- negative number.
For ex . + 15, - 15 are presented by 0 1111, 1 1111 respectively.
But negative numbers are represented in 3 ways
Signed –magnitude representation  1 1111
Signed -1’s complement representation  1 0000
Signed – 2’s complement representation  1 0001
FIXED-POINT REPRESENTATION OF
NUMBERS
• In the fixed point number representation systems,
• All numbers are represented as integers or fractions.
• Signed integer or BCD numbers are referred to as fixed-point
numbers.
• Ex.
• 123
FLOATING-POINT REPRESENTATION
OF NUMBERS
• A Number has both an integer part & a fractional part, is called a
real number or floating-point number., it can be either + or -.
• The numbers 0.008 & 1345.66 can be represented as 0.8X10 -2
&
1.34566X103
respectively.
• This kind of rep. is called the scientific representation.
• The number n can be represented as n=mr
e
, where m- mantissa, r-
radix & e- exponent.
BINARY CODED DECIMAL
• The BCD is the simplest binary code , i.e is used to represent a
decimal number..
• In BCD code  4 bit representation of a decimal number.
• Ex. 5 0101.
• If the decimal number consists of more than 1 digit , each decimal
digit is represented individually.
• Ex . 123  0001 0010 0011. 45 0100 0101
Gray code
• The gray code is binary code. It is used in shaft encoder.
• It is used in computer controlled machines such as lathes, etc.
EXCESS- 3 CODE
• EXCESS-3 CODE is formed by adding 3 to the decimal number & then
forming the binary coded number.
• Ex. (435)10 to excess -3
4 3 5
3 3 3 Add
________
7 6 8 0111 0110 1000
________
Excess -3
ASCII code
• ASCII- American standard code for information
Interchange code.
• It a 7bit code, up to 128 characters .
• It is used in small computers, peripherals, instruments &
communication devices.
• A letter, digit or special symbol is called a character .
• 8th bit is parity , it may be 1 or 0.
ASCII-8 CODE
• A newer version of ASCII is the ASCII-8 code ,
• 8 bit code, up to 256 characters.
EBCDIC CODE
• EBCDIC stands for Extended BCD interchange code.
• It s a 8 bit code without parity.
• A 9th bit can be used for parity up to 256 characters.
• In ASCII -8 & EBCDIC , the 1st 4 bits are known as zone bit. And the
remaining 4 bits are digit values.
• ASCII  7 BIT 3,4
BITS,BYTES & WORDS
• A BYTE is a basic grouping of bits(binary digit)
• A word is a grouping of bits .
• 8 bit/16 bit /32 bit/64 bit word.
Thank
All
You

More Related Content

What's hot

Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
ekul
 
Lec 02 data representation part 1
Lec 02 data representation part 1Lec 02 data representation part 1
Lec 02 data representation part 1
Abdul Khan
 
Number System
Number SystemNumber System
Number System
Web Designer
 

What's hot (20)

Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
 
Number System
Number SystemNumber System
Number System
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Data representation
Data representationData representation
Data representation
 
08. Numeral Systems
08. Numeral Systems08. Numeral Systems
08. Numeral Systems
 
Lec 02 data representation part 1
Lec 02 data representation part 1Lec 02 data representation part 1
Lec 02 data representation part 1
 
Number system
Number systemNumber system
Number system
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 
Binary codes
Binary codesBinary codes
Binary codes
 
Number system
Number systemNumber system
Number system
 
Data representation
Data representationData representation
Data representation
 
Data Reprersentation
Data Reprersentation  Data Reprersentation
Data Reprersentation
 
5a data representation
5a   data representation5a   data representation
5a data representation
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number system
 
Data representation
Data representationData representation
Data representation
 
digital logic circuits, digital component floting and fixed point
 digital logic circuits, digital component floting and fixed point digital logic circuits, digital component floting and fixed point
digital logic circuits, digital component floting and fixed point
 
Representation of Real Numbers
Representation of Real NumbersRepresentation of Real Numbers
Representation of Real Numbers
 
Number system
Number systemNumber system
Number system
 

Similar to 6.number system

Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
HamnaKhalid25
 
Computers numbering systems
Computers   numbering systemsComputers   numbering systems
Computers numbering systems
sld1950
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
JatinJatin30
 

Similar to 6.number system (20)

data representation
 data representation data representation
data representation
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.ppt
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx
 
Computer-codes.pptx
Computer-codes.pptxComputer-codes.pptx
Computer-codes.pptx
 
Numbersystemcont
NumbersystemcontNumbersystemcont
Numbersystemcont
 
Number system
Number systemNumber system
Number system
 
Computers numbering systems
Computers   numbering systemsComputers   numbering systems
Computers numbering systems
 
Digital fundamendals r001a
Digital fundamendals r001aDigital fundamendals r001a
Digital fundamendals r001a
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptx
 
Number system
Number systemNumber system
Number system
 
Acem numbersystem
Acem numbersystemAcem numbersystem
Acem numbersystem
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
Class 9Number system ppt.pptx
Class 9Number system ppt.pptxClass 9Number system ppt.pptx
Class 9Number system ppt.pptx
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
004 NUMBER SYSTEM (1).pdf
004 NUMBER SYSTEM (1).pdf004 NUMBER SYSTEM (1).pdf
004 NUMBER SYSTEM (1).pdf
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
 

Recently uploaded

SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 

6.number system

  • 1. BISHOP HEBER COLLEGE(AUTONOMOUS) DEPARTMENT OF INFORMATION TECHNOLOGY (Nationally Re-accredited with A Grade by NAAC with a CGPA of 3.58 out of 4) (Recognized by UGC as “College of Excellence” Tiruchirappalli-620017,INDIA, www.bhc.edu.in TEACHING LEARNING Ms. G. VANITHA, MCA., M.Phil., B. Ed., NET, Assistant Professor, Department of Information Technology , Bishop Heber College, Tiruchirappalli-620-017
  • 2. The Number system 1 2 3 4 5 6 7 8 9 A B C D E F A 1 C 9 F 0 4 3
  • 3. Number system • Binary Number system-base value-2 • Octal Number system- Base value-8 • Decimal Number system-Base Value-10 • Hexadecimal Number system-16 (0-9,A,B,C,E, & F)
  • 4. BINARY NUMBER SYSTEM • Base value- 2 • The numbers are 0 and 1
  • 5. OCTAL NUMBER SYSTEM • base value or radix=8 • The numbers are (0,1,2, … 7)
  • 6. DECIMAL NUMBER SYSTEM • base value or radix=10 • The numbers are (0,1,2, … 9)
  • 7. HEXADECIMAL NUMBER SYSTEM • Base value 16 • The numbers are 0,1,2, ……9, A,B,C,D,E, and F
  • 8. BINARY TO DECIMAL CONVERSION •(10110) 2= ( )10
  • 9. BINARY TO DECIMAL CONVERSION
  • 11. BINARY to HEXADECIMAL • Start from LSB, Each group of 4 bits replaced by its decimal equivalent. • Ex 11110110101 = 0111 1011 01 01 7 B 5
  • 12. Binary to decimal conversion • Base value of binary =2 • Base value of decimal=10
  • 13. Octal Number System • Decimal to octal conversion base value or radix=8 • 8 ^0 =1 (0,1,2, … 7) • Octal to decimal conversion • Octal to binary conversion • Binary to octal conversion
  • 14. Hexadecimal Number system • Base value 16 • The numbers are 0,1,2, ……9, A,B,C,D,E, and F
  • 15.
  • 16. Decimal to Hexadecimal conversion (115 D) = H.D (235 D)= H.D
  • 18. Hexadecimal to binary • The given no. is replaced by 4 bit binary equivalent. • 2D5 - 0010 1101 0101
  • 19. Binary to Hexadecimal • Start from LSB, Each group of 4 bits replaced by its decimal equivalent. • Ex 11110110101 = 0111 1011 01 01 7 B 5
  • 22. COMPLEMENTS • 1’S COMPLEMENT • 2’S COMPLEMENT • 9’S COMPLEMENT • 10’S COMPLEMENT
  • 23. SIGNED & UNSIGNED REPRESENTATION (+) & (-) Sign before the number to represent its sign. In computer is not possible. So 0 - positive number, 1- negative number. For ex . + 15, - 15 are presented by 0 1111, 1 1111 respectively. But negative numbers are represented in 3 ways Signed –magnitude representation  1 1111 Signed -1’s complement representation  1 0000 Signed – 2’s complement representation  1 0001
  • 24. FIXED-POINT REPRESENTATION OF NUMBERS • In the fixed point number representation systems, • All numbers are represented as integers or fractions. • Signed integer or BCD numbers are referred to as fixed-point numbers. • Ex. • 123
  • 25. FLOATING-POINT REPRESENTATION OF NUMBERS • A Number has both an integer part & a fractional part, is called a real number or floating-point number., it can be either + or -. • The numbers 0.008 & 1345.66 can be represented as 0.8X10 -2 & 1.34566X103 respectively. • This kind of rep. is called the scientific representation. • The number n can be represented as n=mr e , where m- mantissa, r- radix & e- exponent.
  • 26. BINARY CODED DECIMAL • The BCD is the simplest binary code , i.e is used to represent a decimal number.. • In BCD code  4 bit representation of a decimal number. • Ex. 5 0101. • If the decimal number consists of more than 1 digit , each decimal digit is represented individually. • Ex . 123  0001 0010 0011. 45 0100 0101
  • 27. Gray code • The gray code is binary code. It is used in shaft encoder. • It is used in computer controlled machines such as lathes, etc.
  • 28.
  • 29. EXCESS- 3 CODE • EXCESS-3 CODE is formed by adding 3 to the decimal number & then forming the binary coded number. • Ex. (435)10 to excess -3 4 3 5 3 3 3 Add ________ 7 6 8 0111 0110 1000 ________
  • 31. ASCII code • ASCII- American standard code for information Interchange code. • It a 7bit code, up to 128 characters . • It is used in small computers, peripherals, instruments & communication devices. • A letter, digit or special symbol is called a character . • 8th bit is parity , it may be 1 or 0.
  • 32. ASCII-8 CODE • A newer version of ASCII is the ASCII-8 code , • 8 bit code, up to 256 characters.
  • 33. EBCDIC CODE • EBCDIC stands for Extended BCD interchange code. • It s a 8 bit code without parity. • A 9th bit can be used for parity up to 256 characters. • In ASCII -8 & EBCDIC , the 1st 4 bits are known as zone bit. And the remaining 4 bits are digit values. • ASCII  7 BIT 3,4
  • 34. BITS,BYTES & WORDS • A BYTE is a basic grouping of bits(binary digit) • A word is a grouping of bits . • 8 bit/16 bit /32 bit/64 bit word.