KodKom Latihan UTS-1

KodKom Latihan UTS-1

University

20 Qs

quiz-placeholder

Similar activities

Statistical Tests Quiz

Statistical Tests Quiz

12th Grade - University

20 Qs

Level 1 Modul 3 - Workplace Ethics Awareness

Level 1 Modul 3 - Workplace Ethics Awareness

University

20 Qs

Computer Hardware

Computer Hardware

University

20 Qs

Information System - Networks Quiz

Information System - Networks Quiz

University

21 Qs

Introduction  to Information Technology

Introduction to Information Technology

University

20 Qs

ITC quiz

ITC quiz

University

15 Qs

DATA ANALYSIS

DATA ANALYSIS

University

20 Qs

Quiz on Group Technology and Cellular Manufacturing

Quiz on Group Technology and Cellular Manufacturing

University

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