Computer Programming 12 Mr. Jean February 5 th, 2014.

Slides:



Advertisements
Similar presentations
Binary and Denary Numbers. Time remaining: Today’s date : all of the things that this COULD mean: even if you think that what you are thinking is daft.
Advertisements

Base 10 Denary Decimal
8 Significant Figures.
Binary numbers. 1 Humans count using decimal numbers (base 10) We use 10 units: 0, 1, 2, 3, 4, 5, 6, 7, 8 and (5.
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.
Computer Systems 1 Fundamentals of Computing
Number systems Converting numbers between binary, octal, decimal, hexadecimal (the easy way)
Decimal Review ,00010,0001, Decimal ~ Base 10 number system 10 different numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8,
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Computer Logic Distinction between analogue and discrete processes and quantities. Conversion of analogue quantities to digital form. Using sampling techniques.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
Math Review Do you remember, from math class, how exponentiation operations are typically represented? anan is known as the "base" a is known as the "base"
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,
Scientific Notation. Scientific Notation At the conclusion of our time together, you should be able to: 1.Define scientific notation 2.Convert numbers.
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 2: Floating Point Representation.
Numerical Representation Intro to Computer Science CS1510, Section 2 Dr. Sarah Diesburg 1.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Adding and Subtracting Decimals. Rules for adding or subtracting decimals: (1) Line up the numbers by the decimal point.
Computing with Decimals. Adding and Subtracting Decimals.
Working with 8-bit bytes and hexadecimal
Data Representation Bits, Bytes, Binary, Hexadecimal.
Networking for Home and Small Businesses –.  Explain the binary representation of data.
Addition and Substraction
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.
Computer Programming 12 Mr. Jean February 11 th, 2014.
Computer Math CPS120: Binary Representations. Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits.
Programming 12 : Mr. Jean February 8 th, The plan: Video clip of the day Website Introduction to Hexadecimal Converting from Hexadecimal to Decimal.
Adding and Subtracting Decimals Intro to Algebra.
BINARY Toby Wilson. LEARNING OBJECTIVES  Be able to convert binary to denary  Be able to convert denary into binary  Be able to explain how computers.
Multiplying Decimals 6.NS.3 Fluently add, subtract, multiply and divide multi digit decimals using algorithms for each operation.
Adding & Subtracting Decimals I will add and subtract decimals.
Adding & Subtracting in Scientific Notation Exponents are SAME 1.) If exponents same, add or subtract the coefficients and keep the power of 10. Examples:
SCIENTIFIC NOTATION RULES. Rules for converting to Scientific Notation One non-zero number before the decimal One digit after the decimal If you are making.
TOPICS:  Introduction  Place Value  Binary  Decimal conversion  Decimal  Binary conversion  Related terms  Quiz.
A+ Computer Repair Lesson 3: Number System. Objectives Define binary, decimal, octal, and hexadecimal numbering systems. Define binary, decimal, octal,
Number Systems Part 2. Counting in Binary DecimalBinary
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Binary Addition The simplest arithmetic operation in binary is addition. Adding two single-digit binary numbers is relatively simple, using a form of carrying:
Number systems. Binary system. Bits and bytes. Modern computers “speak” in a digital language composed of 2 digits. The machine language of modern computers.
Numerical Representation Intro to Computer Science CS1510 Dr. Sarah Diesburg 1.
WHAT IS BINARY? Binary is a number system that only uses two digits: 1 and 0. Any information that processed by a computer it is put into sequence of.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Binary, Denary, Hexadecimal Conversion Binary Addition
Multiplying Decimals.
Consider this number: , Ones (7 ones) Tens (no tens)
Adding & Subtracting in Scientific Notation
Binary numbers: Week 7 Lesson 1
Numerical Representation
Information Technology Introduction to Number System
Memory Parts of a computer
Representation of data in computer systems
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Denary to Binary Numbers & Binary to Denary
…to GCSE Level with Python Sue Sentance
Numerical Representation
Multiplying Decimals.
Scientific Notation.
Topic 3: Data Hexadecimal.
Binary Data representation
Numerical Representation
Chapter Four Data Representation in Computers By Bezawit E.
8 Significant Figures.
Binary System.
Ms Jennifer - Senior 4 - Data Representation Introduction
Binary & Hex Review.
Scientific Notation.
Computer Systems Nat 4/5 Computing Science Data Representation
Number systems Converting numbers between binary, octal, decimal, hexadecimal (the easy way)
Numerical Representation
Presentation transcript:

Computer Programming 12 Mr. Jean February 5 th, 2014

The plan: Video clip of the day – u4http:// u4 Intro to Binary Intro to number systems

Introduction to Binary:

842 1 Base 2 x2 1 or 01 or 01 or 0 1 or 0 Binary

842 1 Base 2 x Binary

842 1 Base 2 x Binary

Base Binary

842 1 Base 2 x2 Binary Bit x2 Binary Digit =

Base 2 x2 Binary Byte x2

Introduction to Binary: Marble Counting Machine: WmhF4Ahttp:// WmhF4A Iagshttp:// Iags

KiloByte Megabyte Gigabyte TeraByte 1024 Bytes 1024 KiloBytes 1024 MegaBytes GigaBytes ,048,576 Bytes 1,073,741,824 Bytes 1,099,511,627,776 Bytes

Binary Video: m1GXVIhttps:// m1GXVI

Practice for Adding in Binary: Convert 20 to Binary Convert 12 to Binary Add the Two Binary Numbers together Convert 23 to Binary Convert 31 to Binary Add the Two Binary Numbers together Find the Binary and decimal answer 1. 2.

How to find 59? My first step is to find the largest power of 2 that is less than 59. 1, 2, 4, 8, 16, 32, 64. Ok, 64 is larger than 59 so we take one step back and get is the largest power of 2 that is still smaller than 59. It can go in only once because 2 x 32 = 64 which is larger than 59. So, we write down a 1.

Now, we subtract 32 from 59: 59 – (1)(32) = 27. And we move to the next lower power of 2. In this case, that would be 16. How many full times can 16 go into 27? Once. So we write down another 1 and repeat the process. 1 1

27 – (1)(16) = 11. The next lowest power of 2 is 8. How many full times can 8 go into 11? Once. So we write down another – (1)(8) = 3. The next lowest power of 2 is 4. How many full times can 4 go into 3? Zero. So, we write down a

3 – (0)(4) = 3. The next lowest power of 2 is 2. –How many full times can 2 go into 3? –Once. So, we write down a – (1)(2) = 1. And finally, the next lowest power of 2 is 1. How many full times can 1 go into 1? Once. So, we write down a

To do: Complete the first side of the binary sheet – Complete Questions 1 and 2 Complete the “About Me” powerpoint Upcoming items: –Correcting Binary sheet –Adding and subtracting in binary