Bit Patterns – Day 2 Scott Baranick & Daniel Velasquez.

Slides:



Advertisements
Similar presentations
1 3 Computing System Fundamentals 3.5 Data Representation.
Advertisements

DATA REPRESENTATION CONVERSION.
Hexadecimal In today’s lesson we will look at: the need for something other than binary how hexadecimal works how to convert between hexadecimal and binary.
James Tam Beyond base 10: Non-decimal based number system What exactly is decimal? How do other number systems work (binary, octal and hex) How to convert.
Copyright (c) 2004 Professor Keith W. Noe Number Systems & Codes Part I.
Agenda Shortcuts converting among numbering systems –Binary to Hex / Hex to Binary –Binary to Octal / Octal to Binary Signed and unsigned binary numbers.
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 4.2 Binary numbers: Arithmetic
The Binary Number System
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
Number Systems and Codes In PLC
Binary Conversions Number systems 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.
Number Systems.
Introduction to IT and Communications Technology Justin Champion Network Connections & Number Systems.
Title NUMERIC SYSTEMS USED IN NETWORKING NUMERIC SYSTEMS USED IN NETWORKING.
Math Review Do you remember, from math class, how exponentiation operations are typically represented? anan is known as the "base" a is known as the "base"
1 Pertemuan 2 Network Math. Discussion Topics Binary presentation of data Bits and bytes Base 10 number system Base 2 number system Converting decimal.
Number Systems CIT Network Math
Lecture Binary and Hexadecimal Numbers. How Machines Think Computers handle two types of information: –Instructions –Data The "words" of a machine language.
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
Converting From decimal to Binary & Hexadecimal to Binary
Chapter 2 Number Systems: Decimal, Binary, and Hex.
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.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Springfield Technical Community College Center for Business and Technology.
Announcement!!! First exam next Thursday (I’m trying to give you a first exam before the drop date) I’ll post a sample exam over the weekend and will try.
ROM CPU CMOS HARD DRIVERAM. POWER on off 1 bit 8 bits = 1 byte.
COMPUTER PROGRAMMING I Objective 1.02 Understand Numbering Systems.
Computer Science LESSON 2 ON Number Bases.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
Computer Studies Today Chapter 19 1 Chapter 19. Computer Studies Today Chapter 19 2 »Information stored in a computer is in two states: –ON –OFF.
Hexadecimal (base 16) BY MAT D. What is hexadecimal  Hexadecimal is a number system like binary or denary that has 16 characters, the numbers 0-9 and.
Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer List the characters (digits) for the following bases. 1) Decimal:
Chapter 2: Binary Values and Number Systems Chapter 2 Binary Values and Number Systems Page 14 Information may be reduced to its fundamental state by.
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.
CMSC 1041 Binary / Hex Binary and Hex The number systems of Computer Science.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Chapter 01 Numbers. Chapter 02 Base 10 example Decimal Number Place Place (place - 1) ===============================
Chapter 32 Binary Number System. Objectives After completing this chapter, you will be able to: –Describe the binary number system –Identify the place.
Computer Maintenance Numbering Systems Copyright © Texas Education Agency, All rights reserved.1.
Binary Lesson 4a Hexadecimal and Binary Practice2.
© 2016 AQA. Created by Teachit for AQA Converting between number bases Lesson.
Math Review Do you remember, from math class, how exponentiation operations are typically represented? an a is known as the "base" n is known as the "exponent".
Decimal Numbers.
Computer Maintenance Numbering Systems Trade & Industrial Education
Binary and Hexadecimal
Unit 18: Computational Thinking
Digital Electronics INTRODUCTION ANALOG VS DIGITAL NUMBER SYSTEMS.
Copyright (c) 2004 Professor Keith W. Noe
Lesson Objectives Understand the hexadecimal numbering system
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Data Storage Introduction to computer, 2nd semester, 2010/2011
Binary Quiz UIN: ____________________
Binary and Hexadecimal Numbers
Hexadecimal Binary Made Easier.
Binary Lesson 3 Hexadecimal
Data Hexadecimal.
Binary Lesson 8a IPv6 Addresses: Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 8 IPv6 Addresses: Hexadecimal
Objective 1.02 Understand Numbering Systems
Binary Lesson 3 Hexadecimal
Binary Lesson 4 Hexadecimal and Binary Practice
Binary Lesson 4 Hexadecimal and Binary Practice
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Binary Lesson 7 Review of Binary and Hexadecimal
Presentation transcript:

Bit Patterns – Day 2 Scott Baranick & Daniel Velasquez

Question from Yesterday So what then are the largest numbers that can be represented using 16 bits? 32 bits? and 64 bits? 16 bits = 2 16 – 1 = 65, bits = 2 16 – 1 = 65, bits = 2 32 – 1 = 4,294,967, bits = 2 32 – 1 = 4,294,967, bits = 2 64 – 1 = 1.84 x bits = 2 64 – 1 = 1.84 x 10 19

Binary is Hard to Read Let's face it. Reading a long list of zeros and ones is not easy for mere humans. Let's face it. Reading a long list of zeros and ones is not easy for mere humans. Humans today use a kind of shorthand for binary called hexadecimal (Base 16) Humans today use a kind of shorthand for binary called hexadecimal (Base 16)

How is Hex used within the computers of today? RGB values used in Web page design. RGB values used in Web page design.style="color:#CC246B" MAC or Physical Address of network cards. MAC or Physical Address of network cards.00-C5-DA-5F-C0-E5

Do You Know Your Address? The network interface card has a unique ID called a MAC address. The network interface card has a unique ID called a MAC address. To view this address follow these steps: To view this address follow these steps: 1.Choose "Run" off of the Start menu. 2.Type in "cmd" to get a black command line prompt. 3.Type in "ipconfig /all" 4.The MAC address is the one labelled "Physical Address"

Counting in base 16 Remember to use letters rather than numbers for 10 through 15 Remember to use letters rather than numbers for 10 through 15

"Hex" Digits Fill out the 3 rd column of your number systems worksheet. Fill out the 3 rd column of your number systems worksheet.

Binary to Hex Substitution Binary Hex E5 E5 Substitute a single hexadecimal digit for each set of 4 binary bits. Use the 4-bit pattern to "look up" the hex digit used to replace them from the table on the worksheet.

Binary to Decimal x 2 0 = 1 x one = 1 0 x 2 1 = 0 x two = 0 1 x 2 2 = 1 x four = 4 0 x 2 3 = 0 x eight = 0 0 x 2 4 = 0 x sixteen = 0 1 x 2 5 = 1 x thirty-two = x 2 6 = 1 x sixty-four = 64 1 x 2 7 = 1 x 128 = 128

Hex to Decimal E 5 5 x 16 0 = 5 x one = 5 E x 16 1 = 14 x sixteen =

Tip If you have to convert a binary number into decimal by hand, first convert it to hex and then convert to decimal.

Activity 1 Convert your MAC address to decimal. Convert your MAC address to decimal.

Activity 2 Convert this IP address represented in binary into decimal

Summary Computers are, at their essence, binary machines. Computers are, at their essence, binary machines. Hexadecimal is just a shorthand form of representing binary numbers. Hexadecimal is just a shorthand form of representing binary numbers. Although we humans may use Hex to describe values within a computer, computers do not "think" in Hex or Decimal, but rather, computers "think" in Binary. Although we humans may use Hex to describe values within a computer, computers do not "think" in Hex or Decimal, but rather, computers "think" in Binary.

End Day 2