Operating System MCQ - Processes Management
Processes Management MCQs : This section focuses on "Processes" in Operating System. These Multiple Choice Questions (MCQ) should be practiced to improve the Operating System skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.
1. Which of the following is true about Process?
A. A process is basically a program in execution
B. The execution of a process must progress in a sequential fashion.
C. A process is defined as an entity which represents the basic unit of work to be implemented in the system.
D. All of the above
View Answer
Ans : D
Explanation: A process is defined as an entity which represents the basic unit of work to be implemented in the system.
2. This is dynamically allocated memory to a process during its run time.
A. Heap
B. Stack
C. Queue
D. Data
View Answer
Ans : A
Explanation: In a simplified layout of a process inside main memory
Heap : This is dynamically allocated memory to a process during its run time.
3. This section contains the global and static variables.
A. Heap
B. Stack
C. Data
D. Text
View Answer
Ans : C
Explanation: In a simplified layout of a process inside main memory
Data : This section contains the global and static variables.
4. A part of a computer program that performs a well-defined task is known as ?
A. algorithm
B. software
C. program
D. task
View Answer
Ans : A
Explanation: A part of a computer program that performs a well-defined task is known as an algorithm
5. How many state are there in Process Life Cycle?
A. 4
B. 5
C. 6
D. 7
View Answer
Ans : B
Explanation: In general, a process can have one of the following five states at a time : Start, Ready, Running, Waiting, Terminated.
6. PCB stands for?
A. Process Current Block
B. Parent Control Block
C. Parent Current Block
D. Process Control Block
View Answer
Ans : D
Explanation: A Process Control Block is a data structure maintained by the Operating System for every process.
7. A collection of computer programs, libraries and related data are referred to as?
A. algorithm
B. software
C. PCB
D. Process
View Answer
Ans : B
Explanation: A collection of computer programs, libraries and related data are referred to as a software.
8. In which state, processor executes its instructions?
A. Ready
B. Waiting
C. Running
D. Start
View Answer
Ans : C
Explanation: Running : Once the process has been assigned to a processor by the OS scheduler, the process state is set to running and the processor executes its instructions.
9. In PCB, This is required to allow/disallow access to system resources.
A. Process State
B. Process privileges
C. Program Counter
D. CPU Scheduling Information
View Answer
Ans : B
Explanation: Process privileges : This is required to allow/disallow access to system resources.
10. In PCB, This includes the amount of CPU used for process execution, time limits, execution ID etc.
A. IO status information
B. CPU Scheduling Information
C. CPU registers
D. Accounting information
View Answer
Ans : D
Explanation: Accounting information : This includes the amount of CPU used for process execution, time limits, execution ID etc.
Discussion