Skip to content
Early access — you're among the first to try PYQLabs. Share feedback
Concept drill

threads

GATE CSE & IT · Operating Systems - Concurrency and Synchronization · 1999-2024

13
PYQs
92%
keyed
0
elite explanations
8
years appeared

Study anchor

Source-book anchor pending for this concept.

Practice action

Start latest PYQ

PYQs in this concept

All concepts →
2024 Q24

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

mediumanswer key
2024 Q40

Consider the following two threads T1 and T2 that update two shared variables a and b. Assume that initially a = b = 1. Though context switching between threads can happen at any t...

hardanswer key
2024 Q46

Consider a multi-threaded program with two threads T1 and T2. The threads share two semaphores: s1 (initialized to 1) and s2 (initialized to 0). The threads also share a global var...

mediumanswer key
2024 PYQ

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

easyanswer keybasic explanation
2024 PYQ

Consider the following two threads T1 and T2 that update two shared variables a and b. Assume that initially $a = 1$ and $b = 1$. Though context switching between threads can happe...

mediumanswer keybasic explanation
2024 PYQ

Consider a multi-threaded program with two threads T1 and T2. The threads share two semaphores: s1 (initialized to 1) and s2 (initialized to 0). The threads also share a global var...

mediumanswer keybasic explanation
2023 PYQ

Which one or more of the following need to be saved on a context switch from one thread (T1) of a process to another thread (T2) of the same process?

easyanswer keybasic explanation
2017 Q7

Which of the following is/are shared by all the threads in a process? I. Program counter II. Stack III. Address space IV. Registers

mediumanswer key
2014 PYQ

Which one of the following is FALSE?

easyanswer key
2011 PYQ

A thread is usually defined as a ''light weight process'' because an operating system $$(OS)$$ maintains smaller data structures for a thread than for a process. In relation to thi...

easyanswer keybasic explanation
2007 PYQ

Consider the following statements about user level threads and kernel level threads. Which one of the following statements is FALSE?

easyanswer key
2004 PYQ

Consider the following statements with respect to user-level threads and kernel-supported threads. i) Context switch is faster with kernel- supported threads ii) For user-level thr...

mediumanswer keybasic explanation
1999 PYQ

Listed below are some operating system abstractions (in the left column) and the hardware components. Which matching pairs is correct? $$\,\,\,\,\,\,\,\,\,\,$$$$\,\,\,\,\,\,\,\,\,\...

easy