We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.



The objective of this assignment is


o   To get hands on practice of constructing frequency table and Huffman encoding tree.


For any query about the assignment, contact at cs301@vu.edu.pk



Marks: 20 

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]                                                                                


Lectures Covered:  This assignment covers Lecture #  23 - 28

Deadline:           Your assignment must be uploaded / submitted on / before, 28 January, 2019.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 3419


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion


CS301 Data Structures Assignment No. 02 SEMESTER Fall 2018 COMPLETE SOLUTION WITH EXPLANATION. 

yeh wrong hai. Q2 ka answer apka wring aa rha hai.


CS301 Data Structures Assignment No 02 100% correct final solution

Agar ab wrong h to ap mention karna m apko samja dn ga dear?

me b samjha sakta hun dear. apka Q2 wrong hai

Q1 ka tree b wrong bnaya hua hai ap ne. kiu k inverted commas ko huffman encoding me use nhi krte hain

Correct Solution

Q2 wrong hai

dear correct solution abi send kar raha hn g jo ab wrong ho ga apny mention karna h g?

Correct Solution


© 2020   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service