Kablow!

Data compression

விளையாடிக் கற்றுக்கொள்ளுங்கள்

ஆற்றல் சம்பாதிக்க இந்த கேள்விகளுக்குப் பதிலளியுங்கள், பின்னர் மீன் பிடித்து ஆராயுங்கள். கணக்கு தேவையில்லை.

கல்வியாளர்களுக்கு: Data compression (Computer Science, Data Representation)-க்கான தயாரான பாட ஸ்லைடுகள், திருப்புதல் குறிப்புகள் — உங்கள் பாடத்தில் அவற்றைப் பயன்படுத்தவும், அல்லது கற்பவர்கள் நேரலை விளையாட்டாக விளையாடும் ஊடாடும் வகுப்பு செயல்பாடாக தலைப்பை இயக்கவும்.

பாட குறிப்புகள்

Why compress?

  • Compression makes files smaller: less storage, faster transfer and lower bandwidth costs.

Packing and restoring files

Packing and restoring files

Lossy compression

  • Lossy compression permanently discards information, so the exact original cannot be reconstructed from the compressed representation alone.
  • Examples include standard lossy JPEG images, MP3 audio and lossy H.264 video. MP4 is a container; its codec determines compression.

Lossless compression

  • Lossless reduces size without losing any data; the original can be perfectly restored. Used for PNG, ZIP, FLAC and text where accuracy matters.

Lossless and lossy compression

Lossless and lossy compression

Run-length encoding (RLE)

  • Replaces repeated values with a count and the value. AAAABBBCC → 4A3B2C. Works well when many repeats occur (simple images). May not help if there are few repeats.

Run-length encoding

Run-length encoding

Huffman coding

  • Huffman coding builds variable-length prefix codes using symbol frequencies, normally giving common symbols shorter codes.
  • Encoded symbol data can require fewer bits than a fixed-length code; any codebook or tree overhead also contributes to the stored file size.

Choosing

  • Use lossy for photos, music and video where small quality loss is acceptable; use lossless where exact data matters (documents, program code).

ஸ்லைடுகள்

Sign up free to view the lesson slides

Step through every slide for this topic — plus flashcards and revision notes — with a free account.

பயிற்சி கேள்விகள்

இலவச முன்னோட்டம் — 32-இல் 8 கேள்விகள். அனைத்தையும் பார்க்க பதிவு செய்யவும்.
  1. 1.What is compression?

    Easy
    • Areducing the size of a file
    • Bencrypting a file
    • Ccopying a file
    • Ddeleting a file
  2. 2.What does lossy compression do?

    Easy
    • Apermanently removes some data
    • Bkeeps all data
    • Cencrypts data
    • Dcopies data
  3. 3.What does lossless compression do?

    Easy
    • Areduces size without losing data
    • Bremoves data permanently
    • Cincreases size
    • Dhides data
  4. 4.Which file type uses lossy compression?

    Easy
    • AMP3
    • BZIP
    • CPNG
    • DFLAC
  5. 5.Which file type uses lossless compression?

    Easy
    • APNG
    • Bstandard lossy JPEG
    • CMP3
    • Duncompressed PCM audio
  6. 6.What is the RLE of WWWWBBBWW?

    Easy
    • A4W3B2W
    • B4W3B
    • CWBW
    • D9W
  7. 7.What does 3A2B decode to?

    Easy
    • AAAABB
    • BAB
    • C32AB
    • DAAAB
  8. 8.What does Huffman coding use?

    Easy
    • Ashorter codes for common characters
    • Bequal codes
    • Crandom codes
    • Dno codes

Unlock all 32 questions & more

இந்த தலைப்பிற்கான ஒவ்வொரு கேள்வியையும், ஸ்லைடுகளையும், ஃப்ளாஷ் கார்டுகளையும் மற்றும் திருப்புதல் குறிப்புகளையும் பார்க்க இலவச கணக்கை உருவாக்கவும்.

முந்தைய தேர்வுகள்

இந்த தலைப்பிற்கான முந்தைய தேர்வு பயிற்சி விரைவில் வருகிறது.
விரைவில் வருகிறது