1.4.4 Process Management
10 Computer Science · Chapter 1: Computer Systems · Federal Board (FBISE)
1.4.4 Process Management from Federal Board 10 Computer Science (10th Class) Chapter 1, Computer Systems: 9 short and long questions and 9 MCQs with answers.
Process Management MCQs
- Q1
Which of the following is NOT one of the five states of a process?
Show answer
Correct answer: C. Compiling
The five states of a process are Start/New, Ready, Running, Blocked/Waiting, and Terminated; Compiling is not one of them.
- Q2
A process that has finished executing enters which state?
Show answer
Correct answer: D. Terminated State
When a process completes its execution, it moves into the Terminated state.
- Q3
What is the key difference between a process and a thread?
Show answer
Correct answer: A. A thread is a subset of a process and can share its resources and memory space
A thread is a basic unit of execution within a process; threads of the same process share that process's memory and resources.
- Q4
What is a deadlock in an operating system?
Show answer
Correct answer: B. When two or more processes are each waiting indefinitely for a resource held by the other
A deadlock occurs when two or more processes are stuck, each waiting for a resource that is held by the other, so neither can proceed.
- Q5
What handles a CPU event, such as an incoming email, that needs the CPU's immediate attention?
Show answer
Correct answer: B. An interrupt
An interrupt is a signal that alerts the CPU to an event needing immediate attention, causing it to pause its current task and run an Interrupt Service Routine (ISR).
- Q6
Which state represents a process that is ready for execution but is waiting to be assigned to the processor?
Show answer
Correct answer: C. Ready State
A process is in the Ready state when it is prepared to run but is waiting for the operating system to assign it to the CPU.
- Q7
What is the main purpose of a process scheduler?
Show answer
Correct answer: B. To manage CPU utilization by controlling the execution order of processes
A process scheduler manages the execution order of processes to ensure efficient and fair use of CPU time.
- Q8
What is the main purpose of interrupts in an operating system?
Show answer
Correct answer: C. To handle events that need the CPU's immediate attention
Interrupts exist to alert the CPU to events requiring immediate attention so it can pause its current task and respond.
- Q9
Which scheduling algorithm assigns CPU time to each process in fixed time slices, in a cyclic order?
Show answer
Correct answer: D. Round Robin (RR)
Round Robin (RR) scheduling allocates a fixed time slice to each process in turn, cycling through all processes repeatedly.
Process Management short questions
What is process management in an OS?
ImportantWhat are the states of a process?
ImportantWhat is the difference between a process and a thread?
ImportantWhat are interrupts, and how does the CPU respond to one?
ImportantWhat is a deadlock, and how does it occur in an operating system?
ImportantState five differences between a process and a thread.
ImportantWhat is a process in an OS?
Process Management long questions
How operating system manages applications? Explain five states of a process with diagram.
ImportantWhat is process management and explain various stages of process
Important