week10 - WELCOME EF 105 Spring 2006 Week 10 TOPICS...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
    WELCOME WELCOME EF 105                Spring 2006 Week 10
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
    TOPICS Homework#3 and Numbering Systems Given in Previous Lecture: Binary to Decimal (slides 23-25) Decimal to Binary (slides 27-30) Decimal to Hexadecimal (slides 34-40) Given in This Lecture: Binary to Hexadecimal Hexadecimal to Binary Hexadecimal to Decimal Use of WORD for Engineering
Background image of page 2
    Homework#3: Due by 11:59pm on day following   class during week of 03/13 Create in a WORD file an algorithm to  1. Convert a decimal number to binary and to  hexadecimal. 2. Convert a binary number to decimal and to  hexadecimal 3. Convert a hexadecimal number to decimal and  to binary 4. Test your algorithm using the decimal equivalent  of the sum of the positions of the alphabets in  your first name (e.g., Denise = 4+5+14+9+5 =  37)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
    Binary to hexadecimal conversion   Steps 1. If the number of digits in a binary number is not  a multiple of 4, add enough leading zeros to  make it so.  2. Split the binary number into groups of 4.  3. Convert each group into one hexadecimal  number.  4. Combine the results from step 3 and add the  subscript 16.  
Background image of page 4
    Binary to hexadecimal conversion   Steps 1 0 0 0 1 1 0 1 1 2 0001 1011 3 B 4 1B 16 Now, let's convert 11011 2 to hexadecimal.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
    Binary to hexadecimal conversion   Now, let's try the conversion from binary to hexadecimal. Binary Grouped Binary Hexadecimal 10100 1011 10110111 110111 101001
Background image of page 6
    Hexadecimal-to-binary conversion   Steps 1.Write the hexadecimal number digit by digit.  1.Convert each hexadecimal digit to binary. (Note again that each converted binary number should have 4 digits.) 1.Combine the results from step 2 and add the subscript to indicate that the result is a binary number.
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
    Hexadecimal-to-binary conversion   Steps 1 A 4 C 2 1010 0100 1100 3 101001001100 2 Let's work on one example, A4C 16 .
Background image of page 8
    Hexadecimal-to-binary conversion Now, let's try the conversion from hexadecimal to binary. Hexadecimal Digit1 Digit2 Digit3 Binary Number 123 AC E12 28F
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
    Hexadecimal-to-decimal conversion Steps: Write the hexadecimal number digit by digit.
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/13/2008 for the course EF 105 taught by Professor Jackson during the Spring '05 term at University of Tennessee.

Page1 / 34

week10 - WELCOME EF 105 Spring 2006 Week 10 TOPICS...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online