84. Data_Rep - Huffman Coding Quiz

84. Data_Rep - Huffman Coding Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Representing Images

Representing Images

9th Grade

12 Qs

OCR A Level Computer Science (H446) - Component 1.3.1 - Compression, Encryption and Hashing

OCR A Level Computer Science (H446) - Component 1.3.1 - Compression, Encryption and Hashing

11th Grade - University

9 Qs

AP CSP Digital Information

AP CSP Digital Information

10th - 12th Grade

15 Qs

AP Computer Science Digital Information

AP Computer Science Digital Information

10th - 12th Grade

15 Qs

Codehs Unit 8 Digital Information

Codehs Unit 8 Digital Information

10th - 12th Grade

15 Qs

Digital Information

Digital Information

10th - 12th Grade

15 Qs

AP CSP Digital Information

AP CSP Digital Information

10th - 12th Grade

15 Qs

Year 11 compression

Year 11 compression

10th - 11th Grade

14 Qs

84. Data_Rep - Huffman Coding Quiz

84. Data_Rep - Huffman Coding Quiz

Assessment

Passage

Computers

9th - 12th Grade

Hard

Created by

Andy Workman

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Huffman coding used for?

Image compression

Text document compression

Audio compression

Lossy compression

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many characters are in the phrase 'Peter Piper picked a pepper' including spaces?

30

27

25

32

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data structure does Huffman coding make use of?

Stacks

Arrays

Linked lists

Binary trees

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many bits does the letter 'P' take to encode using Huffman coding?

3

4

1

2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the encoding path for the letter 'A' in the Huffman tree?

1 1 1 1 0

0 1 1 1

1 0

1 1 1 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many bits does the letter 'A' take to encode using Huffman coding?

5

4

3

2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the total number of bits to encode the character 'P' in the given example?

7 bits

14 bits

21 bits

28 bits

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?