1
GATE CSE 2024 Set 1
MCQ (More than One Correct Answer)
+1
-0
Which of the following statements about threads is/are TRUE?
2
GATE CSE 2019
Numerical
+1
-0
Consider three concurrent processes P1, P2 and P3 as shown below, which access a shared variable D that has been initialized to 100.
The processes 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
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 ____
Questions Asked from Synchronization and Concurrency (Marks 1)
Number in Brackets after Paper Indicates No. of Questions
GATE CSE Subjects
Theory of Computation
Operating Systems
Algorithms
Database Management System
Data Structures
Computer Networks
Software Engineering
Compiler Design
Web Technologies
General Aptitude
Discrete Mathematics
Programming Languages