Now let’s get some practice converting text to its hex equivalent value.
a. Give the ASCII representation in hex for the word Virginia
b. Give the ASCII representation in hex for the phrase Frosty the Snowman!
c. Give the ASCII representation in hex for the phrase Born-2-Run
d. Give the text message represented by the following hex digits 23 47 6F 6F 64 54 69 6D 65 73 25
a) Char Decimal Hexadecimal V -> 86 -> 56 i -> 105 -> 69 r -> 114 -> 72 g -> 103 -> 67 i -> 105 -> 69 n -> 110 -> 6e i -> 105 -> 69 a -> 97 -> 61 So, Virginia in hexadecimal is 56 69 72 67 69 6E 69 61 b) Char Decimal Hexadecimal F -> 70 -> 46 r -> 114 -> 72 o -> 111 -> 6f s -> 115 -> 73 t -> 116 -> 74 y -> 121 -> 79 -> 32 -> 20 t -> 116 -> 74 h -> 104 -> 68 e -> 101 -> 65 -> 32 -> 20 S -> 83 -> 53 n -> 110 -> 6e o -> 111 -> 6f w -> 119 -> 77 m -> 109 -> 6d a -> 97 -> 61 n -> 110 -> 6e ! -> 33 -> 21 So, Frosty the Snowman! in hexadecimal is 46 72 6F 73 74 79 20 74 68 65 20 53 6E 6F 77 6D 61 6E 21 c) Char Decimal Hexadecimal B -> 66 -> 42 o -> 111 -> 6f r -> 114 -> 72 n -> 110 -> 6e - -> 45 -> 2d 2 -> 50 -> 32 - -> 45 -> 2d R -> 82 -> 52 u -> 117 -> 75 n -> 110 -> 6e So, Born-2-Run in hexadecimal is 42 6F 72 6E 2D 32 2D 52 75 6E d) 00100011 -> 35 -> # 01000111 -> 71 -> G 01101111 -> 111 -> o 01101111 -> 111 -> o 01100100 -> 100 -> d 01010100 -> 84 -> T 01101001 -> 105 -> i 01101101 -> 109 -> m 01100101 -> 101 -> e 01110011 -> 115 -> s 00100101 -> 37 -> % 23 47 6F 6F 64 54 69 6D 65 73 25 in ASCII is #GoodTimes% Answer: #GoodTimes%
Now let’s get some practice converting text to its hex equivalent value. a. Give the ASCII...