Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

8525 AQA GCSE 3.3.8 Huffman & RLE

Total questions: 15

Worksheet time: 7mins

Name
Class
Date
1.

Which type of compression ensures that all of the data is kept?

a)

Lossless

b)

Lossy

2.

Lossy compression removes data that isn't needed...

a)

True

b)

False

3.

The correct encoding of the letter C in this tree is...

a)

11

b)

10

c)

01

d)

00

4.

Huffman trees use the _______________ of each character to work out their encoding.

a)

Frequency

b)

Order in ASCII

c)

Number value

5.

How do you move through a Huffman tree?

a)

0 = right 1= left

b)

1 = left 2 = right

c)

0 = left 1 = right

d)

0 = middle 1 = back

6.

How do you calculate the number of bits of a body of text in ASCII?

a)

Number of characters * 7

b)

Number of characters (including spaces) *7

c)

bits in Huffman * 7

d)

bits in Huffman / 7

7.

Use this Huffman tree to encode "ban"

a)

111001

b)

100011

c)

010

d)

143

8.
When is Run Length Encoding used?
a)
When we want to compress patterns of data
b)
When we want to decompress patterns of data
c)
When we want to encode running videos
9.
Data compression is important for websites because:
a)
Your webpage will load faster
b)
Compressed images look better
10.

The first line of this image in RLE would be...

a)

8W, 1Bl, 20B, 1W

b)

10B, 4Y, 17R, 2G

c)

2G, 10P, 17Y, 2Bl

11.
Typically used for multimedia files
a)
Lossy Compression
b)
Lossless Compression
12.
Original file can be restored
a)
Lossy Compression
b)
Lossless Compression
13.
Original file cannot be restored
a)
Lossy Compression
b)
Lossless Compression
14.
Runlength Encoding
a)
Lossy Compression
b)
Lossless Compression
15.
Replaces repeating pixels or codes
a)
Run Length Encoding
b)
Dictionary Encoding