GATE CSE · 2017 · CS
Question 50: Algorithms
Give it a try, then reveal the answer to check your work.
Question 50
CSNAT2 marksNeeds review
A message is made up entirely of characters from the set
. The table of probabilities for each of the characters is shown below.Character | Probability |
|---|---|
| 0.22 |
| 0.34 |
| 0.17 |
| 0.19 |
| 0.08 |
Total | 1.00 |
If a message of 100 characters over
is encoded using Huffman coding, then the expected length of the encoded message in bits is __________.Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerEXPLORE & PRACTISE
Paper and topic context
See where this question comes from and choose what to practise next.
2017CS
GATE CSE 2017 · Paper 2
Computer Science and Information Technology · Original paper archive
- Section
- Computer Science and Information Technology
- Question type
- Numerical answer (NAT)
- Marks
- 2 marks
Practise related topics
Explore more previous year questions using this question’s imported topic tags.
computer science
GATE CSE previous year questions
information technology
GATE CSE previous year questions
computing
GATE CSE previous year questions
algorithms
GATE CSE previous year questions
Comments
Ask a question, share your approach, or help someone understand.
Log in to view the discussion
You’re not logged in. Log in or create an account to see discussions and add comments.