Chapter 7

Chapter 7

Assessment

Quiz

Other

University

Medium

Created by

Bakdaulet Yessenbek

Used 14+ times

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Compression on a file works by:

Removing redundant information

Consolidating multiple files into one

Eliminating gaps within the file

Storing most of the data on removable media and just leaving a pointer

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In general, for which of the following would you want to use lossless compression?

An encrypted email

An mp3 audio file

A movie

A log file

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Lossy compression: (choose three)

Sacrifices some quality

Usually results better compression than lossless

Is often used with documents

Decompresses to an identical version as the original

Is often used with images

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

You type gzip myfile.tar. What happens? (choose two)

myfile.tar.gz holds a compressed version of myfile.tar

myfile.tar is unarchived into the current directory

myfile.tar is removed

An error; you forgot to specify the file with –f

An error; you forgot to pass the name of the output file

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you obtain output similar to the following? compressed​​     ​​​uncompressed     ratio        uncompressed_name 278168                1016950                  72.6%           tags

gunzip –t tags

file tags

gzip –l tags

tar –czf tags

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command would you use to archive the Documents directory and compress it with bzip2 compression?

tar –czf documents.tbz Documents

tar –cjf Documents

tar –fzc Documents documents.tbz

tar –cf Documents documents.tbz

  • tar –cjf documents.tbz Documents

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which flag would you pass to tar in order to have it make a new archive?

-c

-x

–t

–j

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?