โ† Back to 18. The Linux System

๐Ÿ“ Process scheduling in The Linux System

๐Ÿ“– From Operating System โ€ข 18. The Linux System โ€ข 18 questions available

Practice MCQs for Process scheduling in The Linux System. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

๐Ÿ”„ Last updated: 2026-07-27

4
Easy Questions
8
Medium Questions
6
Hard Questions

๐Ÿ“ Sample Questions

Q1. Which system call creates a duplicate of a process in Linux?

๐Ÿ”น A. fork()
๐Ÿ”น B. exec()
๐Ÿ”น C. clone()
๐Ÿ”น D. wait()

๐Ÿ’ก Difficulty: easy | โœ… Correct: A

Q2. How does sharing the fileโ€‘descriptor table with the CLONE_FILES flag affect the behavior of parent and child?

๐Ÿ”น A. The child gets its own copy of the file descriptors.
๐Ÿ”น B. Both parent and child refer to the same descriptor entries, so closing a descriptor in one affects the other.
๐Ÿ”น C. The child cannot open new files.
๐Ÿ”น D. The child inherits only readโ€‘only copies of the descriptors.

๐Ÿ’ก Difficulty: medium | โœ… Correct: B

Q3. How does storing a processโ€™s context in separate substructures (e.g., fileโ€‘system context, virtual memory) enable resource sharing?

๐Ÿ”น A. Separate substructures allow the kernel to copy only the needed parts when a new task is created, enabling selective sharing.
๐Ÿ”น B. It forces all resources to be duplicated, preventing any sharing.
๐Ÿ”น C. It stores the entire process state in a single large structure, making sharing impossible.
๐Ÿ”น D. It eliminates the need for any system calls.

๐Ÿ’ก Difficulty: hard | โœ… Correct: A

โฌ†๏ธ View all questions in the quiz below

๐Ÿ”— Related Topics

๐Ÿ“ Linux History๐Ÿ“ The Linux kernel๐Ÿ“ The Linux system๐Ÿ“ Linux distributions๐Ÿ“ Linux licensing
๐Ÿš€ Start Quiz ๐Ÿ“ Practice Mode