← Back to 18. The Linux System

📝 Execution and Loading of User Programs in The Linux System

📖 From Operating System • 18. The Linux System • 24 questions available

Practice MCQs for Execution and Loading of User Programs in The Linux System. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-27

6
Easy Questions
12
Medium Questions
6
Hard Questions

📝 Sample Questions

Q1. What system call creates a new process by duplicating the calling process without loading a new executable image?

🔹 A. execve()
🔹 B. fork()
🔹 C. clone()
🔹 D. wait()

💡 Difficulty: easy | ✅ Correct: B

Q2. How does the behavior of clone() differ from fork() when no sharing flags are specified?

🔹 A. clone() always shares memory
🔹 B. clone() creates a thread
🔹 C. clone() behaves like fork()
🔹 D. clone() fails and returns an error

💡 Difficulty: medium | ✅ Correct: C

Q3. A program needs separate address spaces for parent and child but wants them to share the set of open files. Which set of flags should be used with clone()?

🔹 A. No flags
🔹 B. \(CLONE\_FILES\)
🔹 C. \(CLONE\_VM\)
🔹 D. \(CLONE\_FS | CLONE\_SIGHAND\)

💡 Difficulty: hard | ✅ Correct: B

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