Newport Math Club Copyright © 2009 by Newport Math Club.

Slides:



Advertisements
Similar presentations
NUMBER SYSTEM. How to convert hexadecimal numbers to decimal numbers? 230 Working from right to left, MULTIPLY each position with 8 raised to the power.
Advertisements

DATA REPRESENTATION CONVERSION.
1 7.5 Factoring Trinomials CORD Math Mrs. Spitz Fall 2006.
James Tam Non decimal math: doing math with non-base 10 number systems Addition, subtraction and multiplication with binary, octal and hexadecimal.
Binary Math CS208. Decimal Addition Example ) Add = 15 Write down 5, carry ) Add = 8 Write down 8 3)
Binary (Base 2, b) Octal (Oct, Base 8) Hexadecimal (Hex, Base 16, h, 0x) Decimal (Base 10, d) OR Counting for Aliens.
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
 Binary Binary  Binary Number System Binary Number System  Binary to Decimal Binary to Decimal  Decimal to Binary Decimal to Binary  Octal and Hexadecimal.
Binary “There are 10 types of people in the world… those that understand binary and those that don’t.”
Binary Arithmetic Math For Computers.
Number systems Converting numbers between binary, octal, decimal, hexadecimal (the easy way)
Numbering Systems Decimal (Denary) base 10. Clumsy when dealing with computers. Other systems –Binary –Octal –Hexadecimal Convenient when dealing with.
Data Storage Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information Technology Islamic.
Real Numbers and the Decimal Number System
Number Systems.
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.
Scientific Notation.
Numeration Systems Introduction to Binary, Octal, and Hexadecimal.
CSCI N301: Fundamental Computer Science Concepts Copyright ©2006  Department of Computer & Information Science The Switch, Part One.
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
Computer Math. The Decimal System How do we represent “One Hundred and Twenty Five”? How do we represent “One Hundred and Twenty Five”? Simple: 125 !!!
Salisbury Numbers we use in Auto Shop Why do I need to know this. When working on the computers in the auto shop sometimes we need to look into the.
Numbering System Base Conversion. Number systems Decimal – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Binary – 0, 1 Octal – 0, 1, 2, 3, 4, 5, 6, 7 Hexadecimal system.
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
NUMBER SYSTEMS Binary Base 2 Octal Base 8 DecimalBase 10 HexadecimalBase 16.
Converting From decimal to Binary & Hexadecimal to Binary
Digital Electronics Octal & Hexadecimal Number Systems.
Xmania!.
Octal to Decimal Hexadecimal DecimalOctal Binary.
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
CS 101 – Aug. 31 Interpreting binary  decimal √ Decimal  binary Shorthand ways of expressing binary –Octal –“Hex” Negative numbers.
Aim: How can we express a large or small number?
AEEE2031 Data Representation and Numbering Systems.
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Springfield Technical Community College Center for Business and Technology.
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
ECE 362 Microprocessor Systems and Interfacing ©5-1 Lecture 1 Hexadecimal Computation Outline n Decimal n Binary n Octal n Hexadecimal.
Scientific Notation What is scientific Notation? Scientific notation is a way of expressing really big numbers or really small numbers. It.
COMPUTER PROGRAMMING I Objective 1.02 Understand Numbering Systems.
Computer Studies Today Chapter 19 1 Chapter 19. Computer Studies Today Chapter 19 2 »Information stored in a computer is in two states: –ON –OFF.
Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer List the characters (digits) for the following bases. 1) Decimal:
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.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Data Types and Information Representation
Chapter 01 Numbers. Chapter 02 Base 10 example Decimal Number Place Place (place - 1) ===============================
YOUR VIRTUAL WORLD – THE HEXADECIMAL NUMBERING SYSTEM Prepared by Mrs. Christina Morris, July, 2014.
♣Multiplying Decimals♣
Binary and Hexadecimal
Octal to Decimal Decimal Octal Binary Hexadecimal.
Hexadecimal Conversion
Binary Positional Notation
The Binary Number System
Octal & Hexadecimal Number Systems
Octal & Hexadecimal Number Systems
Tools of Web Development 1: Module A: Numbering Systems
Octal & Hexadecimal Number Systems
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Data Storage Introduction to computer, 2nd semester, 2010/2011
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Octal & Hexadecimal Number Systems
Digital Electronics and Microprocessors
Chapter 2: Number Systems
Objective 1.02 Understand Numbering Systems
Computer Science 1 Review and finish Number base conversion
Number systems Converting numbers between binary, octal, decimal, hexadecimal (the easy way)
Presentation transcript:

Newport Math Club Copyright © 2009 by Newport Math Club

Knowledge Check  If you want to prove you know everything (well, just the stuff we are covering today):  Convert to hex… No Talking No Sharing

Counting  Start counting. This may seem like a basic skill you learned a long time ago, but we’re going to look at it a little differently  What happens after 9?  What happens after 99?  Do you see a pattern? Copyright © 2009 by Newport Math Club

Anatomy of a Number  Let’s consider carefully the number  We’re going to label each digit, starting with 0 on the right. Copyright © 2009 by Newport Math Club

Anatomy of a Number  What does the 4 mean? You may have learned a long time ago that it is in the units digit.  What does the 3 mean? We have three 10s.  The 2? We have two 100s. Copyright © 2009 by Newport Math Club

Anatomy of a Number  Our number system is the decimal system, meaning that we work in base 10.  Wow! The sum of the resulting values is Copyright © 2009 by Newport Math Club 1234 x 10 3 x 10 2 x 10 1 x 10 0 = 1000= 200= 30= 4

Octal  Octal is the name for base 8. It is very similar to decimal.  In base 10, we have digits called 0 – 9. Once we hit 10, we start repeating digits.  In base 8, we have digits 0 – 7. Once we hit 8, our number has two digits.  Count to 10 in octal! 1, 2, 3, 4, 5, 6, 7, 10!  … 11, 12, 13, 14, 15, 16, 17, 20… 76, 77, 100 Copyright © 2009 by Newport Math Club

From Octal to Decimal  A base is often denoted with a subscript.  Let’s consider the octal number  If we add those up, we get 332. This means that is equal to ! Copyright © 2009 by Newport Math Club 514 x 8 2 x 8 1 x 8 0 = 320= 8= 4

From Decimal to Octal  Let’s say we have the decimal number 729.  How do we convert it to octal? First, let’s figure out all the places in octal… Copyright © 2009 by Newport Math Club

From Decimal to Octal  In 729, there is one 512, so we put a 1 in the 512s place. This leaves 729 – 512 = 217  In 217, there are three 64s, so we put a 3 in the 64s place. This leaves 217 – 3(64) = 25  We are left with three 8s and a 1.  Now we have converted to ! Copyright © 2009 by Newport Math Club

Other Common Bases  Binary: Base 2 (ex ) Count: 1, 10, 11, 100, 101, 110, 111, 1000, 1001… Used in computers, since each digit is “on” or “off”  Hexadecimal (Hex): Base 16 (ex. 512A7F4) The letters A-F are used to denote digits over 9 Count: 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11… Used in colors, among other things (FFFFFF is white) Copyright © 2009 by Newport Math Club

Your Turn  Convert to base 10.  Convert to base 10.  Convert to hexadecimal.  Convert to binary.  Convert to base 9.  Convert to base 4.  Challenge! Convert to base -2. Copyright © 2009 by Newport Math Club

Negative Bases  Yes, they sound hard, but they aren’t that bad. What really is a negative base?  Convert to base 10…  Add them up, and we get Copyright © 2009 by Newport Math Club 211 x (-3) 2 or 9x (-3) 1 or -3x (-3) 0 or 1 = 18= -3= 1

Negative Base Practice  Multiply and in base -4. A) Express your answer as a positive number. B) Express your answer as a negative number. Copyright © 2009 by Newport Math Club

Questions? Copyright © 2009 by Newport Math Club