Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python, decoding problem: write a program to code the message, One hour later the usual place using a suitable method. Then, decode this message in

Python, decoding problem:

write a program to code the message, One hour later the usual place using a suitable method. Then, decode this message in the second part of program.

Use Ord() and chr() functions for coding and use ASCII table for express as symbolic number

image text in transcribed

ASCII TABLE 1 Decimal Hex Char Decimal Hex Char Decimal Hex Char Decimal Hex Char 0 0 (NULL) 32 20 [SPACE) 64 40 @ 96 60 1 1 [START OF HEADING] 33 21 65 41 97 61 2 2 [START OF TEXT] 34 22 66 42 B 98 62 b 3 3 [END OF TEXT) 35 23 # 67 43 99 63 4 4 [END OF TRANSMISSION 36 24 $ 68 44 D 100 64 d 5 5 [ENQUIRY] 37 25 % 69 45 101 65 e 6 6 [ACKNOWLEDGE 38 26 & 70 46 F 102 66 f 7 [BELL] 39 27 71 47 G 103 67 8 8 [BACKSPACE) 40 28 ( 72 48 H 104 68 h 9 9 [HORIZONTAL TAB] 41 29 73 49 105 69 10 A [LINE FEED) 42 2A 74 4A J 106 6A 11 B (VERTICAL TAB] 43 2B + 75 4B K 107 6B k 12 [FORM FEED] 44 20 76 4C L 108 6C 13 D [CARRIAGE RETURN] 45 2D 77 4D M 109 6D m 14 E [SHIFT OUT) 46 2E 78 4E N 110 6E n 15 F (SHIFT IN) 47 2F / 79 4F 111 6F 16 10 [DATA LINK ESCAPE) 48 30 80 50 P 112 70 17 11 [DEVICE CONTROL 1] 49 31 1 81 51 Q 113 71 q 18 12 [DEVICE CONTROL 21 50 32 2 82 52 R 114 72 r 19 13 (DEVICE CONTROL 3] 51 33 3 83 53 115 73 S 20 14 [DEVICE CONTROL 41 52 34 4 84 54 T 116 74 t 21 15 [NEGATIVE ACKNOWLEDGE 53 35 5 85 55 117 75 u 22 16 [SYNCHRONOUS IDLE] 54 36 6 86 56 V 118 76 v 23 17 [ENG OF TRANS. BLOCK] 55 37 7 87 57 119 77 w 24 18 [CANCEL] 56 38 8 88 58 120 78 25 19 (END OF MEDIUM] 57 39 9 89 59 Y 121 79 y 26 1A [SUBSTITUTE] 58 90 5A z 122 7A 27 1B [ESCAPE) 59 3B 91 5B [ 123 7B { 28 10 [FILE SEPARATOR] 60 30 92 5C 124 70 29 1D [GROUP SEPARATOR] 61 3D 93 5D ] 125 7D 30 1E [RECORD SEPARATOR] 62 94 5E 126 7E 31 1F (UNIT SEPARATOR) 63 3F ? 95 5F 127 7F [DEL] hondo CMUowu OS SUWLUI-XEZOAORUS > 3XN--- LOHNMON... VIA LUONOS ---ECOLOLOS > > Nie

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions