← Back to 18. The Linux System

πŸ“ Real time scheduling in The Linux System

πŸ“– From Operating System β€’ 18. The Linux System β€’ 12 questions available

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

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

2
Easy Questions
6
Medium Questions
4
Hard Questions

πŸ“ Sample Questions

Q1. What does the CLONE_VM flag cause when passed to the clone() system call?

πŸ”Ή A. The child receives a copy of the parent's virtual memory
πŸ”Ή B. The child shares the same virtual memory as the parent
πŸ”Ή C. The child gets a separate address space but same file descriptors
πŸ”Ή D. The child inherits the parent's signal handlers

πŸ’‘ Difficulty: easy | βœ… Correct: B

Q2. A developer wants a thread that shares memory with its parent but keeps a private set of open files. Which combination of clone() flags should be used?

πŸ”Ή A. CLONE_VM | CLONE_FILES
πŸ”Ή B. CLONE_VM | CLONE_FS
πŸ”Ή C. CLONE_VM
πŸ”Ή D. CLONE_VM | CLONE_SIGHAND

πŸ’‘ Difficulty: medium | βœ… Correct: C

Q3. What is the effect of the CLONE_SIGHAND flag on inter‑task communication in a real‑time environment?

πŸ”Ή A. It isolates signal handling, preventing tasks from interfering with each other
πŸ”Ή B. It forces each task to have its own copy of signal handlers
πŸ”Ή C. It allows tasks to share a single signal‑handler table, enabling coordinated response to signals
πŸ”Ή D. It disables all signal handling for the child task

πŸ’‘ Difficulty: hard | βœ… Correct: C

⬆️ 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