CISCO NETWORKING ACADEMY Chabot College ELEC 74A Hexadecimal Introduction.

Slides:



Advertisements
Similar presentations
Information Processing
Advertisements

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:
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
Data Storage Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information Technology Islamic.
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Binary and Hexadecimal Numbers
Number Systems.
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
DECIMAL BASE Based on power of 10 In the number 2,468 – from right to left -- the 8 represents the ones, the 6 represents the tens, the 4 represents the.
CISCO NETWORKING ACADEMY Chabot College ELEC Addressing & Routing Foundation Concepts.
Title NUMERIC SYSTEMS USED IN NETWORKING NUMERIC SYSTEMS USED IN NETWORKING.
CONVERSION OF NUMBER SYSTEMS FAHEEM ANWAR MANAGER NETWORKS ACADEMY PTCL ACADEMY.
Number Systems Ron Christensen CIS 121.
Number systems, Operations, and Codes
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Positional Notation 642 in base 10 positional notation is:
Number Base Conversions
Converting From decimal to Binary & Hexadecimal to Binary
1 Press Ctrl-A ©G Dear 2010 – Not to be sold/Free to use Converting Bits and Bytes Stage 6 - Year 11 Applied Mathematic (Preliminary General 1)
CISCO NETWORKING ACADEMY Chabot College ELEC Binary Introduction.
Conversions Denary to Binary Method 1
Digital Electronics Octal & Hexadecimal Number Systems.
Chapter 2 Number Systems: Decimal, Binary, and Hex.
Hexadecimal. Overview Hexadecimal (hex) ~ base 16 number system Use 0 through 9 and... A = 10 B = 11 C = 12 D = 13 E = 14 F = 15.
Octal to Decimal Hexadecimal DecimalOctal Binary.
Chapter 2 Bits, Data Types, and Operations. 2-2 Hexadecimal Notation It is often convenient to write binary (base-2) numbers as hexadecimal (base-16)
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
Data Representation Hexadecimal  Although computers work in binary it is sometimes inconvenient for humans to read everything in Binary. For example in.
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Discrete Mathematics Numbering System.
Octal & Hexadecimal Number Systems
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:
CSC 110 – Intro to Computing Lecture 3: Converting between bases & Arithmetic in other bases.
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.
Conversions 1)Binary to Denary Method 1 Work out the position values of the binary bits and add those values together So above would be
Base 16 (hexadecimal) Uses the decimal digits and the first letters of the alphabet to encode 4 binary bits (16=2 4 ) abcdef or ABCDEF.
Computer Maintenance Numbering Systems Copyright © Texas Education Agency, All rights reserved.1.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Binary Lesson 4a Hexadecimal and Binary Practice2.
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.
Computer Maintenance Numbering Systems Trade & Industrial Education
Numeric Data Representation
Octal to Decimal Decimal Octal Binary Hexadecimal.
Discrete Mathematics Numbering System.
Unit 18: Computational Thinking
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Data Storage Introduction to computer, 2nd semester, 2010/2011
Binary Quiz UIN: ____________________
Number Systems Base 2, 10, 16.
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Hexadecimal Conversions
Binary Lesson 3 Hexadecimal
Binary Lesson 8a IPv6 Addresses: Hexadecimal
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
There are 10 types of people of people in this world…
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 8 IPv6 Addresses: Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 4 Hexadecimal and Binary Practice
Numeral systems (radix)
Binary Lesson 4 Hexadecimal and Binary Practice
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Hexadecimal.
Remember the 10 types of people of people in this world…
Binary Lesson 7 Review of Binary and Hexadecimal
Presentation transcript:

CISCO NETWORKING ACADEMY Chabot College ELEC 74A Hexadecimal Introduction

CISCO NETWORKING ACADEMY Hexadecimal Numbers In the decimal (base 10) system, each digit has 10 possible values. In the hexadecimal (base 16) system, each digit has 16 possible values: Dec Hex A B C D E F

CISCO NETWORKING ACADEMY Hexadecimal Numbering In decimal, each place value is a power of ten. We read the number 2342 as two- thousand three-hundred forty-two

CISCO NETWORKING ACADEMY Hexadecimal Numbering In hexadecimal, each place value is a power of 16! We read the hex number 2342 as (2 x 4096) + (3 x 256) + (4 x 16) + (2 x 1) =

CISCO NETWORKING ACADEMY Hexadecimal Notation Is 2342 a decimal or hex number? Hex numbers often are preceded by 0x: 0x2342 are followed by h: 2342h include digits A - F: 2B4C used for MAC addresses: 00-0A-3C-24-A2-99

CISCO NETWORKING ACADEMY Conversions

Hexadecimal Numbering In hex, each place value is a power of 16:

CISCO NETWORKING ACADEMY Hex to Decimal Conversion The hex number 2B1F is equivalent to 11,071 in decimal: 2 x 4096 = 8,192 B (11) x 256 = 2,816 3 x 16 = 48 F (15) x 1 = 15 Total = 11, F3B

CISCO NETWORKING ACADEMY Hex to Decimal Conversion Convert the hex number 04A3 to decimal: __ x 4096 = _____ __ x 256 = _____ __ x 16 = _____ __ x 1 = _____ Total = _____ A

CISCO NETWORKING ACADEMY Hex to Decimal Conversion Convert the hex number 04A3 to decimal: 0 x 4096 = 0 4 x 256 = 1024 A (10) x 16 = x 1 = 3 Total = A

CISCO NETWORKING ACADEMY Decimal to Hex Conversion The decimal number 1,442 is equivalent to 5A2 in hexadecimal: Convert 1,442: 1442 / 256 = 5 with remainder of / 16 = 10 (A) with remainder of 2 2 / 1 = 2 Hex Answer: 5A A

CISCO NETWORKING ACADEMY Decimal to Hex Conversion Convert the decimal number 965 to hexadecimal: Convert 965: ___ / 256 = ___ with remainder of ___ ___ / 16 = ___ with remainder of ___ ___ / 1 = 2 Hex Answer: _____

CISCO NETWORKING ACADEMY Decimal to Hex Conversion Convert the decimal number 965 to hexadecimal: Convert 965: 965 / 256 = 3 with remainder of / 16 = 12 (C) with remainder of 5 5 / 1 = 5 Hex Answer: 3C C35

CISCO NETWORKING ACADEMY Binary Review In binary, each place value is a power of two. Binary 1001 is equivalent to 9 in decimal

CISCO NETWORKING ACADEMY Hex to Binary Conversion 16 = 2 4, so four binary bits can be represented as a single hex digit:

CISCO NETWORKING ACADEMY Hex - Binary Relationship 0A-3C C bits per hex digit 8 bits (one byte) per pair of hex digits 6 pairs of hex digits X 8 bits per pair = 48 bit MAC address

CISCO NETWORKING ACADEMY Hex to Binary Conversion Conversions are usually done one byte (8 bits) at a time. Each byte is split into two 4-bit parts. Each 4-bit part converts to one hex (2 4 ) digit:

CISCO NETWORKING ACADEMY Hex to Binary Conversion Convert Hex C4 to Binary: C = = 0100 C4 =

CISCO NETWORKING ACADEMY Hex to Binary Conversion Convert Hex 7F to Binary: 7 = ____ F = ____ 7F = ________

CISCO NETWORKING ACADEMY Hex to Binary Conversion Convert Hex 7F to Binary: 7 = 0111 F = F =

CISCO NETWORKING ACADEMY Binary to Hex Conversion Convert Binary to Hex: 1100 = _ 0011 = _ = __

CISCO NETWORKING ACADEMY Binary to Hex Conversion Convert Binary to Hex: 1100 = C 0011 = = C3

CISCO NETWORKING ACADEMY Practice Slide Decimal Hex Binary Hex