Which of the following is a technique used to reduce fragmentation in memory? MCQ with Answer and Explanation

Which of the following is a technique used to reduce fragmentation in memory?
A. Segmentation
B. Compaction
C. Swapping
D. Paging
Answer: Option B
Solution (By JKSSB Mock Tests)
Compaction moves processes to create contiguous free space, reducing external fragmentation; paging eliminates external fragmentation.

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 describes cooperative multitasking?
A. The operating system forcibly stops tasks using timer interrupts.
B. Tasks are shared across multiple physical computers on a local area network.
C. Hardware automatically manages scheduling without any operating system code.
D. Each running process must explicitly yield control to let other processes run.

Correct Answer: Option D


Explanation:
In cooperative multitasking, the operating system never forces a context switch; instead, processes must manually yield CPU execution time back to the system scheduler.

This question belongs to: Computer Operating Systems
Question #2
What is the function of the Windows 'chkdsk' command?
A. Converts FAT to NTFS
B. Checks the file system and disk for errors and repairs them
C. Defragments the hard disk
D. Cleans up temporary files

Correct Answer: Option B


Explanation:
chkdsk (Check Disk) scans the file system and disk sectors for errors and attempts to fix them.

This question belongs to: Computer Operating Systems
Question #3
Which component of an Android application represents a single visible screen with a user interface layer that the user interacts with?
A. Content Provider
B. Service
C. Broadcast Receiver
D. Activity

Correct Answer: Option D


Explanation:
An 'Activity' is the fundamental component that handles a single focused screen interface layout for user interaction.

This question belongs to: Computer Operating Systems