{ "q1": { "type": "order", "question": "\n
Identify the system call you should use to accomplish the\nfollowing tasks:
\n\n\n
Which of the following statements regarding fork and\nexec are true (select all that apply)?
\n", "responses": { "parent": "After a fork(), the parent gets the PID of the child process.", "child": "After a fork(), the child gets the PID of itself.", "process": "After a fork(), the parent and child processes are nearly identical.", "perror": "During a fork(), the parent is terminated if there is an error.", "pfirst": "After a fork(), the parent is guaranteed to run first.", "cfirst": "After a fork(), the child is guaranteed to run first.", "scheduler": "After a fork(), the next process to run is determined by the scheduler.", "create": "After an exec(), a new process is created.", "load": "After an exec(), new program code is loaded.", "before": "You must always call fork() before you call exec().", "after": "You must always call exec() after you call fork()." } } }