OS · Processes & Threads interview questions

48 OS · Processes & Threads questions from the Computer Science Fundamentals bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Sign up free to see every answer with its explanation and ask the AI tutor.

Practice OS · Processes & Threads free

1. What is Process?

Junior
  1. A.a passive set of instructions stored on disk that becomes a process only when loaded and run
  2. B.an optimization where parent and child share pages after fork until one writes, then the page is copied
  3. C.a thread the kernel creates and schedules directly, allowing true parallelism across multiple cores
  4. D.a program in execution with its own address space, code, data, stack and a PCB

Answer + AI explanation with a free account

2. Which term means: "a program in execution with its own address space, code, data, stack and a PCB"?

Junior
  1. A.Thread vs process cost
  2. B.Inter-process communication
  3. C.Process
  4. D.exec()

Answer + AI explanation with a free account

3. Which statement is correct?

Junior
  1. A.Process — a program in execution with its own address space, code, data, stack and a PCB
  2. B.Process — mechanisms like pipes, message queues and shared memory that let separate processes exchange data
  3. C.Process — a still-running child whose parent has terminated, so it gets adopted by the init process
  4. D.Process — a thread the kernel creates and schedules directly, allowing true parallelism across multiple cores

Answer + AI explanation with a free account

4. What is Thread?

Junior
  1. A.the pure-overhead CPU time spent saving and restoring registers during a switch, doing no useful work
  2. B.a system call that creates a new child process as a near-duplicate copy of the calling parent
  3. C.the smallest unit of execution within a process that shares the process code, data and open files
  4. D.saving the state of one process and loading another so the CPU can switch between them

Answer + AI explanation with a free account

5. Which term means: "the smallest unit of execution within a process that shares the process code, data and open files"?

Junior
  1. A.Thread
  2. B.Program
  3. C.Copy-on-write
  4. D.Orphan process

Answer + AI explanation with a free account

6. Which statement is correct?

Junior
  1. A.Thread — an optimization where parent and child share pages after fork until one writes, then the page is copied
  2. B.Thread — mechanisms like pipes, message queues and shared memory that let separate processes exchange data
  3. C.Thread — the smallest unit of execution within a process that shares the process code, data and open files
  4. D.Thread — a passive set of instructions stored on disk that becomes a process only when loaded and run

Answer + AI explanation with a free account

7. What is Program?

Junior
  1. A.a passive set of instructions stored on disk that becomes a process only when loaded and run
  2. B.a system call that creates a new child process as a near-duplicate copy of the calling parent
  3. C.the smallest unit of execution within a process that shares the process code, data and open files
  4. D.a kernel data structure storing a process's PID, state, registers, program counter and memory limits

Answer + AI explanation with a free account

8. Which term means: "a passive set of instructions stored on disk that becomes a process only when loaded and run"?

Junior
  1. A.Inter-process communication
  2. B.Program
  3. C.Context switch overhead
  4. D.Zombie process

Answer + AI explanation with a free account

9. Which statement is correct?

Junior
  1. A.Program — the lifecycle of new, ready, running, waiting and terminated through which a process transitions
  2. B.Program — a still-running child whose parent has terminated, so it gets adopted by the init process
  3. C.Program — a passive set of instructions stored on disk that becomes a process only when loaded and run
  4. D.Program — a system call that creates a new child process as a near-duplicate copy of the calling parent

Answer + AI explanation with a free account

10. What is Process Control Block?

Junior
  1. A.a kernel data structure storing a process's PID, state, registers, program counter and memory limits
  2. B.a system call that replaces a process's current memory image with a new program
  3. C.mechanisms like pipes, message queues and shared memory that let separate processes exchange data
  4. D.a terminated child whose exit status has not yet been collected by its parent via wait()

Answer + AI explanation with a free account

11. Which term means: "a kernel data structure storing a process's PID, state, registers, program counter and memory limits"?

Junior
  1. A.Zombie process
  2. B.Context switch
  3. C.Process Control Block
  4. D.Context switch overhead

Answer + AI explanation with a free account

12. Which statement is correct?

Junior
  1. A.Process Control Block — a thread the kernel creates and schedules directly, allowing true parallelism across multiple cores
  2. B.Process Control Block — a kernel data structure storing a process's PID, state, registers, program counter and memory limits
  3. C.Process Control Block — an optimization where parent and child share pages after fork until one writes, then the page is copied
  4. D.Process Control Block — the lifecycle of new, ready, running, waiting and terminated through which a process transitions

Answer + AI explanation with a free account

13. What is Process states?

Junior
  1. A.a system call that replaces a process's current memory image with a new program
  2. B.the lifecycle of new, ready, running, waiting and terminated through which a process transitions
  3. C.a program in execution with its own address space, code, data, stack and a PCB
  4. D.the smallest unit of execution within a process that shares the process code, data and open files

Answer + AI explanation with a free account

14. Which term means: "the lifecycle of new, ready, running, waiting and terminated through which a process transitions"?

Junior
  1. A.Process states
  2. B.Thread
  3. C.Kernel-level thread
  4. D.Process Control Block

Answer + AI explanation with a free account

15. Which statement is correct?

Junior
  1. A.Process states — the lifecycle of new, ready, running, waiting and terminated through which a process transitions
  2. B.Process states — saving the state of one process and loading another so the CPU can switch between them
  3. C.Process states — the pure-overhead CPU time spent saving and restoring registers during a switch, doing no useful work
  4. D.Process states — a terminated child whose exit status has not yet been collected by its parent via wait()

Answer + AI explanation with a free account

16. What is Context switch?

Mid
  1. A.saving the state of one process and loading another so the CPU can switch between them
  2. B.a still-running child whose parent has terminated, so it gets adopted by the init process
  3. C.a passive set of instructions stored on disk that becomes a process only when loaded and run
  4. D.a system call that creates a new child process as a near-duplicate copy of the calling parent

Answer + AI explanation with a free account

17. Which term means: "saving the state of one process and loading another so the CPU can switch between them"?

Mid
  1. A.Thread vs process cost
  2. B.Context switch
  3. C.Context switch overhead
  4. D.Program

Answer + AI explanation with a free account

18. Which statement is correct?

Mid
  1. A.Context switch — the principle that switching threads of one process is cheaper because the address space need not change
  2. B.Context switch — a thread the kernel creates and schedules directly, allowing true parallelism across multiple cores
  3. C.Context switch — saving the state of one process and loading another so the CPU can switch between them
  4. D.Context switch — an optimization where parent and child share pages after fork until one writes, then the page is copied

Answer + AI explanation with a free account

19. What is Context switch overhead?

Mid
  1. A.the lifecycle of new, ready, running, waiting and terminated through which a process transitions
  2. B.a still-running child whose parent has terminated, so it gets adopted by the init process
  3. C.mechanisms like pipes, message queues and shared memory that let separate processes exchange data
  4. D.the pure-overhead CPU time spent saving and restoring registers during a switch, doing no useful work

Answer + AI explanation with a free account

20. Which term means: "the pure-overhead CPU time spent saving and restoring registers during a switch, doing no useful work"?

Mid
  1. A.Thread
  2. B.Context switch
  3. C.Context switch overhead
  4. D.Copy-on-write

Answer + AI explanation with a free account

21. Which statement is correct?

Mid
  1. A.Context switch overhead — the lifecycle of new, ready, running, waiting and terminated through which a process transitions
  2. B.Context switch overhead — the pure-overhead CPU time spent saving and restoring registers during a switch, doing no useful work
  3. C.Context switch overhead — a kernel data structure storing a process's PID, state, registers, program counter and memory limits
  4. D.Context switch overhead — a thread the kernel creates and schedules directly, allowing true parallelism across multiple cores

Answer + AI explanation with a free account

22. What is fork()?

Junior
  1. A.a kernel data structure storing a process's PID, state, registers, program counter and memory limits
  2. B.a system call that creates a new child process as a near-duplicate copy of the calling parent
  3. C.a thread the kernel creates and schedules directly, allowing true parallelism across multiple cores
  4. D.the smallest unit of execution within a process that shares the process code, data and open files

Answer + AI explanation with a free account

23. Which term means: "a system call that creates a new child process as a near-duplicate copy of the calling parent"?

Junior
  1. A.fork()
  2. B.Process Control Block
  3. C.Context switch overhead
  4. D.Program

Answer + AI explanation with a free account

24. Which statement is correct?

Junior
  1. A.fork() — a system call that creates a new child process as a near-duplicate copy of the calling parent
  2. B.fork() — a system call that replaces a process's current memory image with a new program
  3. C.fork() — the smallest unit of execution within a process that shares the process code, data and open files
  4. D.fork() — a passive set of instructions stored on disk that becomes a process only when loaded and run

Answer + AI explanation with a free account

25. What is exec()?

Junior
  1. A.a system call that replaces a process's current memory image with a new program
  2. B.an optimization where parent and child share pages after fork until one writes, then the page is copied
  3. C.a thread managed entirely by a user library that the kernel is unaware of, switching without kernel help
  4. D.the smallest unit of execution within a process that shares the process code, data and open files

Answer + AI explanation with a free account

26. Which term means: "a system call that replaces a process's current memory image with a new program"?

Junior
  1. A.Orphan process
  2. B.Process states
  3. C.Context switch
  4. D.exec()

Answer + AI explanation with a free account

27. Which statement is correct?

Junior
  1. A.exec() — the pure-overhead CPU time spent saving and restoring registers during a switch, doing no useful work
  2. B.exec() — a system call that replaces a process's current memory image with a new program
  3. C.exec() — a thread managed entirely by a user library that the kernel is unaware of, switching without kernel help
  4. D.exec() — the lifecycle of new, ready, running, waiting and terminated through which a process transitions

Answer + AI explanation with a free account

28. What is Zombie process?

Mid
  1. A.an optimization where parent and child share pages after fork until one writes, then the page is copied
  2. B.a thread the kernel creates and schedules directly, allowing true parallelism across multiple cores
  3. C.saving the state of one process and loading another so the CPU can switch between them
  4. D.a terminated child whose exit status has not yet been collected by its parent via wait()

Answer + AI explanation with a free account

29. Which term means: "a terminated child whose exit status has not yet been collected by its parent via wait()"?

Mid
  1. A.Inter-process communication
  2. B.exec()
  3. C.Zombie process
  4. D.Process Control Block

Answer + AI explanation with a free account

30. Which statement is correct?

Mid
  1. A.Zombie process — the pure-overhead CPU time spent saving and restoring registers during a switch, doing no useful work
  2. B.Zombie process — a terminated child whose exit status has not yet been collected by its parent via wait()
  3. C.Zombie process — a thread the kernel creates and schedules directly, allowing true parallelism across multiple cores
  4. D.Zombie process — a thread managed entirely by a user library that the kernel is unaware of, switching without kernel help

Answer + AI explanation with a free account

Showing 30 of 48 OS · Processes & Threads questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a free readiness check

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.

Practice OS · Processes & Threads free
24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers