Unix Processes Management MCQs

This section focuses on "Processes Management" in unix. These Multiple Choice Questions (MCQ) should be practiced to improve the unix skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. Each process in the system has a unique ________.

A. pidentity
B. processidentity
C. pid
D. proid

View Answer


2. When you start a process (run a command), how many ways you can run it?

A. 2
B. 3
C. 4
D. 5

View Answer


3. By default, every process that you start runs in the __________.

A. Foreground
B. Background
C. Both A and B
D. None of the above

View Answer


4. A process is an instance of _______ program.

A. waiting
B. executing
C. terminated
D. halted

View Answer


5. Which data structure is used to store information about a process?

A. process control block
B. stack
C. queue
D. program control block

View Answer


6. Which of the following command doesn't create a process?

A. pwd
B. fork
C. cd
D. Both A and C

View Answer


7. ____ command will bring the background jobs to the foreground.

A. bg
B. gd
C. fg
D. kill

View Answer


8. Which command is used to list the status of jobs?

A. JOBS
B. jobs
C. fg
D. bg

View Answer


9. What is a daemon?

A. process whose parent has died
B. process who has completed its execution but still has an entry in the process table
C. process which is running infinitely
D. process which runs automatically without any user interaction

View Answer


10. What is cron?

A. a simple process
B. an orphan process
C. a daemon
D. a zombie process

View Answer





Discussion


* You must be logged in to add comment.