Question 1: Consider the given table and determine Source s1 Pi a. The source code using Fano Coding technique. b. Determine the average length of code. c. Determine the entropy of the source. d. Determine the efficiency of the code. 0.3 S2 0.2 S3 0.2 S4 0.1 S5 0.1 S6 0.05 S7 0.05

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Note: please solve
Assignment 2
this homework
Question 1: Consider the given table and determine
Source
Pi
a. The source code using Fano Coding technique.
b. Determine the average length of code.
c. Determine the entropy of the source.
d. Determine the efficiency of the code.
S1
0.3
S2
0.2
S3
0.2
S4
0.1
S5
0.1
S6
0.05
S7
0.05
Transcribed Image Text:Note: please solve Assignment 2 this homework Question 1: Consider the given table and determine Source Pi a. The source code using Fano Coding technique. b. Determine the average length of code. c. Determine the entropy of the source. d. Determine the efficiency of the code. S1 0.3 S2 0.2 S3 0.2 S4 0.1 S5 0.1 S6 0.05 S7 0.05
Note: Please the solution must be the same as
this step
Fano Coding: Example
Average Length of code
LA
= 0.5 * 1+ 2 0.125 * 3 +3 0.0625 * 4 + 2 * 0.03125 S1
Src
Pi
Code
0.5
b
* 5 = 2.3125
S
S2
0.125
100
Entropy of Source
S3
0.125
101
H(S)
S4
0.0625
1100
0.35(0.5) + 2 * 0.125log2(0.125)
(+ 3 + 0.0625log2(0.0625) + 2 • 0.03125log2(0.03125)
S5
0.0625
1101
= 2.3125 -
S6
0.0625
1110
• Efficiency of Code
H(s)
2.3125
NA
* 100 = 100%
S7
0.03125
11110
La
2.3125
S8
0.03125
11111
Transcribed Image Text:Note: Please the solution must be the same as this step Fano Coding: Example Average Length of code LA = 0.5 * 1+ 2 0.125 * 3 +3 0.0625 * 4 + 2 * 0.03125 S1 Src Pi Code 0.5 b * 5 = 2.3125 S S2 0.125 100 Entropy of Source S3 0.125 101 H(S) S4 0.0625 1100 0.35(0.5) + 2 * 0.125log2(0.125) (+ 3 + 0.0625log2(0.0625) + 2 • 0.03125log2(0.03125) S5 0.0625 1101 = 2.3125 - S6 0.0625 1110 • Efficiency of Code H(s) 2.3125 NA * 100 = 100% S7 0.03125 11110 La 2.3125 S8 0.03125 11111
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY