Develop Shanon code for the following set of massages, and find the code efficiency? [P(X)]=[ P(X1)=0.15, P(X2)=0.25 , P(X3)=0.07 , P(X4)=0.08 , P(X5)=0.17 , P(X6)=0.28 ]

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Develop Shanon code for the following
set of massages, and find the code
efficiency? [P(X)]=[ P(X1)=0.15 ,
P(X2)=0.25 , P(X3)=0.07 , P(X4)=0.08 ,
P(X5)=0.17, P(X6)=0.28 ]
OLc=2.7 Bits/message ,H(X)=2.419 Bits/ Message
Code efficiency =85.59% C6 00, C2 010, C510 ,
C1 101 ,C4 1101, C3 1110
O Lc=2.8 Bits/ Message ,H(X)=2.7 Bits/ Message ,
Code efficacy%3D96.4% C6 00 , C2 101 , C5 01 , C1
100 , C4 1111, C3 0111
OLc=2.5 Bits / Message , H(X) =2.5 Bits/ Message
Code efficiency = 100% C6 101 , C2 100 , C5 10
C1 101 , C4 1111 , C3 01111
%3D
Transcribed Image Text:Develop Shanon code for the following set of massages, and find the code efficiency? [P(X)]=[ P(X1)=0.15 , P(X2)=0.25 , P(X3)=0.07 , P(X4)=0.08 , P(X5)=0.17, P(X6)=0.28 ] OLc=2.7 Bits/message ,H(X)=2.419 Bits/ Message Code efficiency =85.59% C6 00, C2 010, C510 , C1 101 ,C4 1101, C3 1110 O Lc=2.8 Bits/ Message ,H(X)=2.7 Bits/ Message , Code efficacy%3D96.4% C6 00 , C2 101 , C5 01 , C1 100 , C4 1111, C3 0111 OLc=2.5 Bits / Message , H(X) =2.5 Bits/ Message Code efficiency = 100% C6 101 , C2 100 , C5 10 C1 101 , C4 1111 , C3 01111 %3D
Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Concept of Randomized Approximation Algorithm
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education