1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Hexadecimal num to ASCII code

  1. Sep 16, 2014 #1
    1. The problem statement, all variables and given/known data

    Give the ASCII code for the hexadecimal number B7.CF (including the code for the hexadecimal point)


    3. The attempt at a solution

    This was one of the questions given on a problem sheet in my computer science class. I missed the exact lecture when this was taught so I don't know exactly what to do, but I have a few ideas. When getting the ASCII code does the question mean the binary representation? If so do you just concatenate the binary numbers you get? So like this 0100 0010 0011 0111 0010 1110 0100 0011 0100 0110
     
  2. jcsd
  3. Sep 17, 2014 #2

    NascentOxygen

    User Avatar

    Staff: Mentor

    There are 5 standard ASCII characters in that string, so I think the answer expects 5 numbers, each number being a decimal integer in the range 0..127 and being the ASCII representation of one character.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted