AP CSP: Binary Number System

Slides:



Advertisements
Similar presentations
  Non-zero digits are significant.  Ex: 453 kg  All non-zero digits are always significant  # of Sig Fig’s?  3! Rule 1:
Advertisements

Binary Addition Rules Adding Binary Numbers = = 1
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
EXAMPLE 1 Multiplying Decimals by Whole Numbers Find the product
x two one three.
Binary Numbers.
Chapter 1 1 Number Systems. 2 Objectives  Understand why computers use binary (Base-2) numbering.  Understand how to convert Base-2 numbers to Base-
Lattice Multiplication Step-by-Step 356 * 25 = I don’t remember how to multiply!!!
© GCSE Computing Candidates should be able to:  convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa  add two 8-bit.
Multiply and Divide Decimals
Number Systems.
Scientific Notation Recognize and use scientific notation.
Scientific Notation Section 8.5.
Multiplying by powers of 10. What are powers of 10? 100,000 10,000 1, GREATER THAN ONE LESS THAN ONE.
Scientific Notation.
Multiplying Decimals Lesson 1-7 From /
Chapter 2 Binary Values and Number Systems. 2 2 Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645,
You must follow the steps!
Chapter 2: The Logic of Compound Statements 2.5 Application: Number Systems and Circuits for Addition 1 Counting in binary is just like counting in decimal.
Binary Values and Number Systems
Positional Notation 642 in base 10 positional notation is:
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
Binary A double zero educational presentation. Binary Basics Binary is the language computers use Only 1’s and 0’s can be found in Binary Very large numbers.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
I can multiply decimals
Lattice Multiplication with Decimals Step-by-Step.
Adding and Subtracting Decimals Textbook page 102.
Learning Objectives 3.3.1f - Describe the nature and uses of floating point form 3.3.1h - Convert a real number to floating point form Learn how to normalise.
AP CSP: Sending Numbers
Lattice Multiplication
Multiplying Decimals.
Core Focus on Linear Equations
Multiplying Whole Numbers
Multiplying Decimals
UNIT 1 – LESSON 5 BINARY NUMBERS.
Scientific Notation with
The Binary Number System
Multiplying Decimals Lesson 1-7. To Multiply: You do not line up the factors by the decimal. Instead, place the number with more digits on top. Line up.
Tools of Web Development 1: Module A: Numbering Systems
Name_____ 6__ Lesson 3 – Multiplying Decimals Nov_
Representing Data How does a computer represent data?
Scientific Notation Number and operations
Scientific Notation.
What do we now know about number systems?
Multiplying Decimals.
Scientific Notation.
Recognize and use scientific notation.
Multiplying Decimals Lesson 13.2.
Multiplying Decimals Lesson 1-7.
Lattice Multiplication
Chapter 2: Number Systems
How is 0.41  10 related to 0.41  100?.
Binary Values and Number Systems
Recognize and use scientific notation.
Applications of Percents
Scientific Notation.
Starter Using the fingers on only one hand, what is the highest number you can count to? Rules: You must start at 1 You must count sequentially (i.e.
Lattice Multiplication
Lattice Multiplication
Recognize and use scientific notation.
Multiplying Decimals.
A short-hand way of writing large numbers without
Recognize and use scientific notation.
Scientific Notation Mrs. Rauch 11/6/15.
Multiplying Decimals Lesson 1-7.
Multiplying Decimals Multiply and divide decimals and fractions, using efficient and generalizing procedures, including standard algorithms.
Lattice Multiplication
Presentation transcript:

AP CSP: Binary Number System September 1, 2016

Circle-Square-Triangle to Binary Last class we created a number systems using three different shapes. The whole point of this was to try and find and create a number system very similar to what we have already learned before. Depending on how many unique patterns you have in your number system, you can only count so high before having to add another place value to have more numbers. Now we’re going to relate our own circle-square-triangle system to decimal and traditional base-3 number system. An example is shown on the next slide. Let Circle = 0, Triangle = 1, and Square = 2

Decimal(Base 10) Circle-Square-Triangle Ternary(Base-3) CCC 000 1 CCT 001 2 CCS 002 3 CTC 010 4 CTT 011 5 CTS 012 6 CSC 020 7 CST 021 8 CSS 022 9 TCC 100 10 TCT 101 11 TCS 102 12 TTC 110 13 TTT 111 14 TTS 112 15 TSC 120

Transition to the Binary Number System Now that we know base-3 and how all number systems are alike. Let’s focus on binary, the language of computers. Binary only has two unique digits, 1 and 0. Out of these two digits we can represent any number we want to as long as we have enough bits. Decimal Binary(Base-2) 1 2 10 3 11 4 100 5 101 6 110 7 111 8 1000 9 1001 1010

Converting from Binary to decimal Remember placeholders from the decimal system, well the same concept exists in the binary system. Instead of multiples of 10s, we now have multiples of 2 in binary. If you place a 1 underneath a particular placeholder it means you multiply that 1 by the placeholder’s value. Add up all the placeholders with a 1 underneath them and you get what the binary number is equivalent to. Decimal Place Holders 1000000 100000 10000 1000 100 10 1 Ex. 6,721,395 6 7 2 1 3 9 5 = ‘ Binary Place Holders 256 128 64 32 16 8 4 2 1 0 1 0 0 1 0 0 1 1 = 137 in Decimal

Converting Decimal to Binary First list out all the binary placeholders. Then choose the place holder that is closest to the decimal number you are trying to convert but not over, and place a 1 underneath that placeholder. Place a 0 for all the placeholders to the left of that original placeholder with 1. Then visit every subsequent placeholder to the right of the original P.H. Add the P.H. value to the P.H.s’ with a one underneath. If the new value is higher then the number you are converting for then place a zero under that particular P.H. and move on to the next place holder. Example below: Convert 97 to Binary Binary Place Holders 256 128 64 32 16 8 4 2 1 0 0 1 1 0 0 0 0 1 = 64 + 32 + 1 = 97 Explain why I didn’t place a 1 under the sixteens place

Wrap-Up Explain why this joke is funny: “There are 10 kinds of people in the world, those who understand binary and those who don’t.” The link below is a website where you can test your knowledge of binary to see if you have mastered this system. http://forums.cisco.com/CertCom/game/binary_game_page.htm