Number Systems Bangor High School Ali Shareef 3/10/06.

Slides:



Advertisements
Similar presentations
ECE 331 – Digital System Design
Advertisements

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.
DATA REPRESENTATION CONVERSION.
CIS 020 Assembly Programming Chapter 02 - Numbering Systems & Data Representation © John Urrutia 2012, All Rights Reserved.5/27/20121.
Review of Mathematical Principles
Digital to Analog (D/A) Converter Discussion D2.2.
Number Systems Discussion D4.1 Appendix C. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
Number System What’s the most natural way to count?
Copyright (c) 2004 Professor Keith W. Noe Number Systems & Codes Part I.
Introduction to Computer Engineering by Richard E. Haskell Number Systems Module M3.1 Sections
Digital to Analog (D/A) Converter Discussion D2.2.
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
ECE 301 – Digital Electronics Course Introduction, Number Systems, Conversion between Bases, and Basic Binary Arithmetic (Lecture #1)
Number Systems and Codes Discussion D4.1. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
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.
BASICS OF COMPUTER APPLICATIONS ASB 102. UNIT 1 Introducing computer system  Number system  What is number system?  Types of number system  Their.
 Binary Binary  Binary Number System Binary Number System  Binary to Decimal Binary to Decimal  Decimal to Binary Decimal to Binary  Octal and Hexadecimal.
Data Representation in Computers. Data Representation in Computers/Session 3 / 2 of 33 Number systems  The additive approach – Number earlier consisted.
Numbering Systems Decimal (Denary) base 10. Clumsy when dealing with computers. Other systems –Binary –Octal –Hexadecimal Convenient when dealing with.
Hexadecimal Dk Izzati Pg Haji Ahmad.
By.. Miss Prangtip Kaewsuphot
Number Systems - Part I CS 215 Lecture # 5.
Number Systems.
Numeral Systems Subjects: Numeral System Positional systems Decimal
Numbering Systems. CSCE 1062 Outline What is a Numbering System Review of decimal numbering system Binary representation range Hexadecimal numbering system.
NUMBER SYSTEM.
The Wonders of Conversion. A number system is a system in which a number is represented. There are potential infinite number systems that can exist (there.
CONVERSION OF NUMBER SYSTEMS FAHEEM ANWAR MANAGER NETWORKS ACADEMY PTCL ACADEMY.
1 Week 2: Binary, Octal and Hexadecimal Numbers READING: Chapter 2.
Number systems, Operations, and Codes
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
Positional Notation 642 in base 10 positional notation is:
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
CISC1100: Binary Numbers Fall 2014, Dr. Zhang 1. Numeral System 2  A way for expressing numbers, using symbols in a consistent manner.  " 11 " can be.
Number System sneha.
Octal to Decimal Hexadecimal DecimalOctal Binary.
CSC 107 – Programming For Science. Positional Notation  Used in nearly all modern numerical systems  Right-to-left ordering of digits within larger.
ICS124 Session 2 Data Representation 1. Review QUIZ 1) Additional data and programs not being used by the processor are stored in: a) secondary storagec)
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
How Numbers developed. by Pavitra Cumaraswamy. The history of Ancients using numbers The best known ancient numeral system is Roman numerals. In the 14.
Chapter 2 Binary Values and Number Systems Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in.
UNIT QUESTIONS By: Faiza Khalid HELLO, Ladies and Gentleman My name is faiza khalid. Today I will speak about ancients numbers 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.
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.
Hexadecimal numbers. Announcements Meeting of the Mathematics and Computing Society, Thursday 12:30pm BSC 126 Help available in Math Lab Check homework.
Number Systems & Binary Arithmetic
Introduction To Number Systems
Number Systems.
Digital Design Chapter One Digital Systems and Binary Numbers
Octal to Decimal Decimal Octal Binary Hexadecimal.
By: Jonathan O. Cabriana
Copyright (c) 2004 Professor Keith W. Noe
Lecture 3: Binary values and number systems
Binary Quiz UIN: ____________________
Number Systems and Binary Arithmetic
Introduction to IT By: Muhammed s. anwar.
Numbering System TODAY AND TOMORROW 11th Edition
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Digital Electronics and Microprocessors
Chapter 2: Number Systems
ECE 301 – Digital Electronics
Chapter 2 Number Systems.
Numeral systems (radix)
Chapter 2 Number Systems.
Chapter 2 Number Systems.
Find the value of g. Find the value of h. 105° h g 75°
Information Representation
Chapter 2 Number Systems.
Section 4.3 Other Bases.
Presentation transcript:

Number Systems Bangor High School Ali Shareef 3/10/06

Number Systems in History  Number system is very important  The engine of mathematics  Symbolic mathematics difficult to develop without an understanding of the relationships in numerical mathematics  Number system in use today are known as the Arabic numerals  Originated in India and spread west thru the middle east and into Europe

Number Systems in History  Babylonians had a base 60 numbering system.  Other civilizations such as the Greeks assigned numerical values to their alphabets and used them as numerals.  These methods proved to be cumbersome and inefficient.

Number Systems in History Roman Numerals Numerals I (1), V (5), X (10), L (50), C (100), D (500), M (1000) Form numbers out of combination of these numerals No symbol for zero IV (4), VIII (8), XXXI (?) XL (?) CCCLXIX (?) CDXLVIII + DLII = (?)

Base 10 Number System e.g. Decimal A numbering system with 10 base symbols Why is base 10 so easy to use? Base symbols (?)

Base 10 Number System e.g. Decimal Why is base 10 so easy to use? Base symbols (?)  What comes next?

Base 10 Number System e.g. Decimal General rule: When all the base symbols have been used up, increment the digit/digits to the right and repeat the base symbols again

Base 8 Number System e.g. Octal Using the same lower 8 symbols of the decimal system. What are the base symbols?

Base 8 Number System e.g. Octal Using the same lower 8 symbols of the decimal system. What are the base symbols? What comes next?

Base 8 Number System e.g. Octal Applying the general rule. What is the largest number?

Base 8 Number System e.g. Octal Applying the general rule. What is the largest 2 digit number? (77)

Base 16 Number System e.g. Hexadecimal Using the almost the same symbols of the decimal system. What are the base symbols?

Base 16 Number System e.g. Hexadecimal  Base Symbols  What comes next? A B C D E F

Base 16 Number System e.g. Hexadecimal Applying the general rule. What is the largest 2 digit number? A1A 0B1B 0C1C 0D1D 0E1E 0F1F

Base 16 Number System e.g. Hexadecimal Applying the general rule. What is the largest 2 digit number? (FF) A1A 0B1B 0C1C 0D1D 0E1E 0F1F

Base 2 Number System e.g Binary Number system used by computers Using the same lower 2 symbols of the decimal system. What are the base symbols?

Base 2 Number System e.g Binary Using the same lower 2 symbols of the decimal system. What are the base symbols? What comes next? 0 1

Base 2 Number System e.g Binary Applying the general rule. What is the largest 2 digit number?

Base 2 Number System e.g Binary Applying the general rule. What is the largest 2 digit number? (11)  Digits in binary are called bits

Base 2 Number System e.g Binary 32 bit processor can process a 32 bit number at a time. Max 32 bit number?

Base 2 Number System e.g Binary 32 bit processor can process a 32 bit number at a time. Max 32 bit number? in decimal

Converting To Decimal What is 10010b2 in decimal?

Converting To Decimal What is 10010b2 in decimal? 1 x (2^4)+0 x (2^3) + 0 x (2^2) + 1 x (2^1) + 0 x (2^0) = 18b10

Converting To Decimal What is AAb16 in decimal?

Converting To Decimal What is AAb16 in decimal? 10 x (16^1) + 10 x (16^0) = 170b10

Decimal to other Bases What is 122b10 in Octal?

Decimal to other Bases What is 122b10 in Octal? 122 ÷ 8 = 15 Rem 2 15 ÷ 8 = 1 Rem 7 1 ÷ 8 = 0 Rem 1 = 172b8

Decimal to other Bases What is 23b10 to binary?

Decimal to other Bases What is 23b10 to binary? 23 ÷ 2 = 11 rem 1 11 ÷ 2 = 5 rem 1 5 ÷ 2 = 2 rem 1 2 ÷ 2 = 1 rem 0 1 ÷ 2 = 0 rem 1 = 10111b2

General Rules Smaller base to Larger base When moving from a smaller base to a larger base: (dn+1 * bn) + (dn * bn-1) ….+ (d1 * b0) The expansion (multiplication and power operations) must utilize the interpretation of the base that you are moving to.

General Rules Larger base to Smaller base When moving from a smaller base to a larger base: N/b = Q0 + R0 Q0/b = Q1 + R1 ……. Qn/b = 0 + Rn => Where (Rn*10^n-1) + (Rn-1*10^n-2) +…+ + (R0*10^0) Expansions and reductions must utilize the interpretation of the base you are leaving.