Operating system mcqs threads fork exec

 

 Help authour, Buy PDF Ebook   >>>Click Here<<<

Operating system mcqs threads fork exec

Click on any option to know the CORRECT ANSWERS

Question 6
Which of the following system calls does not return control to the calling point, on termination?
A
fork
B
exec
C
ioctl
D
longjmp
English grammar Questions answers


Question 7
If a process does not call exec after forking .....
A
the program specified in the parameter to exec will replace the entire process
B
all the threads should be duplicated
C
all the threads should not be duplicated
D
none of the mentioned
Current affairs Questions answers


Question 7 Explanation: 
The new process is purely based on fork, due to no exec command, duplication will be done.
Question 8
Which of the following system calls transforms executable binary file into a process?
A
fork
B
exec
C
ioctl
D
longjmp
UPSC Questions answers


Question 9
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
Sociology Questions answers


There are 9 questions to complete.

 

 Download all FREE PDF Ebook >>>CLICK HERE<<<