Explore topic-wise MCQs in Unix.

This section includes 23 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.

1.

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

A. pwd
B. fork
C. cd
D. pwd and cd
Answer» E.
2.

The PID of our login shell doesn’t change.

A. True
B. False
Answer» C.
3.

To know the PID of your current shell, which command will be used?

A. echo $$
B. echo $
C. $SHELL
D. $PATH
Answer» B. echo $
4.

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
Answer» B. parent
5.

The parent id of a child is called ______

A. PID
B. PPID
C. TID
D. PTID
Answer» C. TID
6.

Every process has a parent process.

A. True
B. False
Answer» B. False
7.

Each process is identified by a unique integer called ______

A. PID
B. PPID
C. TID
D. PTID
Answer» B. PPID
8.

A process is an instance of _______ program.

A. waiting
B. executing
C. terminated
D. halted
Answer» C. terminated
9.

EVERY_PROCESS_HAS_A_PARENT_PROCESS.?$

A. True
B. False
Answer» B. False
10.

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
Answer» B. parent
11.

The_parent_id_of_a_child_is_called_______$

A. PID
B. PPID
C. TID
D. PTID
Answer» C. TID
12.

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

A. pwd
B. fork
C. cd
D. pwd and cd
Answer» E.
13.

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
Answer» C. any
14.

The PID of our login shell doesn’t change.$

A. True
B. False
Answer» C.
15.

To_know_the_PID_of_your_current_shell,_which_command_will_be_used?

A. echo $$
B. echo $
C. $SHELL
D. $PATH
Answer» B. echo $
16.

Each process is identified by a unique integer called _____?

A. PID
B. PPID
C. TID
D. PTID
Answer» B. PPID
17.

Process table and process control block store same attributes of a process.

A. True
B. False
Answer» C.
18.

Some attributes of every process are maintained by the kernel in memory in a separate structure called the ______

A. pcb
B. task control block
C. process table
D. task table
Answer» D. task table
19.

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

A. process control block (pcb)
B. array
C. queue
D. program control block
Answer» B. array
20.

Programs and process are synonymous.

A. True
B. False
Answer» C.
21.

When the process has completed its execution it is called ______

A. born
B. terminated
C. waiting
D. exit
Answer» E.
22.

A process is said to be ____ when it starts its execution.

A. born
B. die
C. waiting
D. terminated
Answer» B. die
23.

A process is an instance of _______ program.

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