engineering computer science MCQ #1235

What is the difference between a process and a thread?

engineering computer science MCQ #1235

  1. Question 1

    Q1. What is the difference between a process and a thread?

    • A) A process is a lightweight thread
    • B) A thread is a lightweight process
    • C) A process is used for I/O operations, while a thread is used for CPU-intensive tasks
    • D) A process is used for CPU-intensive tasks, while a thread is used for I/O operations

    Answer: A thread is a lightweight process

    Explanation: A thread is a lightweight process that shares the same memory space as other threads within a process, making it more efficient for concurrent execution.