GateAI
Processes, Threads and IPC

GATE CSE 2024 Set 1 · Q24

MSQ1 markEasy

Time

Which of the following statements about threads is/are TRUE?

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: D) Threads belonging to a process are by default not protected from each other

Processes, Threads and IPC

Let us examine each statement about threads:

  • (A) is False: Threads can be implemented in user space (User-Level Threads / ULT), kernel space (Kernel-Level Threads / KLT), or as a hybrid combination of both.

  • (B) is False: All threads belonging to the same process share the process's open file table and file descriptor table.

  • (C) is False: Each thread has its own independent stack to maintain its function call frames, local variables, and return addresses, although they share the heap, data, and code segments.

  • (D) is True: Threads within a process share the same address space, so by default there is no hardware or OS-level memory protection between threads of the same process; any thread can read or modify another thread's accessible memory.

Therefore, only statement D is TRUE.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Processes, Threads and IPC previous year question is Q24 of the GATE CSE 2024 Set 1 paper. Find more GATE CSE PYQs on Processes, Threads and IPC in Operating Systems, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Processes, Threads and IPC PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Processes, Threads and IPC in GATE CSE

Processes, Threads and IPC has 15 GATE CSE PYQs across 13 papers from 2011 to 2026. 4 of them are 1-mark MSQs like this one, and GATE CSE 2024 Set 1 has 2.

How GATE tests Processes, Threads and IPC

More from GATE CSE 2024 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2024 Set 1 · Q24 · MSQ

Which of the following statements about threads is/are TRUE?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.