Processes and Threads
Multiple Choice questions & answers are available for a Computer Science students to clear GAT, NTS, ECAT exams, various technical interview, competitive examination, and other entrance exam. Processes and Threads is the important Topic for a computer science and technical students and one should practice these Mcqs to grasp good knowledge on the topic.
2. In a pure Kernel Level Thread facility all of work of thread management is done by the
Application
Program
Kernel
Threads
3. The systems which allows only one process execution at a time, are called
Uniprogramming systems
Uniprocessing systems
Unitasking systems
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
4. In operating system, each process has its own
Address space and global variables
Open files
Pending alarms, signals and signal handlers
All of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
5. In Unix, Which system call creates the new process?
Fork
Create
New
None of the mentioned
6. A process can be terminated due to
Normal exit
Fatal error
Killed by another process
All of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
7. What is the ready state of a process?
When process is scheduled to run after some execution
When process is unable to run until some task has been completed
When process is using the CPU
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
8. What is inter-process communication?
Communication within the process
Communication between two process
Communication between two threads of same process
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
9. A process stack does not contain
Function parameters
Local variables
Return addresses
PID of child process
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
10. The address of the next instruction to be executed by the current process is provided by the
CPU registers
Program counter
Process stack
Pipe
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
11. The part of machine level instruction, which tells the central processor what has to be done, is
Operation code
Address
Locator
Flip-Flop
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
12. Process State is a part of
Process Control block
Inode
File Allocation Table
None of the above
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
13. The kernel keeps track of the state of each task by using a data structure called _________ .
Process control block
User control block
Memory control block
None of the above
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
14. The removal of process from active contention of CPU and reintroduce them into memory later is known as ____________.
Interrupt
Swapping
Signal
Thread
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
15. A thread is a __________ process .
Heavy Weight
Mutliprocess
Inter Thread
Light weight
Answer & Solution
No Solution for this Answer..! Report or Discus this Question