Take as many assements as you can to improve your validate your skill rating
Total Questions: 5
1. Which of the following system calls does not return control to the calling point, on termination ?
Correct Answer is : exec
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 ?
Correct Answer is : exec
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
Similar Interview Questions
Search for latest jobs
Get $5 added to your wallet for registering an account. Refer others and get $1 for each successful referral. Earn while you search for jobs and redeem in gift cards!