1
GATE CSE 2024 Set 1
MCQ (More than One Correct Answer)
+1
-0.33

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

A

Threads can only be implemented in kernel space

B

Each thread has its own file descriptor table for open files

C

All the threads belonging to a process share a common stack

D

Threads belonging to a process are by default not protected from each other

2
GATE CSE 2019
Numerical
+1
-0.33
Consider three concurrent processes P1, P2 and P3 as shown below, which access a shared variable D that has been initialized to 100. GATE CSE 2019 Operating Systems - Synchronization and Concurrency Question 7 English The process are executed on a uniprocessor system running a time-shared operating system. If the minimum and maximum possible values of D after the three processes have completed execution are X and Y respectively, then the value of Y–X is _________.
Your input ____
3
GATE CSE 2015 Set 1
MCQ (Single Correct Answer)
+1
-0.3
A file is organized so that the ordering of data records is the same as or close to the ordering of data entries in some index. Then that index is called
A
Dense
B
Sparse
C
Clustered
D
Unclustered
4
GATE CSE 2015 Set 1
Numerical
+1
-0
The following two functions P1 and P2 that share a variable B with an initial value of 2 execute concurrently.
P1( ) {
  C = B – 1;
  B = 2 * C;
}


P2( ) {
  D = 2 * B;
  B = D - 1;
}
The number of distinct values that B can possibly take after the execution is___________.
Your input ____
GATE CSE Subjects
Software Engineering
Web Technologies
EXAM MAP
Medical
NEET
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
CBSE
Class 12