Some file systems store information in exactly the format created by the user. Others attempt to optimize by compressing the data. Describe how you would implement a compression/ decompression mechanism.

What will be an ideal response?

Data compression is a powerful technique for reducing the amount of storage and
transmission time needed to hold and move data. It received a great deal of attention in the
space program as pictures from space exploration satellites were compressed by on-board
computers before being transmitted back to Earth.Often data contains large areas of repetition.
When such an area is seen, an escape character is inserted in the data to indicate “start
of compression coding.” Then some notation is employed to indicate that “all of the next so
many bytes are identical to the following byte.” Then regular coding of the data resumes.
Page description languages use techniques like this for indicating large white or black areas
on the page, rather than forcing the transmission of millions of redundant bits of data.

Computer Science & Information Technology

You might also like to view...

Symbols can be inserted by typing a character code in the Symbol dialog box

Indicate whether the statement is true or false

Computer Science & Information Technology

What is an advantage of having an SPGA over a PGA socket?

A) It provides more heat dissipation. B) It enables a more powerful CPU to be inserted. C) It prevents the CPU pins from being bent during installation. D) It enables a computer to be virtualized.

Computer Science & Information Technology