Decimal to Binary Conversion Press any key to continue…

Slides:



Advertisements
Similar presentations
Using the TI 83 Plus Calculator
Advertisements

How to Convert Decimal Numbers to Binary EXAMPLES.
DATA REPRESENTATION CONVERSION.
Binary Addition Rules Adding Binary Numbers = = 1
Binary Math CS208. Decimal Addition Example ) Add = 15 Write down 5, carry ) Add = 8 Write down 8 3)
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
Number Systems and Codes
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
How To Use The TI 15 Calculator. Basic Steps This Presentation is a basic review of some of the functions of the TI-15 Calculator. We Will Review How.
Decimal to Binary Conversion Press any key to continue…
Binary Numbers.
Number systems Converting numbers between binary, octal, decimal, hexadecimal (the easy way)
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
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Convert Decimal to Floating point number [IEEE 754]
Binary Addition Addition Rules: = = = = = carry 1 1 carry 1 Example 1: Example 2:
NUMBER SYSTEM.
1-1 Lecture 1 Class Overview and Appendix A -- Number Systems.
Number systems, Operations, and Codes
Positional Notation 642 in base 10 positional notation is:
Number Base Conversions
Working with 8-bit bytes and hexadecimal
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Unit 7 Number Systems and Bases Presentation 1Binary and Base 10 Presentation 2Adding Binary Numbers Presentation 3Subtracting Binary Numbers Presentation.
CS 111 – Sept. 1 Intro to data representation Binary numbers –Convert binary  decimal –Convert decimal  binary Text –ASCII and Unicode Commitment: –For.
Operations with Decimals
Solving Equations Inverse operations. INVERSE = Opposite If I am solving an equation using inverses operations, I am solving it using opposite signs.
Division. Just as multiplication can be expressed as a series of additions, division can be seen as a series of subtractions. 21 ÷ 7 asks how many times.
Computer Number System
32 x 25 Multiplying By x 25 1.Divide the non-25 number by 4. 2.Add two zeroes. 4 = =8 00 (1/4 rule) 32.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
Lecture 2: 8/29/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
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.
What do you think this lesson is all about? Write your answer on a sticky note.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Chapter 32 Binary Number System. Objectives After completing this chapter, you will be able to: –Describe the binary number system –Identify the place.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Binary Numbers Press any key to begin.. In order to understand the binary numbering system lets first look at our decimal system. The decimal numbering.
Some basic concepts underlying computer archi­tecture
3x + 2 6x3 - 5x2 – 12x – 4 2x2 – 3x – 2 6x3 + 4x2 -9x2 – 12x -9x2 – 6x
Digital Design Chapter One Digital Systems and Binary Numbers
Binary 1 Basic conversions.
By: Jonathan O. Cabriana
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Convert Decimal to Binary
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
Location in course textbook
Number System conversions
Chapter 1 Number Systems & Conversions
Number Systems and Binary Arithmetic
Essence of Computation
1. Number Systems.
Numbering System TODAY AND TOMORROW 11th Edition
Binary Numbers Press any key to begin..
From the ASCII table… Symbol Decimal Binary A B 66
Digital Logic Design (CSNB163)
How Computers Store Data
Binary  Name: Class: .
Binary to Decimal Conversion
Hexadecimal.
Converting to Base-n from Base-10
COMS 161 Introduction to Computing
Addition & Subtraction Addition & Subtraction
Number systems Converting numbers between binary, octal, decimal, hexadecimal (the easy way)
1. Number Systems Chapt. 2.
Presentation transcript:

Decimal to Binary Conversion Press any key to continue…

1 Use the chart to record the subtraction Press any key to continue… Method 1 - subtraction To convert the decimal number 189 to binary you must subtract the highest number possible first. Place a 1 in the chart for any number you subtract Cannot subtract a Cannot subtract a 2 = 189

0 Use the chart to record the subtraction Press any key to continue… Try another number using Method 1 - subtraction To convert the decimal number 75 to binary you must subtract the highest number possible first. Place a 1 in the chart for any number you subtract. Cannot subtract a Cannot subtract a 32 Cannot subtract a Cannot subtract a = 75

1 Press any key to continue… On a piece of paper convert the number 242 using Method 1 – subtraction. Press any key when you have an answer. To convert the decimal number 242 to binary you must subtract the highest number possible first. Place a 1 in the chart for any number you subtract Cannot subtract an Cannot subtract a = 242

Press any key to continue… Method 2 - division Use the chart to record the division To convert the decimal number 189 to binary you must divide the number by 2. Starting from the right, place a 1 if there is a remainder or a 0 if no remainder. 189 / 2 = 94 r 1 94 / 2 = 47 r 0 47 / 2 = 23 r 1 23 / 2 = 11 r 1 11 / 2 = 5 r 1 5 / 2 = 2 r 1 2 / 2 = 1 r = / 2 = cannot divide further - carry the 1

Press any key to continue… Method 2 - division Use the chart to record the division To convert the decimal number 75 to binary you must divide the number by 2. Starting from the right, place a 1 if there is a remainder or a 0 if no remainder. 75 / 2 = 37 r 1 37 / 2 = 18 r 1 18 / 2 = 9 r 0 9 / 2 = 4 r 1 4 / 2 = 2 r 0 2 / 2 = 1 r = 75 1 / 2 = cannot divide further - carry the 1 Fill in to make 8 bits with 0

Press any key to continue… Method 2 - division Use the chart to record the division To convert the decimal number 242 to binary you must divide the number by 2. Starting from the right, place a 1 if there is a remainder or a 0 if no remainder. 242 / 2 = 121 r / 2 = 60 r 1 60 / 2 = 30 r 0 30 / 2 = 15 r 0 15 / 2 = 7 r 1 7 / 2 = 3 r 1 3 / 2 = 1 r 1 1 / 2 = cannot divide further - carry the = 242

Using your hands…

For Fun… Binary Clocks and Watches

Messages… Each letter (number or symbol) has a binary code assigned to it… My coded message for you: My coded message for you:

The End