← Back to 4. Threads in Operating System

📝 Linux Threads

📖 From Operating System • 4. Threads in Operating System • 40 questions available

Practice MCQs for Linux Threads. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-08

5
Easy Questions
24
Medium Questions
11
Hard Questions

📝 Sample Questions

Q1. What system call does Linux provide for duplicating a process?

🔹 A. clone()
🔹 B. fork()
🔹 C. exec()
🔹 D. spawn()

💡 Difficulty: easy | ✅ Correct: B

Q2. What determines how much sharing occurs between parent and child when clone() is invoked?

🔹 A. The process priority
🔹 B. A set of flags passed to clone()
🔹 C. The memory size
🔹 D. The CPU speed

💡 Difficulty: medium | ✅ Correct: B

Q3. What is the key difference between fork() and clone() in Linux?

🔹 A. fork() creates threads, clone() creates processes
🔹 B. fork() copies data, clone() shares data based on flags
🔹 C. fork() is faster than clone()
🔹 D. There is no difference

💡 Difficulty: hard | ✅ Correct: B

⬆️ View all questions in the quiz below

🔗 Related Topics

📝 Computer System Architecture📝 Computer System Organization📝 Computing Environments📝 Kernel Data Structures📝 Memory Management
🚀 Start Quiz 📝 Practice Mode