Explore topic-wise MCQs in Operating System.

This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Operating System knowledge and support exam preparation. Choose a topic below to get started.

1.

If exec is called immediately after forking ____________

A. the program specified in the parameter to exec will replace the entire process
B. all the threads will be duplicated
C. all the threads may be duplicated
D. none of the mentioned
Answer» B. all the threads will be duplicated
2.

If a thread invokes the exec system call ____________

A. only the exec executes as a separate process
B. the program specified in the parameter to exec will replace the entire process
C. the exec is ignored as it is invoked by a thread
D. none of the mentioned
Answer» C. the exec is ignored as it is invoked by a thread
3.

A fork system call will fail if ______________

A. the previously executed statement is also a fork call
B. the limit on the maximum number of processes in the system would be executed
C. the limit on the minimum number of processes that can be under execution by a single user would be executed
D. all of the mentioned
Answer» C. the limit on the minimum number of processes that can be under execution by a single user would be executed