Hexadecimal num to ASCII code

  • Thread starter Panphobia
  • Start date
  • #1
435
13

Homework Statement



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


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
 

Answers and Replies

  • #2
NascentOxygen
Staff Emeritus
Science Advisor
9,244
1,072
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.
 

Related Threads on Hexadecimal num to ASCII code

  • Last Post
Replies
11
Views
4K
Replies
2
Views
5K
  • Last Post
Replies
3
Views
696
  • Last Post
Replies
5
Views
910
Replies
4
Views
2K
  • Last Post
Replies
2
Views
57K
Replies
8
Views
833
  • Last Post
Replies
2
Views
8K
  • Last Post
Replies
0
Views
2K
Replies
3
Views
1K
Top