.....
|
Assignment No. 03 (Graded)
SEMESTER Fall 2014
CS301- Data Structures
|
Total Marks: 20
Due Date: 09/02/2015
| |
Instructions
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) if:
Uploading instructions
Objective
The objective of this assignment is:
For any query about the assignment, contact at cs301@vu.edu.pk
GOOD LUCK
| |||
Marks: 20
| |||
Problem Statement:
Suppose you are hired as a Network programmer by a leading software company with a task to enhance the data transferring speed over a communication line. Note that there are two ways to perform the required task:
Due to some financial reasons, the company is not able to enhance their bandwidth; therefore the only choice is to minimize the size of data using some bits encoding technique.
Following are the two indicators which must be encountered while performing your task:
You have studied the Huffman encoding technique in this course; you are required to use the said technique to solve the given problem. In order to test your application, encode the following sentence using Huffman encoding technique:
MY NETWORK APPLICATION IS WORKING PROPERLY
Tasks you have to do:
Keeping in mind the above scenario for the exemplary sentence, give answers of the following questions.
| |||
Lectures Covered: This assignment covers Lecture # 24-26
Deadline: Your assignment must be uploaded/submitted at or before. Feb 9 , 2014
| |||
VUSuperior Chat Room
Wednesday, 4 February 2015
CS301 Data Structure Fall 2014 Assignment No.3 (Graded) Due Date:09/02/2015
Subscribe to:
Post Comments (Atom)







Char Freq
ReplyDeleteSP 5 O 4
A 2 P 4
C 1 R 4
E 2 S 1
G 1 T 2
I 4 W 2
K 2 Y 2
L 2
M 1
N 3
Original message in bits=42
ReplyDeleteOriginal message in ASCII= 42*8=336
Huffman message in bits=176
Bandwidth=Huffman/original*100
BW=176/336*100
BW=52%