Unix interview questions part 29

Unix interview questions part 29

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

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 ______

Correct Answer is : PID

3. Every process has a parent process.

Correct Answer is : TRUE

4. The parent id of a child is called ______

Correct Answer is : PPID

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?

Correct Answer is : 0

9. Which of the following command doesn’t create a process?

Correct Answer is : pwd and cd

10. UNIX supports preemptive multitasking.

Correct Answer is : TRUE

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.

Correct Answer is : 5

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.

Correct Answer is : 4

17. Which of the following system call is used for replicating a process?

Correct Answer is : fork

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.

Correct Answer is : TRUE

20. Both exit and _exit system call share an identical syntax.

Correct Answer is : TRUE

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon