KodKom Latihan UTS-1

KodKom Latihan UTS-1

University

20 Qs

quiz-placeholder

Similar activities

Data Communication MCQ-IV

Data Communication MCQ-IV

University

19 Qs

Can you guess what I'm talking about from a few words?

Can you guess what I'm talking about from a few words?

KG - Professional Development

15 Qs

Tema 1 (informatica)

Tema 1 (informatica)

University

22 Qs

GENE MUTATION

GENE MUTATION

1st Grade - University

20 Qs

ADC UNIT 4

ADC UNIT 4

University

15 Qs

FUNCTIONS OF LAYERS & DATA LINK LAYER

FUNCTIONS OF LAYERS & DATA LINK LAYER

University

25 Qs

Java programming

Java programming

University

20 Qs

Quiz 2

Quiz 2

University

15 Qs

KodKom Latihan UTS-1

KodKom Latihan UTS-1

Assessment

Quiz

Other

University

Medium

Created by

Marisa Paryasto

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in creating a Shannon-Fano code?

Divide the symbols into groups of equal probability

Sort symbols in descending order of frequency

Assign binary codes randomly

Combine the least probable symbols

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main principle behind Shannon-Fano coding?

Symbols are grouped based on probability

Each symbol gets a unique code based on frequency

Symbols with higher probabilities get longer codes

Symbols with lower probabilities get shorter codes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Shannon-Fano coding, how are the codes assigned after dividing groups?

Randomly assigned binary codes

Higher-probability symbols get longer codes

One group gets code '0', the other gets '1'

All symbols receive fixed-length codes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Shannon-Fano is considered a __________.

Variable-length prefix coding technique

Fixed-length coding technique

Lossy compression algorithm

Arithmetic coding technique

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A drawback of Shannon-Fano coding compared to Huffman coding is:

It’s harder to implement

It doesn’t guarantee optimal codes

It only works with binary symbols

It’s slower in encoding

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does Huffman coding prioritize when building a code tree?

Dividing symbols into equal groups

Merging the least probable symbols first

Sorting symbols alphabetically

Assigning all symbols fixed-length codes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Huffman coding is a __________.

Lossy compression algorithm

Fixed-length coding technique

Variable-length prefix coding technique

Method that generates non-binary codes

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?