1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
olchik [2.2K]
3 years ago
15

How to convert ascii to hexadecimal?

Computers and Technology
1 answer:
Deffense [45]3 years ago
7 0
ASCII is an agreement on which number represents which typographic character. Using this table you can look up the number of any character. For instance, "A" has 65, but that is a decimal. Next step is to represent this decimal number in hexadecimal. You can do that by taking the divisor and remainder of a division by 16. Numbers beyond 9 are represented as a through f. Hexadecimal numbers are commonly prefixed by "0x" to make them recognizable.

So "A" = 65 = 4*16+1 = 0x41

And "Z" = 90 = 5*16+10 = 0x5a

There are ASCII tables that have the hexadecimal value in them, to make the task easier (www.asciitable.com).

If you want to do this programmatically, you can write something like this (node.js):

console.log( Buffer.from('AZ', 'utf8').toString('hex'));

Note that the 0x prefix is not shown here.
You might be interested in
g Assume that this program is run on a processor with data cache of size big enough that the entire array arr can fit in the cac
Dimas [21]

Answer:

A. 2

Explanation:

The food function in the C source code uses two for loop statements to fill and array of size 100 with 100 values ranging from 1 to 100 and the second to get the total sum to the values in the array. With this, two program paths are created.

7 0
3 years ago
Everfi module 7 answers
Nat2105 [25]
What is the question?
7 0
3 years ago
If a computer system does not have a graphics card installed in a motherboard's PCIe slot, which component handles video calcula
Klio2033 [76]

Answer:The Cpu or a chip on the Motherboard

Explanation: yore welcome

5 0
3 years ago
Why is the DNS service included in Windows Server 2012 R2 integrated with DHCP service?
jekas [21]
The answer is "<span>To allow a DHCP server to request a DNS server to update or create a record.</span>"
Hope this helped and have a nice day!!
5 0
3 years ago
Two Types of spread sheet
Temka [501]

Answer:

1-simple table

2-excel table

3-pivot table

7 0
2 years ago
Other questions:
  • What type of data visual would you use to illustrate trends over time? Gantt chart Bar graph Line chart Scatter diagrams
    5·1 answer
  • A decrease in the Short-Run Aggregate Supply Curve is associated with what?
    8·1 answer
  • What is the term for an e-mail server program that receives sent messages and delivers them to their proper destination?
    14·1 answer
  • Standards for all managers ethical responsibilities are covered in a company's
    7·2 answers
  • A user of the wireless network is unable to gain access to the network. The symptoms are:1.) Unable to connect to both internal
    6·1 answer
  • In Alphatech Systems, email software screens incoming messages by organizing them into mailboxes and identifying junk mail. As a
    13·1 answer
  • What color is the smartart tolls tab?
    5·1 answer
  • How many nibbles make one kilobyte​
    7·2 answers
  • WILL GIVE MORE POINTS, PLEASE HELP!!!
    11·1 answer
  • The name for the instructions you write to a computer in a program
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!