JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Unix interview questions part 29
Unix interview questions part 29
Back
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.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
2. Each process is identified by a unique integer called ______
A. PID
B. PPID
C. TID
D. PTID
Show Correct Answer
Correct Answer is :
PID
3. Every process has a parent process.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
4. The parent id of a child is called ______
A. PID
B. PPID
C. TID
D. PTID
Show Correct Answer
Correct Answer is :
PPID
5. Which process is immediately set up by the kernel when we log on to a UNIX system?
A. shell
B. parent
C. shell
D. bash
Show Correct Answer
Correct Answer is :
shell
6. To know the PID of your current shell, which command will be used?
A. echo $$
B. echo $
C. $SHELL
D. $PATH
Show Correct Answer
Correct Answer is :
echo $$
7. The PID of our login shell doesn’t change.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
8. What is the PID of the first process that is set up when the system is booted?
A. 1
B. 0
C. any
D. 2
Show Correct Answer
Correct Answer is :
0
9. Which of the following command doesn’t create a process?
A. pwd
B. fork
C. cd
D. pwd and cd
Show Correct Answer
Correct Answer is :
pwd and cd
10. UNIX supports preemptive multitasking.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
11. The collection of memory locations that the process can access is called _______
A. process table
B. process space
C. virtual address space
D. virtual space
Show Correct Answer
Correct Answer is :
virtual address space
12. The virtual address space consists of ____ segments.
A. 4
B. 5
C. 3
D. 2
Show Correct Answer
Correct Answer is :
5
13. The segment representing the constants, globals and static variables is called:
A. text segment
B. data segment
C. stack
D. heap
Show Correct Answer
Correct Answer is :
data segment
14. The stack stores the _______
A. arguments and local variables
B. address to return to
C. global variables
D. arguments and local variables and address to return
Show Correct Answer
Correct Answer is :
arguments and local variables and address to return
15. The attributes of every process are stored in ____
A. data table
B. inode table
C. process table
D. heap
Show Correct Answer
Correct Answer is :
process table
16. The entire process life cycle is built around ___ system calls.
A. 3
B. 4
C. 2
D. 5
Show Correct Answer
Correct Answer is :
4
17. Which of the following system call is used for replicating a process?
A. fork
B. exec
C. wait
D. _exit
Show Correct Answer
Correct Answer is :
fork
18. Which of the following functions is used for handling environment variables of a process?
A. getenv
B. setenv
C. letenv
D. getenv and setenv
Show Correct Answer
Correct Answer is :
getenv and setenv
19. A process can be terminated using the exit or _exit system call.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
20. Both exit and _exit system call share an identical syntax.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
Similar Interview Questions
Search for latest jobs
Find Jobs