NUMBER SYSTEM.

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.
Number Systems Benchmark Companies Inc PO Box Aurora CO
Number SystemsNumber Systems Modified By: AM. Sihan (Hardware Engineering)
Numbers. Number Conversion Convert – Binary number to decimal numbers – Octal numbers to decimal numbers – Hexadecimal to decimal numbers Convert – Decimal.
Decimal Addition What is going on? (carry) (subtract the base)
ECE 301 – Digital Electronics Course Introduction, Number Systems, Conversion between Bases, and Basic Binary Arithmetic (Lecture #1)
BASICS OF COMPUTER APPLICATIONS ASB 102. UNIT 1 Introducing computer system  Number system  What is number system?  Types of number system  Their.
Prepared By Rama Gaikwad 1. Number Systems. Common Number Systems SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20,
Data Representation in Computers. Data Representation in Computers/Session 3 / 2 of 33 Number systems  The additive approach – Number earlier consisted.
Number Systems.
Supplemental Chapter Number Bases
Conversion of Number System Conversion Among Bases The possibilities: Hexadecimal DecimalOctal Binary
Computer Number Systems. d n-1 d n-2 d n d 2-m d 1-m d -m Conventional Radix Number r is the radixd i is a digit d i Є {0, 1, ….., r – 1 } -m ≤
NUMBER SYSTEMS Prepared By K.Anitha Associate Professor Dept of ECE PVPSIT.
Number Systems Ron Christensen CIS 121.
Number systems, Operations, and Codes
Introduction to Computing Dr. Nadeem A Khan. Lecture 10.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Chapter1: Number Systems
Number Systems Prepared by Department of Preparatory year.
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
Number Base Conversions
Number System sneha.
Octal to Decimal Hexadecimal DecimalOctal Binary.
Chapter 1  Number Systems Decimal System Binary System Octal System Hexadecimal System  Binary weighted cods Signed number binary order  1’s and 2’s.
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):
Computer Number System
1. Number Systems Chapt. 2 Location in course textbook.
ITEC 1011 Introduction to Information Technologies 1. Number Systems Chapt. 2 Location in course textbook.
Arithmetic Chapter 4 Subject: Digital System Year: 2009.
1. Number Systems. Common Number Systems SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20, 1NoYes Octal80, 1, … 7No.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
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 32 Binary Number System. Objectives After completing this chapter, you will be able to: –Describe the binary number system –Identify the place.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
1 Digital Logic Design (41-135) Chapter 5 Number Representation & Arithmetic Circuits Younglok Kim Dept. of Electrical Engineering Sogang University Spring.
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
Introduction to Computing
Octal to Decimal Decimal Octal Binary Hexadecimal.
1. Number Systems.
NUMBER SYSTEM Prepared by: Engr Zakria.
Number System.
COMPUTER ORGANIZATION
By: Jonathan O. Cabriana
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.
ITE102 – Computer Programming (C++)
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
CSE 102 Introduction to Computer Engineering
Location in course textbook
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Number System conversions
Chapter 1 Number Systems & Conversions
Binary Quiz UIN: ____________________
Chapter 2: Number Systems
Digital Logic Design (CSNB163)
ECE 301 – Digital Electronics
Number Systems.
Number Systems created by: S.Shahrukh haider
Chapter 2 Number Systems.
Numeral systems (radix)
Chapter 2 Number Systems.
Chapter 2 Number Systems.
Number Systems.
Chapter 2 Number System.
Chapter 2 Number Systems.
Number System.
1. Number Systems Chapt. 2.
Presentation transcript:

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): 0, 1, 2, 3, 4, 5, 6, 7 Base 2 (Binary): 0, 1

Number System (cont) Number representation: d31d30 ... d2d1d0 is a 32 digit number value = d31x B31 + d30 x B30 + ... + d2 x B2 + d1 x B1 + d0 x B0

Decimal Numbers: Base 10 Base or Radix is 10 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Example: 41210 = 4x102 + 1x101 + 2x100 = 400 + 10 +2 = 412

Binary Numbers: Base 2 Base or Radix is 2 Digits: 0, 1 Example: 1012 = 1x22 + 0x21 + 1x20 = 4 + 0 +1 = 5

Octal Numbers: Base 8 Base or Radix is 8 Digits: 0, 1, 2, 3, 4, 5, 6, 7 Example: 1238 = 1x82 + 2x81 + 3x80 = 64 + 16 +3 = 83

Hexadecimal Numbers: Base 16 Digits: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F: A  10 B  11 C  12 D  13 E  14 F  15 Example: 1216 = 1x161 + 2x160 = 16 +2 = 18

Conversions Decimal to Base N Base N to Decimal Successive Division by N (Remainder Method) Multiplication with power of N

Decimal to Binary

Conversion of 2510 to Binary 2 25 2 12 -1 2 6 - 0 2 3 - 0 1 - 1 2510=110012

Binary to decimal conversion 11001 1X20 = 1 0X21 = 0 0X22 = 0 1X23 = 8 1X24 = 16 2510

Decimal to Octal

Conversion of 12510 to Octal 8 125 8 15 - 5 1 - 7 12510=1758

Octal to decimal conversion 175 5X80 = 5 7X81 = 56 1X82 = 64 125 1758 = 12510

Conversion of 8410 to Octal 8 84 8 10 - 4 1 - 2 8410=1248

Octal to decimal conversion 124 4X80 = 4 2X81 = 16 1X82 = 64 84 1248 = 8410

Decimal to Hexa

Conversion of 45010 to Hexadecimal 16 450 16 28 - 2 1 - 12 45010=1C216

Hexa to decimal conversion 450 1C216 = 45010

Conversion of 38510 to Hexadecimal 16 385 16 24 - 1 1 - 8 38510=18116

Hexa to decimal conversion 181 1X160 = 1 8X161 = 128 1X162 = 256 385 18116 = 38510

Other Conversions BINARYOCTAL BINARYHEXA OCTALHEXA etc,.

BINARYOCTAL OCTAL – BASE 8 = 23 3 DIGIT BINARY NUMBER Example:110012  OCTAL 11 001 011 001 3 1 110012=318

Example:11100112  OCTAL 1 110 011 001 110 011 1 6 3 11100112=1638

BINARYHEXA HEXA – BASE 16 = 24 4 DIGIT BINARY NUMBER Example:110012  HEXA 1 1001 0001 1001 1 9 110012=1916

Example:11100112  OCTAL 1 110 011 001 110 011 1 6 3 11100112=1638

OCTALHEXA OCTALBINARYHEXA Example:318  HEXA 3 1 011 001 0001 1001 1 9 318=1916

HEXA  OCTAL Example: 1BD  OCTAL 1 B D 0001 1011 1101 000 110 111 101 0 6 7 5 1BD = 6758

Conversion of 25.12510 to Binary 2 25 2 12 -1 2 6 - 0 2 3 - 0 1 - 1 2510=110012

0.125 X 2 = 0.250 0.250 X 2 = 0.5 0.5 X 2 = 1.0 25.12510 = 11001.0012

Binary to decimal conversion 11001.001 1X2-3 = 0.125 0X2-2 = 0 0X2-1 = 0 1X20 = 1 0X21 = 0 0X22 = 0 1X23 = 8 1X24 = 16 25.12510

Conversion of 84.25010 to Octal 8 84 8 10 - 4 1 - 2 8410=1248

0.250 X 8 = 2.000 25.12310 = 124.28

Octal to decimal conversion 124.2 2X8-1 = 0.25 4X80 = 1 2X81 = 0 1X82 = 0 25.25010

ASSIGNMENT

DECIMAL TO BINARY 43 79 107 241 476

DECIMAL TO OCTAL 39 152 284 758 2534

DECIMAL TO HEXA 75 826 3128 7359 4756

DECIMAL TO OTHER 63 BASE4 279 BASE6 161 BASE7

BINARY  OCTAL,HEXA 1010101 11010101011 111010110111 1011110111 101000101

OCTAL  HEXA 473 1235 724 5774 4625

75.12510 BASE2 356.52310 OCTAL 527.4210 HEXA