Positional Notation A positional or place-value notation is a numeral system in which each position is related to the next by a constant multiplier, called.

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.
James Tam Beyond base 10: Non-decimal based number system What exactly is decimal? How do other number systems work (binary, octal and hex) How to convert.
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
Number Systems. 2 The total number of allowable symbols in a number system is called the radix or base of the system. Decimal Numbers: radix = 10 (symbols:
Number System Conversions Lecture L2.2 Section 2.3.
1 Number Systems. 2 Numbers Each number system is associated with a base or radix – The decimal number system is said to be of base or radix 10 A number.
Hexadecimal Dk Izzati Pg Haji Ahmad.
Number Systems.
Supplemental Chapter Number Bases
NUMBER SYSTEM.
Number Systems Ron Christensen CIS 121.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
Number Base Conversions
Digital Electronics Octal & Hexadecimal Number Systems.
Octal to Decimal Hexadecimal DecimalOctal Binary.
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,
Octal & Hexadecimal Number Systems
NUMBER SYSTEM. Number System Number Base B => B symbols – Base 16(Hexa):0, 1,……9, A,…, E, F – Base 10 (Decimal): 0, 1, 2,……, 7, 8, 9 – Base 8(Octal):
Number Representation Lecture Topics How are numeric data items actually stored in computer memory? How much space (memory locations) is.
ECE 3110: Introduction to Digital Systems Number Systems.
ECE 362 Microprocessor Systems and Interfacing ©5-1 Lecture 1 Hexadecimal Computation Outline n Decimal n Binary n Octal n Hexadecimal.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 4 Number Representation and Calculation.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
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.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
DigitValue Denotation NumericValue Denotation 2thousands1,000 0hundreds100 4tens10 8ones1 Computer Organization Basic Computer Concepts Number Systems.
Dr. Clincy Slide 1 CS Chapter 2 (Part 1 of 3) Dr. Clincy Professor of CS Ch 2 Appendix pages will not be on the exam – already covered this.
Computer Science 210 Computer Organization
Lecturer: Santokh Singh
Appendix F Number Systems binary 0, 1 0, 1, 2, 3, 4, 5, 6, 7
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
Octal to Decimal Decimal Octal Binary Hexadecimal.
What is a byte? What is it? How would you use it?
Binary Positional Notation
Copyright (c) 2004 Professor Keith W. Noe
Number Systems.
Binary, Hexadecimal, Octal, and BCD Numbers
Convert Decimal to Binary
ITE102 – Computer Programming (C++)
CSE 102 Introduction to Computer Engineering
Number Systems Lab session 1 Xuan Guo.
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Binary Quiz UIN: ____________________
Number Systems Base 2, 10, 16.
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Dr. Clincy Professor of CS
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Computer Science 210 Computer Organization
There are 10 types of people of people in this world…
Digital Logic Design (CSNB163)
Binary Lesson 3 Hexadecimal
Number systems and codes
Binary Lesson 3 Hexadecimal
Chapter 2 Number Systems.
Number Systems Rayat Shikshan Sanstha’s
Numeral systems (radix)
Chapter 2 Number Systems.
Number Systems Rayat Shikshan Sanstha’s
Chapter 2 Number Systems.
Remember the 10 types of people of people in this world…
Computer Science 1 Review and finish Number base conversion
Chapter 2 Number Systems.
Dr. Clincy Professor of CS
Presentation transcript:

Positional Notation A positional or place-value notation is a numeral system in which each position is related to the next by a constant multiplier, called the base or radix of that numeral system. The value of each digit position is the value of its digit, multiplied by a power of the base; the power is determined by the digit's position. The value of a positional number is the total of the values of its positions. So, in positional base-10 notation: And, in positional base-2 notation: Why is the second example a cheat?

Vital Point Do not confuse the representation with the number! This is confusing to a LOT of students. It's common to think that somehow the different representations correspond to different underlying values. Do not confuse the representation with the number! Each of the following examples is a representation of the same number: 25510 111111112 FF16 20105 3778 33334 1001103 Do not make the mistake of thinking that there is such a thing as "a base-10 number" or "a base-16 number". There is a unique base-10 representation of every integer and there is a unique base-16 representation of every integer.

Converting from base-10 to base-2 Given a base-10 representation of an integer value, the base-2 representation can be calculated by successive divisions by 2: 73901 Remainder 36950 1 18475 0 9237 1 4618 1 2309 0 1154 1 577 0 288 1 144 0 72 0 36 0 18 0 9 0 4 1 2 0 1 0 0 1

Converting from base-2 to base-10 Given a base-2 representation of an integer value, the base-10 representation can be calculated by simply expanding the positional representation:

Other Bases Are analagous… given a base-10 representation of an integer value, the base-16 representation can be calculated by successive divisions by 16: 73901 Remainder 4618 13 --> D 288 10 --> A 18 0 1 2 0 1 The choice of base determines the set of numerals that will be used. base-16 (hexadecimal or simply hex) numerals: 0 1 . . . 9 A B C D E F

Converting from base-2 to base-16 Given a base-2 representation of an integer value, the base-16 representation can be calculated by simply converting the nybbles: 1 0010 0000 1010 1101 1 2 0 A D : hex The same basic "trick" works whenever the target base is a power of the source base: 10 010 000 010 101 101 2 2 0 2 5 5 : octal

Important Bases in Computing base-2 binary 0 1 base-8 octal 0 1 2 3 4 5 6 7 base-10 decimal 0 1 2 3 4 5 6 7 8 9 base-16 hex 0 1 2 3 4 5 6 7 8 9 A B C D E F