Number Systems.

Slides:



Advertisements
Similar presentations
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.
Advertisements

DATA REPRESENTATION CONVERSION.
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:
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.
Converting Binary to Octal
Number Systems and Arithmetic
COE 202: Digital Logic Design Number Systems Part 1
Number Systems and Codes In PLC
Converting binary to decimal decimal to binary
Numbering Systems Decimal (Denary) base 10. Clumsy when dealing with computers. Other systems –Binary –Octal –Hexadecimal Convenient when dealing with.
Binary and Hexadecimal Numbers
#1 Lec # 2 Winter EECC341 - Shaaban Positional Number Systems A number system consists of an order set of symbols (digits) with relations.
Number systems: binary, decimal, hexadecimal and octal. Conversion between various number systems Number systems: binary, decimal, hexadecimal and octal.
Conversion of Number System Conversion Among Bases The possibilities: Hexadecimal DecimalOctal Binary
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, Operations, and Codes
Positional Notation 642 in base 10 positional notation is:
Number Base Conversions
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
Digital Electronics Octal & Hexadecimal Number Systems.
Number System sneha.
Octal to Decimal Hexadecimal DecimalOctal Binary.
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Octal & Hexadecimal Number Systems
Presentation on Number System
Computer Number System
ABFC... Home page Introduction Binary number system Hexadecimal number system Binary coded decimal Objectives Octal number system Click.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer List the characters (digits) for the following bases. 1) Decimal:
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.
Number Systems and Binary Arithmetic Quantitative Analysis II Professor Bob Orr.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
Computer Maintenance Numbering Systems Copyright © Texas Education Agency, All rights reserved.1.
1. Binary, Decimal, Hexadecimal and Octal. 2. Conversion between various number systems. Number Systems:
Computer Maintenance Numbering Systems Trade & Industrial Education
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
Number Systems and Codes
Octal to Decimal Decimal Octal Binary Hexadecimal.
Discrete Mathematics Numbering System.
By: Jonathan O. Cabriana
Number Systems.
Writer:-Rashedul Hasan. Editor:- Jasim Uddin
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
Location in course textbook
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Number System conversions
Binary Quiz UIN: ____________________
Number Systems and Binary Arithmetic
Number Systems and Codes
Numbering System TODAY AND TOMORROW 11th Edition
Binary Lesson 3 Hexadecimal
Octal & Hexadecimal Number Systems
There are 10 types of people of people in this world…
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Chapter 2 Number Systems.
Number Systems Rayat Shikshan Sanstha’s
Binary Addition (1 of 2) Two 1-bit values A B A + B 1
Chapter 2 Number Systems.
Binary Lesson 4 Hexadecimal and Binary Practice
Number Systems Rayat Shikshan Sanstha’s
Chapter 2 Number Systems.
Remember the 10 types of people of people in this world…
Number Systems.
Chapter 2 Number Systems.
1. Number Systems Chapt. 2.
Presentation transcript:

Number Systems

Decimal Numbers Decimal stands for 10 Decimal is the base 10 Number System It has 10 unique symbols 0 1 2 3 4 5 6 7 8 9 The largest symbol is the base – 1 10 – 1 = 9 9 is the largest symbol in Decimal numbers

Decimal Numbers 1000 100 10 units 4 3 5 6 4000 300 50 + 6 435610

Decimal Numbers Weight origin 103 102 101 100 Weights 1000 100 10 1 Number MSD 6 3 6 4 LSD 6000 300 60 + 4 636410

Binary Numbers Binary stands for 2 Binary is the base 2 number system It has two unique symbols 0 and 1 The largest symbol in Binary is the base – 1 2 – 1 = 1 1 is the largest symbol in the Binary Number system

Binary Numbers Weight origin 23 22 21 20 Weights 8 4 2 1 2 + 1 1110

Counting in Binary Weight 8 4 2 1 decimal 0 0 0 0 0 0 0 0 1 1 0 0 1 0 2 0 0 1 1 3 0 1 0 0 4 0 1 0 1 5 0 1 1 0 6 0 1 1 1 7 1 0 0 0 8 1 0 0 1 9 1 0 1 0 10 1 0 1 1 11 1 1 0 0 12 1 1 0 1 13 1 1 1 0 14 1 1 1 1 15

Converting from Decimal to Binary The decimal number 55 = ____ In binary 55 ÷ 2 = 27.5* 1 LSB 27 ÷ 2 = 13.5 1 13 ÷ 2 = 6.5 1 6 ÷ 2 = 3.0 0 3 ÷ 2 = 1.5 1 1 ÷ 2 = 0.5 1 MSB 110111 = 5510 * If the remainder is .5 place a 1 to the right. If 0 place 0 to right

Octal Number System Octal stands for Eight Octal is the base 8 Number System It has 8 unique symbols 0 1 2 3 4 5 6 7 The largest symbol is the base – 1 8 – 1 = 7 7 is the largest symbol in the Octal number system

Octal Number System Weight origin 83 82 81 80 Weights 512 64 8 1 1024 64 48 + 7 114310

Hexadecimal Number System Hex = 6 and Decimal = 10 6+10 = 16 Hex is the base 16 Number System It has 16 symbols 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 It must have 16 UNIQUE Symbols 0 1 2 3 4 5 6 7 8 9 A B C D E F The largest symbol is 16 – 1 = 15 or F

Hexadecimal Number System Weight origin 163 162 161 160 Weights 4096 256 16 1 Number 1 2 A F 16 4096 512 160 + 15 478310

Octal Conversions The largest symbol in Octal is 7 It requires three binary bit to represent the number 7  1112 To convert a binary number to Octal, start with the LSB and mark off groups of 3. 101011010010 LSB 101-011-010-010 Write Octal symbol below 5 3 2 28

Octal Conversions To convert an Octal number to binary: Write the three bit binary equivalent below 1 5 6 48 001 101 110 100 = 11011101002 Leading zeros can be left off.

Convert Binary to Hex The largest symbol in Hex is 15 or F It requires four binary bits to represent the number 15 or the symbol F  11112 To convert a binary number to Hex, start with the LSB and mark off groups of 4. 1011001110101110LSB 1011-0011-1010-1110 Write Hex symbols below B 3 A E 16

Convert Hex to Binary To convert Hex to Binary, write the 4 bit Binary equivalent below each Hex digit. A 6 3 F 16 1010 0110 0011 1111 = 10100110001111112