Binary, Octal and Hex Numbers Copyright Thaddeus Konar

Slides:



Advertisements
Similar presentations
1/15/2015 Slide # 1 Binary, Octal and Hex Numbers Copyright Thaddeus Konar Introduction to Binary, Octal and Hexadecimal Numbers Thaddeus Konar.
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.
Sample Test 1 Question. A pattern of binary digits can be interpreted in several different ways. Show how the pattern translates using each of.
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
COE 202: Digital Logic Design Number Systems Part 1
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.
Number Systems.
Newport Math Club Copyright © 2009 by Newport Math Club.
Fundamentals of Python: First Programs Chapter 4: Number Systems.
CS105 INTRODUCTION TO COMPUTER CONCEPTS BINARY VALUES & NUMBER SYSTEMS Instructor: Cuong (Charlie) Pham.
Numbering Systems CS208.
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
Supplemental Chapter Number Bases
NUMBER SYSTEM.
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,
Number Systems Ron Christensen CIS 121.
Chapter 7—Objects and Memory The Art and Science of An Introduction to Computer Science ERIC S. ROBERTS Java Objects and Memory C H A P T E R 7 Yea, from.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
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.
Scientific Notation The basics and some math.. Take out your calculator.  Write these calculations and the answer in your notes:  12,922,341 /
Number Base Conversions
Converting From decimal to Binary & Hexadecimal to Binary
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
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):
Chapter 2 Binary Values and Number Systems Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in.
Arithmetic Chapter 4 Subject: Digital System Year: 2009.
CSC 110 – Intro to Computing Lecture 3: Converting between bases & Arithmetic in other bases.
CMSC 1041 Binary / Hex Binary and Hex The number systems of Computer Science.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
DigitValue Denotation NumericValue Denotation 2thousands1,000 0hundreds100 4tens10 8ones1 Computer Organization Basic Computer Concepts Number Systems.
Coding Part 2. Weight of the Digit 3672 Thousands (10 3 )Hundreds (10 2 )Tens (10 1 )Units (1) = Weights Decimal Example (3672) 10 Binary.
NUMBER SYSTEM Prepared by: Engr Zakria.
Computer Number Systems
What is a byte? What is it? How would you use it?
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.
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Copyright (c) 2004 Professor Keith W. Noe
Octal & Hexadecimal Number Systems
Octal & Hexadecimal Number Systems
Number Systems Lab session 1 Xuan Guo.
COUNTING IN BINARY Binary weightings 0 x x x x 8
Octal & Hexadecimal Number Systems
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Binary Quiz UIN: ____________________
Introduction to IT By: Muhammed s. anwar.
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
EGRE 254 Number Systems and Codes 1/12/09
Binary Lesson 3 Hexadecimal
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Octal & Hexadecimal Number Systems
Binary Numbers? Foley SED 514 Section /2/2019.
Digital Electronics and Microprocessors
There are 10 types of people of people in this world…
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
COMS 161 Introduction to Computing
ECE 301 – Digital Electronics
Binary Lesson 3 Hexadecimal
COUNTING IN BINARY Binary weightings 0 x x x x 8
Scientific Notation.
Binary Lesson 4 Hexadecimal and Binary Practice
Remember the 10 types of people of people in this world…
Computer Science 1 Review and finish Number base conversion
Binary Lesson 7 Review of Binary and Hexadecimal
Presentation transcript:

Binary, Octal and Hex Numbers Copyright Thaddeus Konar Introduction to Binary, Octal and Hexadecimal Numbers Part 1 – General Notation Thaddeus Konar 5/22/2019 Slide # 1 Binary, Octal and Hex Numbers Copyright Thaddeus Konar

Binary, Octal and Hex Numbers Copyright Thaddeus Konar Decimal Integers 8934098798347298763287632 There is nothing ‘unique’ about number 10, but because we have 10 fingers, the decimal notation (from Latin decem and Greek Deka: 10) seems ‘natural’ to us. 09832198798237986498762380236409 If the world would be like Simpsons (and I am glad it is not) the natural notation would be octal (8 fingers) 9654327 4576 78543 8374567301 5/22/2019 Slide # 2 Binary, Octal and Hex Numbers Copyright Thaddeus Konar

Binary, Octal and Hex Numbers Copyright Thaddeus Konar Decimal Integers Each digit (counting from the right) represents next power of ten, the rightmost digit represents 1s, next digit represents 10s, next 100s, and so on: …,10000, 1000, 100, 10, 1 which is the same as: …,104 ,103, 102, 101, 100 (Please remember that any number X to zero (0) power equals 1!) X0 = 1 5/22/2019 Slide # 3 Binary, Octal and Hex Numbers Copyright Thaddeus Konar

Decimal Integers (cont) 7845 means: (5*1)+(4*10)+(8*100)+(7*1000) and this is same as: (5*100)+(4*101)+(8*102)+(7*103) 5/22/2019 Slide # 4 Binary, Octal and Hex Numbers Copyright Thaddeus Konar

Decimal Integers (Cont) What does 58345 ‘really’ mean: 58345 5 * 1 =5 4 * 10 =40 3 * 100 =300 8 * 1000 =8000 5 * 10000 =50000 =58345 5/22/2019 Slide # 5 Binary, Octal and Hex Numbers Copyright Thaddeus Konar

Decimal Integers (cont) Lets look at the properties of the decimal integers: Base = 10 (1, 10, 100, …) (100, 101 , 102 , …) Digits range: 0 -> 9 (0,1,2,3,4,5,6,7,8,9) Number of possible values represented by single digit: 10 Please note that number of digits equals Base, and range goes from zero to (Base –1). Digits range: 0 -> (Base - 1) Number of possible values represented by single digit: Base 5/22/2019 Slide # 6 Binary, Octal and Hex Numbers Copyright Thaddeus Konar

Binary, Octal and Hex Numbers Copyright Thaddeus Konar General Notation Any number is represented by combination of single digits Dx, where x is the position of the digit counting from the right. The value of Dx can be only the digits between (and including) 0 and (Base-1). …D5D4D3D2D1D0 Using our example decimal number 7845 D0 =5, D1=4, D2=8, and D3 =7 5/22/2019 Slide # 7 Binary, Octal and Hex Numbers Copyright Thaddeus Konar

General Notation (cont) We can see that any number really means: (D0*B0)+(D1*B1)+(D2*B2)+(D3*B3)+…(Dn*Bn) In our example number 7845 (base 10) means: (5*100)+(4*101)+(8*102)+(7*103)=5+40+800+7000 5/22/2019 Slide # 8 Binary, Octal and Hex Numbers Copyright Thaddeus Konar