Which of the following statements about thread is false?

2019

Which of the following statements about thread is false?

Answer: D. All threads in a process share stackThreads are lightweight processes, every process has at least one thread, and each thread has its own program counter. Threads in the same process share…

  1. A.

    Thread is a lightweight process

  2. B.

    Every process has at least 1 thread

  3. C.

    Each thread has its own Program Counter

  4. D.

    All threads in a process share stack

Attempted by 205 students.

Show answer & explanation

Correct answer: D

Threads are lightweight processes, every process has at least one thread, and each thread has its own program counter. Threads in the same process share code/data resources, but each thread has its own stack, so the shared-stack statement is false.

Explore the full course: Niacl Ao It Specialist

Loading lesson…