• GATE Crash CourseExplore
  • Process Lifecycle and Management

    Last Updated :
    Discuss
    Comments

    Question 1

    What is a process in an operating system?

    • A

      A block of code stored on disk

    • B

      A function in the OS

    • C

      A program in execution

    • D

      A thread waiting for CPU

    Question 2

    Which section of process memory holds executable instructions?

    • A

      Stack

    • B

      Data

    • C

      Heap

    • D

      Text

    Question 3

    Where are function parameters and local variables stored in memory?

    • A

      Heap

    • B

      PCB

    • C

      Stack

    • D

      Data segment

    Question 4

    What is the main purpose of the Process Control Block (PCB)?

    • A

      Stores only file descriptors

    • B

      Holds all key info about a process

    • C

      Identifies deadlocks

    • D

      Only tracks process memory

    Question 5

    Which process state refers to a process waiting for I/O?

    • A

      Ready

    • B

      Running

    • C

      Suspended Ready

    • D

      Waiting (or Blocked)

    Question 6

    Which system call is used in UNIX/Linux to create a new process?

    • A

      exec()

    • B

      fork()

    • C

      createProcess()

    • D

      exit()

    Question 7

    In a single processor system, how many processes can be in the Running state at a time?

    • A

      0

    • B

      1

    • C

      2

    • D

      Unlimited

    Question 8

    Which criterion refers to the number of processes completed per unit time?

    • A

      Turnaround time

    • B

      Response time

    • C

      Throughput

    • D

      Waiting time

    Question 9

    Turnaround time is calculated as:

    • A

      Completion time – Arrival time

    • B

      Waiting time + CPU burst time

    • C

      Start time – Arrival time

    • D

      Completion time – Waiting time

    Question 10

    What scheduling criterion should be minimized for batch systems?

    • A

      Response time

    • B

      Turnaround time

    • C

      Context switches

    • D

      Arrival time

    There are 10 questions to complete.

    Take a part in the ongoing discussion