Subject: CS301-Data Structures
Semester: FALL 2018
Assignment No. 2
Due date: 28 January, 2019
Semester: FALL 2018
Assignment No. 2
Due date: 28 January, 2019
CS301 ASSIGNMENT 2 SOLUTION FALL 2018 |
CS301-Data Structures Assignment 2 #Question
Question: Consider the following string saved into a string type variable. We want to send it over the network to another computer. Use the given string and answer (solve) the questions given below.
String: “I love to study data structures”.
1. Build frequency table and Huffman encoding tree. Marks [5 + 10]
2. Calculate how much bits are consumed by original and compressed strings. What percentage of bits is saved by Huffman encoding scheme? Marks [5]
CS301-Data Structures Assignment 2 Solution ! Download !
CS301 Assignment_2 Solution FALL_2018 ———————- Download