Question 117Asked in BPSC TRE 3.0 (2024) Computer Science Class 11-12

Thread shares with other threads belonging to the same process its

  1. Athread ID
  2. Bprogram counter
  3. Ccode section and data section
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (C) code section and data section

Explanation

Threads of the same process share the code section, the data section and OS resources such as open files. Each thread has its own thread ID, program counter, registers and stack.

From BPSC TRE 3.0 (2024) Computer Science Class 11-12 — Previous Year Paper

This is question 117 of BPSC TRE 3.0 (2024) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.