Which statement correctly describes the relationship between a process's address space and threads within that process?

Prepare for the Fundamentals of Computing Test. Study with flashcards and multiple choice questions, each featuring hints and thorough explanations. Get exam-ready!

Multiple Choice

Which statement correctly describes the relationship between a process's address space and threads within that process?

Explanation:
A process gets its own virtual address space, isolated from other processes, and all threads inside that process run in that same address space, sharing code, data, and heap. Each thread has its own stack for its local variables and return addresses, but they all access the same process memory space. This combination—a per-process virtual address space with threads sharing that memory—is what the statement describes. Threads do not have separate address spaces, and saying both share the same memory model is too vague to capture the concrete relationship.

A process gets its own virtual address space, isolated from other processes, and all threads inside that process run in that same address space, sharing code, data, and heap. Each thread has its own stack for its local variables and return addresses, but they all access the same process memory space. This combination—a per-process virtual address space with threads sharing that memory—is what the statement describes. Threads do not have separate address spaces, and saying both share the same memory model is too vague to capture the concrete relationship.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy