└── 1_Assignment.txt /1_Assignment.txt: -------------------------------------------------------------------------------- 1 | Given records of the following type: 2 | :,:,:, 3 | Example: 4 | Rahul:cs100,90:cs110,92:cs120,95 5 | 6 | Write a program to convert this to a network representation that is as follows: 7 | 1 byte: 8 | 1 byte: 9 | 10 | 1 byte: 11 | 12 | 1 byte: 13 | 14 | 15 | 7 bits: 16 | 7 bits: (this will use the msb from the previous marks and so on) 17 | 18 | 19 | Write another program to convert this to the following representation: 20 | 21 | 22 | 23 | Rahul 24 | 25 | 26 | 27 | 28 | 31 | 32 | 33 | 34 | 35 | 36 | 1) Formatting in XML - no \n or spaces or any other formatting chars to make it human readable. Just plain XML 37 | 2) For marks < 10, these are written to the text file as 5 and not as 05 38 | 39 | Deadline is 22nd January 11:59 P.M. 40 | --------------------------------------------------------------------------------