php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS301 Data Structure Assignments No.4 Solution Fall 2014 Due Date 17th July 2014
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1



[B] CS301 Data Structure Assignments No.4 Solution Fall 2014 Due Date 17th July 2014

Objective

The objective of this assignment is to make you familiar with the compression and compression technique like Huffman Encoding.

We have 21 characters. Of these, 17 characters are alphabets, 4 spaces . The ASCII code for space is 32.The ASCII value for ‘a’ is 95 and the value of A is 65. How many

bits we need to send 21 characters? As every character is of 8 bits, therefore for 21

characters, we need 21 * 8 = 168 we can save around 40% using the Huffman

algorithm.

Original text:

Deer is dear but dear

size: 21 characters (space)

Letters : Frequency

SP : 4

a : 2

b : 1

d : 3

e : 4

r : 3

h : 1

I : 1

S : 1

T : 1[/B]
Reply
#2
we have 21 characters. Of these, 17 characters are alphabets, 4 spaces . The ASCII code for space is 32.The ASCII value for ‘a’ is 95 and the value of A is 65. How many

bits we need to send 21 characters? As every character is of 8 bits, therefore for 21

characters, we need 21 * 8 = 168 we can save around 40% using the Huffman

algorithm.

Original text:

Deer is dear but dear

size: 21 characters (space)

Letters : Frequency

SP : 4

a : 2

b : 1

d : 3

e : 4

r : 3

h : 1

I : 1

S : 1

T : 1
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  VU Fall 2026 Assignments: How to Write Solutions That Get Full Marks (Complete Guide) admin 0 16 11-03-2026, 05:22 PM
Last Post: admin
  cs301 assignment no 3 Solution 20 January 2016 Vuhelper 0 11,137 01-20-2016, 03:32 PM
Last Post: Vuhelper
  CS201 Assignment vo 3 Solution 20th January 2016 Vuhelper 2 2,659 01-20-2016, 03:28 PM
Last Post: Vuhelper
  CS101 Assignment no 3 Solution 20th January 2016 Vuhelper 0 2,334 01-20-2016, 03:25 PM
Last Post: Vuhelper
  SOC101 INTRODUCTION TO SOCIOLOGY assignment no 3 Solution 20 January 2016 Vuhelper 0 1,918 01-20-2016, 03:19 PM
Last Post: Vuhelper
  CS402 Assignment No 4 Solution & Discussion Xpert 0 2,151 08-01-2015, 02:33 AM
Last Post: Xpert
  cs101 Assignment No. 1 Solution 21 may spring 2015 semester Xpert 0 2,958 05-21-2015, 12:41 AM
Last Post: Xpert
  Assignment solution eng 301 due date 20 may 2015 rumesa khan 3 4,585 05-20-2015, 01:34 AM
Last Post: Xpert
  PHY301 Circuit Theory Assignment No. 1 idea Solution spring may 2015 semester Xpert 0 1,610 05-15-2015, 03:52 AM
Last Post: Xpert
  Assignment No. 01 Spring 2015 Information Systems CS507 idea solution spring 2015 Xpert 0 2,499 05-15-2015, 03:49 AM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support