1. Which of the following system calls does not return control to the calling point, on termination ?
2. The following program:
main()
{
if(fork()>0)
sleep(100);
}
results in the creation of:
Correct Answer is : a zombie process
3. Which of the following system calls transforms executable binary file into a process ?
4. The following C program :
main()
{
fork();fork();printf("yes");
}
prints yes:
Correct Answer is : four times
5. Which of the following calls never returns an error ?
Correct Answer is : getpid