Oxford AQA IGCSE · Computer Science (9210)

Data compression:練習題

4 條多項選擇題即時批改,另有 5 條文字題附完整解題步驟,全部圍繞「Data compression」。

9 條題目24 免費,無需登記
第 1 題
1

Why is data compression frequently used when storing or transmitting files over a network?

第 2 題
1

A short text document takes up \(700\) bits of space when stored using \(7\)-bit ASCII. After applying Huffman coding, the file size is reduced to \(380\) bits. How many bits have been saved through compression?

第 3 題
1

In a Huffman tree, the following character codes are assigned:
- 'E' is represented by \(0\)
- 'T' is represented by \(10\)
- 'A' is represented by \(11\)

What is the binary representation of the word 'TEA' using these codes?

第 4 題
1

A row of pixels in a black and white bitmap is represented by the binary string: 0000111000000. Which of the following represents this data using Run Length Encoding (RLE) frequency/data pairs?

第 5 題
2

Explain one reason why it is often necessary or desirable to use data compression when storing files on a computer.

先自己寫一次答案,再對照解題步驟。

第 6 題
3

Use Run Length Encoding (RLE) to represent the following binary data as frequency/data pairs:
00000011100000

先自己寫一次答案,再對照解題步驟。

第 7 題
6

A message contains the characters 'AAAAABCC'. Calculate the total bits required using 7-bit ASCII and determine how many bits are saved if Huffman coding is used with the following codes: A=0, B=10, C=11.

先自己寫一次答案,再對照解題步驟。

第 8 題
4

Run Length Encoding (RLE) is a form of lossless data compression.
Part A: Explain the purpose of data compression in computer systems.
Part B: A row of pixels in a simple bitmap is represented by the following binary string:
000000111111110000
Represent this data using RLE frequency/data pairs as specified in the syllabus.

先自己寫一次答案,再對照解題步驟。

第 9 題
5

The following Huffman tree is used to encode a message containing the characters A, B, C, and D.
- The path to A is 0
- The path to B is 10
- The path to C is 110
- The path to D is 111

Part A: Decode the following bitstream using the tree: 110010111.
Part B: Calculate how many bits would be required to store the string "ABACAD" using this Huffman tree.
Part C: Calculate the number of bits required to store the same string "ABACAD" using standard 7-bit ASCII.

先自己寫一次答案,再對照解題步驟。

* thinka提供的內容由AI生成,可能並非總是準確或最新。請將其用作輔助資源,並與官方材料進行核實。

你已看過標準答案,接下來輪到批改你的答案。

這一頁可以告訴你好答案的樣子,卻無法指出你的答案欠缺什麼。thinka 按真實評分準則批改你的文字答案,約 15 秒完成。

想多做幾條同類題目?立即開始練習呢個課題,即做即批改。

立即練習