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

  1. Q1

    Which of the following is NOT one of the five states of a process?

    1. AReady
    2. BRunning
    3. CCompiling
    4. DTerminated
    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.

  2. Q2

    A process that has finished executing enters which state?

    1. AStart State
    2. BReady State
    3. CBlocked State
    4. DTerminated State
    Show answer

    Correct answer: D. Terminated State

    When a process completes its execution, it moves into the Terminated state.

  3. Q3

    What is the key difference between a process and a thread?

    1. AA thread is a subset of a process and can share its resources and memory space
    2. BA process is a subset of a thread
    3. CThreads always run in completely separate memory spaces from each other
    4. DThreads are controlled directly by the operating system, not the programmer
    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.

  4. Q4

    What is a deadlock in an operating system?

    1. AWhen a process executes faster than expected
    2. BWhen two or more processes are each waiting indefinitely for a resource held by the other
    3. CWhen a process terminates with an error
    4. DWhen available memory runs out completely
    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.

  5. Q5

    What handles a CPU event, such as an incoming email, that needs the CPU's immediate attention?

    1. AA deadlock
    2. BAn interrupt
    3. CA process scheduler
    4. DA thread
    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).

  6. Q6

    Which state represents a process that is ready for execution but is waiting to be assigned to the processor?

    1. AStart State
    2. BRunning State
    3. CReady State
    4. DBlocked State
    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.

  7. Q7

    What is the main purpose of a process scheduler?

    1. ATo manage file operations
    2. BTo manage CPU utilization by controlling the execution order of processes
    3. CTo manage memory allocation
    4. DTo manage network resources
    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.

  8. Q8

    What is the main purpose of interrupts in an operating system?

    1. ATo speed up overall CPU processing permanently
    2. BTo slow down CPU processing intentionally
    3. CTo handle events that need the CPU's immediate attention
    4. DTo manage network connections only
    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.

  9. Q9

    Which scheduling algorithm assigns CPU time to each process in fixed time slices, in a cyclic order?

    1. AFirst-Come First-Served (FCFS)
    2. BShortest Job Next (SJN)
    3. CPriority Scheduling
    4. DRound Robin (RR)
    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

  1. What is process management in an OS?

    Important
  2. What are the states of a process?

    Important
  3. What is the difference between a process and a thread?

    Important
  4. What are interrupts, and how does the CPU respond to one?

    Important
  5. What is a deadlock, and how does it occur in an operating system?

    Important
  6. State five differences between a process and a thread.

    Important
  7. What is a process in an OS?

Process Management long questions

  1. How operating system manages applications? Explain five states of a process with diagram.

    Important
  2. What is process management and explain various stages of process

    Important

Chapter 1 study material

A little trouble connecting

We could not reach IlmiDunya. Your connection may be slow or interrupted. Check your connection and try again.

If you were saving or submitting, check the result before trying again.

Account blocked

You are blocked from using IlmiDunya. Contact support to unblock your account.