chapter 16 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Chapter 16 PowerPoint Presentation
Download Presentation
Chapter 16

Loading in 2 Seconds...

play fullscreen
1 / 7

Chapter 16 - PowerPoint PPT Presentation


  • 124 Views
  • Uploaded on

Chapter 16. Binary and Hexadecimal Numbers. § 16 .2 thru 16.3 – Addition and Subtraction of B inary Numbers. Binary = Base 2 Addition and subtraction are similar to base 10 Can be checked using base 10 conversion Will not learn 1’s complement method

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

Chapter 16


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
chapter 16

Chapter 16

Binary and Hexadecimal Numbers

16 2 thru 16 3 addition and subtraction of b inary numbers
§16.2 thru 16.3 – Addition and Subtraction of Binary Numbers
  • Binary = Base 2
  • Addition and subtraction are similar to base 10
    • Can be checked using base 10 conversion
    • Will not learn 1’s complement method
      • To find 101 – 100011, find 100011 – 101 and make it negative
      • Not responsible for negative answers
16 5 conversion from decimal to binary
§16.5 – Conversion from decimal to binary
  • Image on p. 530 provides the following algorithm
    • Changing a Number from Decimal to Binary
      • Write the number in decimal form
      • Divide it by 2
      • Write the quotient below and the remainder to the right
      • Continue this process until final quotient is 0
      • The binary form of the decimal number is obtained by reading the remainders from the bottom to the top
16 7 hexadecimal system
§16.7 – Hexadecimal System
  • Hexadecimal = Base 16
    • 16 ‘digits’ are needed: 0, 1, 2, 3, 4, ,5, 6, 7, 8, 9, A, B, C, D, E, F
  • Expanded form and converting to decimal
  • Converting Decimal to Hexadecimal (image p. 533)
      • Write the number in decimal form
      • Divide it by 16
      • Write the quotient below and the remainder to the right
      • Continue this process until final quotient is 0
      • The hexadecimal form of the decimal number is obtained by reading the remainders from the bottom to the top
16 8 addition and subtraction of hexadecimal numbers
§16.8 – Addition and Subtraction of HexadecimalNumbers
  • Addition and subtraction are similar to base 10
    • Can be checked using base 10 conversion
    • Will not learn complementary pairs method
      • To find AD – 1231, find 1231 – AD and make it negative
      • Not responsible for negative answers
1 6 9 binary to hexadecimal conversion
§16.9 – Binary to Hexadecimal Conversion
  • One way to convert Binary to Hex
    • Binary to Decimal to Hex
  • Shortcut exists because 24 = 16
    • Every 4 digits in binary equate to one digit in hex
  • Convert binary to hex
  • Convert hex to binary
1 6 10 hexadecimal code for colors
§16.10 – Hexadecimal Code for colors
  • Colors in computers are stored in hex
    • Primary colors: Red, Green, Blue
      • Red: FF0000
      • Green: 00FF00
      • Blue: 0000FF
    • Colors can be made with different ‘quantities’ of Red, Green, and Blue