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):

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
NUMBER SYSTEM.
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.
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.
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: ____________________
Number Systems and Binary Arithmetic
There are 10 types of people of people in this world…
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: d 31 d d 2 d 1 d 0 is a 32 digit number value = d 31 x B 31 + d 30 x B d 2 x B 2 + d 1 x B 1 + d 0 x B 0

Decimal Numbers: Base 10 Base or Radix is 10 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Example: = 4x x x10 0 = = 412

Binary Numbers: Base 2 Base or Radix is 2 Digits: 0, 1 Example: = 1x x x2 0 = = 5

Octal Numbers: Base 8 Base or Radix is 8 Digits: 0, 1, 2, 3, 4, 5, 6, 7 Example: = 1x x x8 0 = = 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: = 1x x16 0 = = 18

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

Decimal to Binary

Conversion of to Binary =

Binary to decimal conversion X2 0 = 1 0X2 1 = 0 0X2 2 = 0 1X2 3 = 8 1X2 4 =

Decimal to Octal

Conversion of to Octal =175 8

Octal to decimal conversion 175 5X8 0 = 5 7X8 1 = 56 1X8 2 = =

Conversion of to Octal =124 8

Octal to decimal conversion 124 4X8 0 = 4 2X8 1 = 16 1X8 2 = = 84 10

Decimal to Hexa

Conversion of to Hexadecimal =1C2 16

Hexa to decimal conversion 1C2 2X16 0 = 2 12X16 1 = 192 1X16 2 = C2 16 =

Conversion of to Hexadecimal =181 16

Hexa to decimal conversion 181 1X16 0 = 1 8X16 1 = 128 1X16 2 = =

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

BINARY  OCTAL OCTAL – BASE 8 = DIGIT BINARY NUMBER Example:  OCTAL =31 8

Example:  OCTAL =163 8

BINARY  HEXA HEXA – BASE 16 = DIGIT BINARY NUMBER Example:  HEXA =19 16

Example:  OCTAL =163 8

OCTAL  HEXA OCTAL  BINARY  HEXA Example:31 8  HEXA =19 16

HEXA  OCTAL Example: 1BD  OCTAL 1 B D BD = 675 8

Conversion of to Binary =

0.125 X 2 = X 2 = X 2 = =

Binary to decimal conversion X2 -3 = X2 -2 = 0 0X2 -1 = 0 1X2 0 = 1 0X2 1 = 0 0X2 2 = 0 1X2 3 = 8 1X2 4 =

Conversion of to Octal =124 8

0.250 X 8 = =

Octal to decimal conversion X8 -1 = X8 0 = 1 2X8 1 = 0 1X8 2 =