{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

Info icon This 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
Image of page 1

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

View Full Document Right 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
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)
Image of page 3

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

View Full Document Right 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.  
Image of page 4
    Binary to hexadecimal conversion   Steps 1 0 0 0 1 1 0 1 1 2 0001 1011 3 1 B 4 1B 16 Now, let's convert 11011 2 to hexadecimal.
Image of page 5

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

View Full Document Right 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
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.
Image of page 7

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

View Full Document Right 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 .
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
Image of page 9

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern