Which Linux command is used to compress files using the gzip algorithm? MCQ with Answer and Explanation

Which Linux command is used to compress files using the gzip algorithm?
A. bzip2
B. gzip
C. tar
D. zip
Answer: Option B
Solution (By JKSSB Mock Tests)
gzip compresses files using the Lempel-Ziv coding (LZ77) with a .gz extension; zip is a different format, and tar is an archiver.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
Which of the following is a symmetric multiprocessing (SMP) system?
A. A system with multiple processors each with their own memory
B. A system with one processor and multiple cores
C. A system that uses distributed memory
D. A system with multiple processors sharing a single memory space and OS

Correct Answer: Option D


Explanation:
SMP architecture has multiple CPUs sharing a single main memory and OS, with equal access to resources.

This question belongs to: Computer Operating Systems
Question #2
In Windows, what type of administrative tool is 'Disk Management'?
A. A framework to analyze network packet drops.
B. An application to modify system registry paths.
C. A utility that cleans up web browser cache tracks.
D. An interface used to initialize, partition, and format local hard drives or solid-state drives.

Correct Answer: Option D


Explanation:
Disk Management is a Windows system utility that enables users to perform advanced storage operations like creating partitions or changing drive letters.

This question belongs to: Computer Operating Systems
Question #3
What scheduling algorithm prioritizes processes based on their remaining computation requirements, preempting a running process if a shorter task enters the ready queue?
A. Shortest Remaining Time First (SRTF)
B. Round Robin (RR)
C. Static Priority Scheduling
D. First-Come, First-Served (FCFS)

Correct Answer: Option A


Explanation:
Shortest Remaining Time First (SRTF) is a preemptive variant of SJF that continuously evaluates remaining runtime, switching to shorter newly arrived tasks.

This question belongs to: Computer Operating Systems