Binary Number System And Conversion

Slides:



Advertisements
Similar presentations
DATA REPRESENTATION CONVERSION.
Advertisements

Number Systems. 2 The total number of allowable symbols in a number system is called the radix or base of the system. Decimal Numbers: radix = 10 (symbols:
1 Number Systems. 2 Numbers Each number system is associated with a base or radix – The decimal number system is said to be of base or radix 10 A number.
Converting Binary to Octal
Decimal to Binary Conversion Press any key to continue…
Number Systems and Arithmetic
Binary Numbers.
Data Representation in Computers. Data Representation in Computers/Session 3 / 2 of 33 Number systems  The additive approach – Number earlier consisted.
Converting binary to decimal decimal to binary
Revision Introductory Lesson
Binary and Hexadecimal Numbers
Number Systems.
Shift the decimal point in “groups of three” until the number before the decimal point is between 0 and 999. Multiply by a power of 10 that is equal to.
Numbering Systems CS208.
#1 Lec # 2 Winter EECC341 - Shaaban Positional Number Systems A number system consists of an order set of symbols (digits) with relations.
1 Problem Solving using computers Data.. Representation & storage Representation of Numeric data The Binary System.
Number systems: binary, decimal, hexadecimal and octal. Conversion between various number systems Number systems: binary, decimal, hexadecimal and octal.
Conversion of Number System Conversion Among Bases The possibilities: Hexadecimal DecimalOctal Binary
Integer Conversion Between Decimal and Binary Bases Conversion of decimal to binary more complicated Task accomplished by –Repeated division of decimal.
Number systems, Operations, and Codes
Number Base Conversions
Digital Electronics Octal & Hexadecimal Number Systems.
Octal to Decimal Hexadecimal DecimalOctal Binary.
Octal & Hexadecimal Number Systems
Introduction To Number Systems Binary System M. AL-Towaileb1.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Computer Number System
Section 5 Digital Electronic Circuits. Chapter 32 Binary Number System.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
The Hexadecimal System is base 16. It is a shorthand method for representing the 8-bit bytes that are stored in the computer system. This system was chosen.
Scientific & Engineering Notation
Number Systems and Binary Arithmetic Quantitative Analysis II Professor Bob Orr.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Number Systems. There are 10 kinds of people in the world, those who understand binary and those who don’t.
Chapter 32 Binary Number System. Objectives After completing this chapter, you will be able to: –Describe the binary number system –Identify the place.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
1. Binary, Decimal, Hexadecimal and Octal. 2. Conversion between various number systems. Number Systems:
Binary Number System And Conversion
Digital Design Chapter One Digital Systems and Binary Numbers
Octal to Decimal Decimal Octal Binary Hexadecimal.
By: Jonathan O. Cabriana
The Binary Number System and Conversions
Number Systems.
Convert Decimal to Binary
Writer:-Rashedul Hasan. Editor:- Jasim Uddin
Octal & Hexadecimal Number Systems
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
Octal & Hexadecimal Number Systems
Location in course textbook
Binary Number System And Conversion
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Binary Number System And Conversion
Number System conversions
Octal & Hexadecimal Number Systems
Binary Number System And Conversion
Number Systems and Binary Arithmetic
The Binary Number System and Conversions
1. Number Systems.
Binary Number System And Conversion
Numbering System TODAY AND TOMORROW 11th Edition
Octal & Hexadecimal Number Systems
Digital Electronics and Microprocessors
Number Systems Rayat Shikshan Sanstha’s
Binary to Decimal Conversion
Dividing a whole number to get decimal
Number Systems Rayat Shikshan Sanstha’s
Number Systems.
Binary Number System And Conversion
Introduction To Number Systems
Binary Number System And Conversion
Presentation transcript:

Binary Number System And Conversion Digital Electronics 2.1 Introduction to AOI Logic Binary Number System And Conversion Digital Electronics Project Lead The Way, Inc. Copyright 2009

Bridging the Digital Divide Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Bridging the Digital Divide 721 234 534 63 935 23 137 275 16 145 721 234 534 63 935 23 137 275 16 145 Decimal-to-Binary Conversion 00100 0101011 10101 010 10010 1101 011011 00101101 001011 00101 Introductory Slide / Overview of Presentation Explain that humans use base ten (or decimal), because we have ten fingers and that digital electronics uses base-two (binary) because it only understands two states; ON and OFF. For students to be able to analyze and design digital electronics, they need to be proficient at converting numbers between these two number systems. Base ten has ten unique symbols (0 – 9) while binary has two unique symbols (0 – 1). Any number can represent a base and the number of symbols it utilizes will always be that number. This is discussed further later in Unit 2. Binary-to-Decimal Conversion Project Lead The Way, Inc. Copyright 2009

Decimal ‒to‒ Binary Conversion Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Decimal ‒to‒ Binary Conversion The Process : Successive Division Divide the Decimal Number by 2; the remainder is the LSB of Binary Number . If the quotation is zero, the conversion is complete; else repeat step (a) using the quotation as the Decimal Number. The new remainder is the next most significant bit of the Binary Number. Example: Convert the decimal number 610 into its binary equivalent. Review the DECIMAL-to-BINARY conversion process. Remind the students to subscript all numbers (i.e. Subscript 10 for decimal & subscript 2 for binary) A common mistake is inverting the LSB and MSB. The three-dot triangular symbol here stands for the word “therefore” and is used commonly among mathematics scholars.  610 = 1102 Project Lead The Way, Inc. Copyright 2009

Dec → Binary : Example #1 Example: Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Dec → Binary : Example #1 Example: Convert the decimal number 2610 into its binary equivalent. Pause the power point and allow the student to work on the example. The solution is on the next slide. Project Lead The Way, Inc. Copyright 2009

Dec → Binary : Example #1 Example: Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Dec → Binary : Example #1 Example: Convert the decimal number 2610 into its binary equivalent. Solution:  2610 = 110102 Here is the solution. If you print handouts, don’t print this page. Project Lead The Way, Inc. Copyright 2009

Dec → Binary : Example #2 Example: Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Dec → Binary : Example #2 Example: Convert the decimal number 4110 into its binary equivalent. Pause the power point and allow the student to work on the example. The solution is on the next slide. Project Lead The Way, Inc. Copyright 2009

Dec → Binary : Example #2 Example: Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Dec → Binary : Example #2 Example: Convert the decimal number 4110 into its binary equivalent. Solution:  4110 = 1010012 Here is the solution. If you print handouts, don’t print this page. Project Lead The Way, Inc. Copyright 2009

Dec → Binary : More Examples Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Dec → Binary : More Examples 1310 = ? 2210 = ? 4310 = ? 15810 = ? If the students need more practice, here are four additional example of DECIMAL to BINARY conversion. The solution is on the next slide. Project Lead The Way, Inc. Copyright 2009

Dec → Binary : More Examples Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Dec → Binary : More Examples 1310 = ? 2210 = ? 4310 = ? 15810 = ? 1 1 0 1 2 1 0 1 1 0 2 1 0 1 0 1 1 2 Here are the solutions. If you print handouts, don’t print this page. 1 0 0 1 1 1 1 0 2 Project Lead The Way, Inc. Copyright 2009

Binary ‒to‒ Decimal Process Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Binary ‒to‒ Decimal Process The Process : Weighted Multiplication Multiply each bit of the Binary Number by it corresponding bit- weighting factor (i.e. Bit-0→20=1; Bit-1→21=2; Bit-2→22=4; etc). Sum up all the products in step (a) to get the Decimal Number. Example: Convert the decimal number 01102 into its decimal equivalent. 1 23 22 21 20 8 4 2 + = 610 Review the BINARY-to-DECIMAL conversion process. Remind the students to subscript all numbers (i.e. Subscript 10 for decimal & subscript 2 for decimal) Let the students know that as the become more proficient at the conversions, they may not need to write out the Bit-Weighting Factors.  0110 2 = 6 10 Bit-Weighting Factors Project Lead The Way, Inc. Copyright 2009

Binary → Dec : Example #1 Example: Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Binary → Dec : Example #1 Example: Convert the binary number 100102 into its decimal equivalent. Pause the power point and allow the student to work on the example. The solution is on the next slide. Project Lead The Way, Inc. Copyright 2009

Binary → Dec : Example #1 1 1810 100102 = 1810 Example: Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Binary → Dec : Example #1 Example: Convert the binary number 100102 into its decimal equivalent. Solution: 1 24 23 22 21 20 16 8 4 2 + = 1810 Here is the solution. If you print handouts, don’t print this page. 100102 = 1810 Project Lead The Way, Inc. Copyright 2009

Binary → Dec : Example #2 Example: Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Binary → Dec : Example #2 Example: Convert the binary number 01101012 into its decimal equivalent. Pause the power point and allow the student to work on the example. The solution is on the next slide. Project Lead The Way, Inc. Copyright 2009

Binary → Dec : Example #2 1 5310 01101012 = 5310 Example: Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Binary → Dec : Example #2 Example: Convert the binary number 01101012 into its decimal equivalent. Solution: 1 26 25 24 23 22 21 20 64 32 16 8 4 2 + = 5310 Here is the solution. If you print handouts, don’t print this page. 01101012 = 5310 Project Lead The Way, Inc. Copyright 2009

Binary → Dec : More Examples Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Binary → Dec : More Examples 0110 2 = ? 11010 2 = ? 0110101 2 = ? 11010011 2 = ? If the students need more practice, here are four additional example of DECIMAL to BINARY conversions. The solution is on the next slide. Project Lead The Way, Inc. Copyright 2009

Binary → Dec : More Examples Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Binary → Dec : More Examples 0110 2 = ? 11010 2 = ? 0110101 2 = ? 11010011 2 = ? 6 10 26 10 53 10 Here are the solutions. If you print handouts, don’t print this page. 211 10 Project Lead The Way, Inc. Copyright 2009

Base10 Base2 Base10 Base2 Summary & Review DECIMAL BINARY DECIMAL Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Summary & Review Base10 DECIMAL Base2 BINARY Successive Division Divide the Decimal Number by 2; the remainder is the LSB of Binary Number . If the Quotient Zero, the conversion is complete; else repeat step (a) using the Quotient as the Decimal Number. The new remainder is the next most significant bit of the Binary Number. Weighted Multiplication Base10 DECIMAL Base2 BINARY Prior to assigning the activity, review the process for DECIMAL-to-BINARY and BINARY-to-DECIMAL. Multiply each bit of the Binary Number by it corresponding bit-weighting factor (i.e. Bit-0→20=1; Bit-1→21=2; Bit-2→22=4; etc). Sum up all the products in step (a) to get the Decimal Number. Project Lead The Way, Inc. Copyright 2009

Binary Number System Digital Electronics 2.1 Introduction to AOI Logic Image Resources Microsoft, Inc. (2008). Clip Art. Retrieved March 15, 2008 from http://office.microsoft.com/en-us/clipart/default.aspx Project Lead The Way, Inc. Copyright 2009