Topic / 93 questions

Operating Systems MCQs

Page 5 of Operating Systems multiple-choice questions with answers. Tap an option to check yourself.

Page 5 of 5

Advertisement
Question 84 Operating Systems

What does a successful call to execve() do to the calling process?

Correct answer C. Replaces the process's program image with a new program while keeping the same process ID

Open question
Question 86 Operating Systems

What is a major drawback of user-level threads managed entirely by a library under the many-to-one model?

Correct answer C. If one thread makes a blocking system call, the whole process blocks

Open question
Question 88 Operating Systems

In a batch operating system, how are jobs typically handled?

Correct answer A. Similar jobs are grouped and run one after another without user interaction

Open question
Question 89 Operating Systems

What happens if a user-mode program tries to execute a privileged instruction such as disabling interrupts?

Correct answer C. The hardware traps to the operating system instead of executing it

Open question
Advertisement
Question 90 Operating Systems

What is the purpose of the mode bit provided by CPU hardware?

Correct answer B. It indicates whether the CPU is executing in kernel mode or user mode

Open question
Question 91 Operating Systems

Which statement best describes a distributed operating system?

Correct answer C. It manages a collection of networked computers so that users see them as a single system

Open question