1. Process table and process control block store same attributes of a process.
Correct Answer is : FALSE
2. Each process is identified by a unique integer called ______
3. Every process has a parent process.
4. The parent id of a child is called ______
5. Which process is immediately set up by the kernel when we log on to a UNIX system?
Correct Answer is : shell
6. To know the PID of your current shell, which command will be used?
Correct Answer is : echo $$
7. The PID of our login shell doesn’t change.
Correct Answer is : FALSE
8. What is the PID of the first process that is set up when the system is booted?
9. Which of the following command doesn’t create a process?
Correct Answer is : pwd and cd
10. UNIX supports preemptive multitasking.
11. The collection of memory locations that the process can access is called _______
Correct Answer is : virtual address space
12. The virtual address space consists of ____ segments.
13. The segment representing the constants, globals and static variables is called:
Correct Answer is : data segment
14. The stack stores the _______
Correct Answer is : arguments and local variables and address to return
15. The attributes of every process are stored in ____
Correct Answer is : process table
16. The entire process life cycle is built around ___ system calls.
17. Which of the following system call is used for replicating a process?
18. Which of the following functions is used for handling environment variables of a process?
Correct Answer is : getenv and setenv
19. A process can be terminated using the exit or _exit system call.
20. Both exit and _exit system call share an identical syntax.