odameemma431
odameemma431 odameemma431
  • 23-04-2022
  • Computers and Technology
contestada

3. Encode these sentences in ASCII: a. "Stop!" Cheryl shouted. b. Does 2 + 3 = 5?​

Respuesta :

issssse
issssse issssse
  • 23-04-2022

Answer:

"Stop!" Cheryl shouted.
34, 83, 116, 111, 112, 33, 34, 32, 67, 104, 101, 114, 121, 108, 32, 115, 104, 111, 117, 116, 101, 100, 46

Does 2 + 3 = 5?
68, 111, 101, 115, 32, 50, 32, 43, 32, 51, 32, 61, 32, 53, 63

I got these numbers with this python code:
print([ord(c) for c in '"Stop!" Cheryl shouted.'])
print([ord(c) for c in 'Does 2 + 3 = 5?'])

Answer Link

Otras preguntas

How do I solve 3.2x+0.2x^2-5=0
What is meant by the phrase "1900 Europeans believed the world was their oyster"
Why does Jackson think that the speedy removal of the Native Americans is good for the United States
What is one third of 1080
What is 14/12 reduce to its lowest term
what are some common motives of nations and states?
Steve grows taller each year. Is this a transitive verb or a intransitive verb?
Did the Louisiana purchase double or triple the size of the country
Two snails in the same class must also be in the same (A) order. (B) species. (C) genus. (D) family. (E) phylum
if average of m numbers is n^2 and average of n numbers is m^2 then find average of m+n numbers