84. Data_Rep - Huffman Coding Quiz

84. Data_Rep - Huffman Coding Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

OCR GCSE Computer Science 1.2 Sound

OCR GCSE Computer Science 1.2 Sound

10th - 11th Grade

13 Qs

Computer Science Principles Unit 1

Computer Science Principles Unit 1

12th Grade

16 Qs

Character Sets - ASCII

Character Sets - ASCII

10th Grade

15 Qs

KS3 Abstraction

KS3 Abstraction

7th - 9th Grade

14 Qs

Rekursif dan Algoritma Greedy

Rekursif dan Algoritma Greedy

11th Grade

10 Qs

Basics of Coding SC 1

Basics of Coding SC 1

7th - 9th Grade

15 Qs

AP CS Principal : 2.2 Data Compression

AP CS Principal : 2.2 Data Compression

11th Grade

10 Qs

Web Design ~ Unit 1: Quiz 2 Review

Web Design ~ Unit 1: Quiz 2 Review

9th - 12th Grade

16 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?