1. Home
  2. Computer Science MCQs
  3. Operating Systems
  4. Which of these do threads of the same process share?

Added 2 Nov 2026

Which of these do threads of the same process share?

  1. Nothing; each thread has private memory
  2. Their individual call stacks
  3. Program counter and registers
  4. Code, data and heap memory Correct answer

Correct answer

D. Code, data and heap memory

11 views

MCQSEXAM

Explanation

Threads share the process's address space (code, global data, heap and open files), which makes communication fast. Each thread has its own stack, registers and program counter.

Reference

Asked in: GATE CS, NTS, PPSC

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Operating Systems MCQs

Practise all Operating Systems MCQs

Similar MCQs