A technician tests compression on three independent folders. Complete the table using R=original size/compressed sizeR=\text{original size}/\text{compressed size}R=original size/compressed size and percentage saved relative to the original size. Enter exact integers or decimals; for a ratio of R:1R:1R:1, enter only the value of RRR.
Unlock full course notes by signing up
What a later archive preserves
A camera app creates a lossy image file from an original photograph and deletes the original. The image file is then stored in a lossless archive. Assume both operations work correctly. Which statements are justified? Select all that apply.
Storage for a sampled sensor signal
A laboratory records one sensor channel for exactly 7.5 s at 12,000 samples per second. Each sample occupies 12 bits. The recorder packs samples together without unused bits and stores no headers or other extra data.
Find the total number of samples as an exact integer and the uncompressed file size in decimal kB, to one decimal place. Use 8 bits per byte and 1 kB = 1000 bytes.
Smaller files and total upload time
A student uploads a 72 MB72\ \text{MB}72 MB photograph collection for a display where approximate images are acceptable. Plan A uses lossless compression, takes 2 s2\ \text{s}2 s to compress, and produces a 30 MB30\ \text{MB}30 MB file. Plan B uses lossy compression, takes 5 s5\ \text{s}5 s to compress, and produces an 18 MB18\ \text{MB}18 MB file.
For either plan, uploading begins only after compression finishes and proceeds at a constant 6 MB/s6\ \text{MB/s}6 MB/s. Ignore all other delays. Find the elapsed time from the start of compression until uploading finishes for each plan, in seconds. Also find how many additional megabytes Plan B saves compared with Plan A. Give all three answers to one decimal place.
Whole blocks and encrypted storage limits
A school uses a storage system with exactly 200,000 bytes available for encrypted files. Its implementation divides each input file into data blocks of at most 4096 bytes. It fills any unused space in the last block with extra bytes, then encrypts each full block and stores 32 additional bytes of accompanying information per block. Thus every stored encrypted block occupies 4128 bytes.
Blocks from different files cannot share space. Ignore directory entries and all other storage costs.
Find both answers as exact integers: