CS101 Learning Binary Learning Binary What do you think when you see.. 101 One hundred and one What does a computer think when it sees 101? 5.

Slides:



Advertisements
Similar presentations
Chapter One WHOLE NUMBERS: HOW TO DISSECT AND SOLVE WORD PROBLEMS 1-1.
Advertisements

Scientific Notation.
Understanding Value of Places
Long Multiplication What is long multiplication?
Basic Column Subtraction. 1.Write out the numbers that are being subtracted below each other. When subtracting the largest number is always written at.
Binary Conversion In today’s lesson we will link together the binary and algorithm topics by looking at how to get the computer to: convert binary to decimal.
Simplifying Exponents
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
An introduction to Binary. Binary is the language used by computers. It uses 0 and 1 to represent different numbers.
Binary “There are 10 types of people in the world… those that understand binary and those that don’t.”
Chapter 1 Whole Numbers; How to Dissect and Solve Problems McGraw-Hill/Irwin Copyright © 2003 by The McGraw-Hill Companies, Inc. All rights reserved.
Numbering Systems Decimal (Denary) base 10. Clumsy when dealing with computers. Other systems –Binary –Octal –Hexadecimal Convenient when dealing with.
Adding and Subtracting Whole Numbers
Lecture for Week Spring.  Numbers can be represented in many ways. We are familiar with the decimal system since it is most widely used in everyday.
Decimals Decimals are a type of fractional number
5-4 Scientific Notation (p )
Chapter 2.2 Scientific Notation. Expresses numbers in two parts: A number between 1 and 10 Ten raised to a power Examples: 2.32 x x
Place value and ordering
BINARY SHIFT Multiplication and Division. Binary Shift  As you know a computer can only add, not subtract. For the same token it can still only add,
Laws of Exponents. Review An exponent tells you how many times the base is multiplied by itself. h 5 means h∙ h∙ h∙ h∙ h Any number to the zero power.
Welcome to Seminar 2 Agenda Questions about last week Discussion/MML Reminder Fraction Basics Week 2 Overview Questions.
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
STEP 1 Multiply the digits in the ones place. Write the product in the ones place of the answer box. If the product is greater than ten, carry the number.
Back to menu - St. Bartholomew’s C of E Primary School Parents Guide to maths + ÷ x Quit Multiplication AdditionSubtraction Division *Only click when.
Introduction to Number System
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.
Module 3 Lesson 1.
Phys 4330 Digital ElectronicsBinary System Digital circuits process signals that contain just two voltage levels or states, labeled logic "0" and logic.
Opening Week Lessons A review of elementary concepts.
Introduction To Number Systems Binary System M. AL-Towaileb1.
Engage NY Module 14 Lesson 14- Objective: Divide decimals with a remainder using place value understanding and relate to a written method.
An alternative subtraction algorithm. In order to subtract, the top number must be larger than the bottom number To make the top number.
Mental Math Mental Computation Grade 4. Quick Addition  This strategy can be used when no regrouping is needed.  Begin at the front end of the number.
Module 1 Lesson 15 Place Value, Rounding, and Algorithms for Addition and Subtraction Topic e: multi-digit whole number subtraction 4.nbt.4 4.nbt.1 4.nbt.2.
$100 $200 $300 $400 $100 $200 $300 $400 $300 $200 $100 Multiply by 1 digit numbers Multiply & estimate results Multiply by 2 digit numbers Multiply.
Division by 2 Any number that ends is 0, 2, 4, 6, or 8 is evenly divisible by 2.
Subtraction Counting Down Draw then number line
Subtraction Subtraction is a process of taking away Look at the examples: 2 – 1 = 1 2Take away 1 Leaves 1.
POWERS OF TEN.
Number Systems & Binary How to count. How do we represent numbers? Early systems: – Actual count : ||||| = 5 – Roman numers : XI = 11 Hard to do math:
Addition and Subtraction 29 Addition and Subtraction Algorithms 2 ones plus 9 ones equal 11 ones. 11 is 1 ten and 1 one. Record the 1 one in the ones column.
8 ones plus 8 ones equal 16 ones. 16 is 1 ten and 6 ones. Record the 6 ones in the ones column between the equals sign. Because we have more tens, we.
Number systems. Binary system. Bits and bytes. Modern computers “speak” in a digital language composed of 2 digits. The machine language of modern computers.
Introduction To Number Systems
COMPUTING FUNDAMENTALS
RAPID Math.
Convert Binary Number to Octal
Number Systems & Binary
Decrease Subtract Difference Minus Less Reduce Take from Subtrahend.
Binary Lesson 1 Nybbles.
Objectives Chapter 1 Place Value Reading and Writing Whole Numbers
Tools of Web Development 1: Module A: Numbering Systems
Comparing Numbers.
Binary Lesson 1 Nybbles.
Binary Lesson 1 Nybbles.
Adding and Subtracting Whole Numbers, and Perimeter
Multiplying & Dividing by Powers of Ten
CS101 Learning Binary Learning Binary.
Numbering System TODAY AND TOMORROW 11th Edition
Whole Numbers: How to Dissect and Solve Problems
Use Strategies and Properties to Multiply by 1-Digit Numbers
Scientific Notation.
Addition Grade 4.
Converting from Base-n to Base-10
Scientific Notation EXPONENTS X10.
Math Mystery.
Adding and Subtracting
Comparing Numbers.
Binary, Hexadecimal, and Base 10.
Subtracting with Gerbert’s abacus
Presentation transcript:

CS101 Learning Binary Learning Binary

What do you think when you see One hundred and one What does a computer think when it sees 101? 5

You are a base 10 creature You have learned the base 10 number system. The base 10 number system uses the numbers 0-9, or 10 total numbers.

Review base 10 number system Can only use numbers 0-9 in base ten system –10 different numbers allowed in a column in a base 10 system Columns have place value –You start with the one’s column –To find the next column to the left multiply the current column by 10. –…, thousands, hundreds, tens, ones

Good News All the base ten number system concepts you have learned can be used to learn the the base 2, or binary number system Except for: You only get to use 2 numbers in base two instead of the 10 numbers in base ten

Computers are base 2 creatures Computers can only use 0’s and 1’s. –Because their processors are made up of switches. The base 2 number system uses the numbers 0-1, or 2 total numbers. Binary means 2. Therefore, computers use the base 2, or binary number system

Creating base 2 place value columns Columns have place value –You start with the 1’s column –To find the next column to the left multiply the current column by the amount of numbers allowed in the base system. Base 10 …, , , 10000, 1000, 100, 10, 1 Base 2 …, 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1

Quiz Tip Many binary questions on the quiz will be much easier if you can create the base two columns.

Counting to 10 in base 2 and base 10 Base 10Base

iClicker What number is this 11? –A) Eleven –B) Three –C) I do not know until you tell me the base –D) None of the above

iClicker How would you write the value of eleven in base two? –A) 11 –B) 0011 –C) 1100 –D) 1011 –E) 1111

Now that you know base 2, you can convert numbers between base 2 and base 10

Converting base 10 number to base 2 number Write down your base 10 number Write down your base 2 columns –Keep going until the base 2 column number is larger than the base 10 number Find biggest base 2 column that is equal to or smaller than base 10 number Add one set to that base 2 column and subtract the amount of the base 2 column from base 10 number Find the next biggest base 2 column that is equal to or smaller than the remaining base 10 number. –If you skip over any base two columns place zeros in them When you find the next base 2 column that is equal to or less then the remaining base 10 number add one set to that base 2 column and subtract the amount of the base 2 column from the remaining base 10 number. Keep repeating process until the base 10 number is down to zero. Place zeros in any remaining base 2 columns

iClicker Which base 2 number below is equal to the base 10 number 65? –A) –B) –C) –D) –E)

Converting base 2 number to base 10 number Write down your base 2 number Write down your base 2 columns on top of the base 2 number Determine which columns have a set on one in them and write down each column’s value as a base 10 addition problem Add up the values of your columns and you have your base 10 number

iClicker Which base 10 number below is equal to the base 2 number ? –A) 4 –B) 16 –C) 45 –D) 56 –E) 256

Using your base 2 knowledge (and practice for quiz) ary_game_page.htmhttp://forums.cisco.com/CertCom/game/bin ary_game_page.htm