(SEM VI) THEORY EXAMINATION 2021-22 DATA COMPRESSION

B.Tech Data Structure 0 downloads
₹29.00

DATA COMPRESSION (KCS-064)

B.Tech Semester VI – Theory Examination (2021–22) 


DATA-COMPRESSION-KCS064


Data Compression is a fundamental subject in computer science and information technology that deals with reducing the size of data without losing essential information. With the rapid growth of digital data in the form of text, images, audio, and video, efficient storage and fast transmission have become critical requirements. Data compression techniques help in saving storage space, reducing transmission bandwidth, lowering communication cost, and improving system performance.


From the uploaded question paper, it is clearly visible that the examination focuses on lossless and lossy compression, entropy and information theory, Huffman coding, dictionary-based coding, Markov models, quantization, vector quantization, predictive coding, PPM, CALIC, LZW, BWT, facsimile encoding, and distortion measures. To score well, answers must be written in continuous, well-explained paragraphs, combining theory, mathematical reasoning, and algorithmic understanding rather than short bullet points.


SECTION A – FUNDAMENTAL CONCEPTS OF DATA COMPRESSION

(Based on Section A, Page-1) 

 

Fidelity and quality are two important but distinct concepts in data compression. Fidelity refers to how closely the decompressed data matches the original data, usually in a technical or mathematical sense, whereas quality is a subjective measure that depends on human perception, especially in audio and image compression.
 

The kth-order Markov model of compression is calculated by assuming that the probability of a symbol depends on the previous k symbols. This model improves compression efficiency by exploiting statistical dependencies in data.
 

Huffman coding has limitations such as its inability to produce optimal codes when symbol probabilities are not powers of two and its inefficiency for sources with very large alphabets or adaptive data streams.

The difference between Huffman and adaptive Huffman coding lies in the way probabilities are handled. Huffman coding requires prior knowledge of symbol probabilities, whereas adaptive Huffman coding updates probabilities dynamically as data is processed.
 

CALIC (Context-based Adaptive Lossless Image Coding) is an advanced lossless image compression technique that uses context modeling and adaptive prediction to achieve high compression efficiency.

PPM (Prediction by Partial Matching) is a statistical data compression technique that predicts the next symbol based on previously seen symbol contexts and adapts as more data is processed.
 

Distortion criteria are used in lossy compression to measure the difference between original and reconstructed data. These criteria help evaluate compression performance.
 

Quantization is the process of mapping a large set of input values to a smaller set of output values. It plays a central role in lossy compression and directly affects distortion.
 

Tree-structured vector quantization offers advantages such as reduced search complexity and faster encoding compared to full search vector quantization.
 

The difference between scalar and vector quantization lies in how data is processed. Scalar quantization operates on individual samples, whereas vector quantization processes blocks of samples together, resulting in better compression efficiency.
 

SECTION B – ENTROPY, CODING AND QUANTIZATION

(Based on Section B, Page-1) 

 

The average codeword length of an optimal code is always greater than or equal to the entropy of the source. This result is fundamental in information theory and proves that entropy represents the theoretical lower bound on compression.
 

For a given alphabet with known probabilities, entropy calculation quantifies the average information content of the source. Using Huffman coding, an optimal prefix code is generated, and the average code length is computed to evaluate coding efficiency.
 

Dictionary-based coding techniques, such as LZ77, LZ78, and LZW, compress data by replacing repeated patterns with dictionary references. These techniques are widely used in practical compression systems.
 

Adaptive quantization adjusts quantization parameters dynamically based on signal characteristics, offering better performance than uniform quantization for non-stationary signals.
 

Vector quantization groups samples into vectors and maps them to representative codewords from a codebook. This technique is highly effective in image and speech compression.
 

SECTION C – DATA COMPRESSION MODELS AND UNIQUE DECODABILITY

(Based on Section C, Page-1) 

 

Data compression is the process of encoding information using fewer bits than the original representation. Compression is needed to save storage, reduce transmission time, and optimize resource utilization. Various compression models include statistical models, dictionary models, and predictive models.
 

A uniquely decodable code is one in which any encoded bit sequence can be decoded in only one way. Determining whether a code is uniquely decodable ensures reliable decoding without ambiguity.


HUFFMAN, TUNSTALL AND DICTIONARY DECODING

(Based on Page-2 of the paper) 

 

The construction of a Huffman tree using given symbol frequencies demonstrates optimal prefix code generation. Decoding a bitstream using the Huffman tree verifies correctness of compression.


The Tunstall coding technique generates fixed-length codewords for variable-length symbol sequences, achieving efficient compression for memoryless sources.


The LZW decoding process reconstructs the original data sequence using an evolving dictionary. Comparing LZ77, LZ78, and LZW highlights differences in dictionary handling and compression performance.


FACSIMILE, BWT, PPM AND QUANTIZATION

(Based on Questions 5–7, Page-2) 

 

Facsimile encoding was an early image compression technique that relied heavily on run-length coding to compress black-and-white images.


The Burrows–Wheeler Transform (BWT) rearranges data to make it more compressible by grouping similar characters together, improving the effectiveness of subsequent compression stages.


The PPM algorithm predicts symbols based on partial context matching, making it one of the most powerful statistical compression techniques.


The Linde–Buzo–Gray (LBG) algorithm is used to design optimal codebooks for vector quantization through iterative refinement.


Structured and pyramid vector quantization reduce complexity and improve scalability, while the advantages of vector quantization include high compression efficiency and good signal quality.


HOW TO WRITE DATA COMPRESSION ANSWERS IN THE EXAM


In Data Compression, never write answers in short bullet points. Always begin with a clear definition, followed by theoretical explanation, mathematical justification, algorithmic steps, and practical relevance. Use correct terminology such as entropy, prefix code, quantization, distortion, dictionary coding, and prediction models. Examiners give maximum importance to conceptual clarity, logical flow, and correct interpretation of compression techniques.

File Size
125.75 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

IELTS Coaching Near Sector 57 Gurugram – Expert Training for High Band Scores Gurugram Sector 57, Gurugram
Spoken English Classes Near By Tilak Nagar Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Tilak Nagar, Delhi
Economics Classes Near By Dwarka Mor Build Strong Conceptual Clarity & Score High Dwarka Mor, Delhi
Graphic Designing Classes Near Noida Sector 97 – Learn Creative Design Skills and Build Your Career Sector 97, Noida
Web Development Classes Near Uttam Nagar – Learn to Build Modern Websites Uttam Nagar, Delhi
Home Tuition (All Subjects) Near Dwarka Mor – Personalized Learning for Academic Success Dwarka Mor, Delhi
TOEFL Coaching Near Noida Sector 106 – Complete Guide for Students Preparing to Study Abroad Noida
Fitness Training Near By Najafgarh Professional Workout Programs for Strength, Weight Loss & Overall Wellness Najafgarh, Delhi
Diet & Nutrition Consultation Near Malibu Town – Personalized Guidance for a Healthy Lifestyle Malibu Town, Gurugram
Data Analytics Training Near Noida Sector 94 – Learn Data Skills and Build a High-Demand Career Noida
Yoga Classes Near Hauz Khas Experience Holistic Wellness, Strength & Inner Balance in 2026 Hauz Khas, Delhi
Web Development Classes Near Noida Sector 103 – Complete Guide to Start Your Tech Career Noida
Music Production (Laptop-Based) Classes Near Sector 143 Noida – Learn Professional Music Creation Sector 143, Noida
Hotel Management Course Near Sector 93A Gurugram – Build a Successful Career in Hospitality Sector 93, Gurugram
Music Production (Laptop-Based) Classes Near Sector 142 Noida – Learn Professional Digital Music Creation Sector 142, Noida
Fashion Designing Course Near Sector 81 Gurugram – Turn Your Creativity into a Successful Career Sector 81, Gurugram
App Development Classes Near Uttam Nagar – Build Android & iOS Apps Uttam Nagar, Delhi
Public Speaking Training Near Sector 55 Gurugram – Build Confidence, Communication & Leadership Skills Sector 55, Gurugram
Meditation Coaching Near Sector 124 Noida – A Complete Guide to Mental Peace and Mindfulness Noida
Spoken English Classes Near By Janakpuri Improve Fluency, Build Confidence & Achieve Career Success in 2026 Janakpuri, Delhi
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020