← Quiz: Threads and Context Switching: all 10 questions
Quiz: Threads and Context Switching · Question 1 of 10
Which of these does each thread of a process have its OWN copy of?
Which of these does each thread of a process have its OWN copy of?
- A.Heap
- B.Global variables
- C.Stack
- D.Open files
Answer & explanation
Correct answer: Stack
Each thread needs its own stack for its function calls and local variables.
Can you get the rest right without peeking?
Take the timed Quiz: Threads and Context Switching quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →