Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Process Synchronization
Recent questions tagged process-synchronization
0
0 votes
1
1 answer
715
715 views
NPTEL : Introduction to Operating System
Your friend wants to design synchronization primitives and tells you that he would be better off by strictly ensuring that the processes alternate the critical section. Y...
roopkathaaa
715
views
asked
Aug 25, 2023
Operating System
operating-system
process-synchronization
+
–
0
0 votes
2
2 answers
716
716 views
UGC NET CSE | June 2023 | Part 2: 52
Given below are two statements: one is labelled as Assertion $\text{A}$ and the other is labelled as Reason $\text{R}$.Assertion $\text{A}$: A process involves a library ...
admin
716
views
asked
Jul 28, 2023
Operating System
ugcnetcse-june2023-paper2
process-synchronization
threads
process
+
–
0
0 votes
0
0 answers
545
545 views
UGC NET CSE | June 2023 | Part 2: 53
Match List I with List IIList IList IIA. Critical regionI. Hoare's monitorB. Wait/signalII. Mutual exclusionC. Working setIII. Principle of localityD. DeadlockIV. Circula...
admin
545
views
asked
Jul 28, 2023
Operating System
ugcnetcse-june2023-paper2
process-synchronization
deadlock-prevention-avoidance-detection
virtual-memory
+
–
0
0 votes
1
1 answer
729
729 views
UGC NET CSE | June 2023 | Part 2: 68
At a particular time of computation, the value of a counting semaphore is $7$. Then $20 \mathrm{p}$ operations and ' $\mathrm{x}$ ' $\mathrm{V}$ operations were completed...
admin
729
views
asked
Jul 28, 2023
Operating System
ugcnetcse-june2023-paper2
process-synchronization
semaphore
+
–
0
0 votes
2
2 answers
2.2k
2.2k views
What's the standard technique to test if the algorithm satisfies mutual exclusion, progress and bounded waiting or not?
Sorry if this is a stupid question. But it really intrigued me. Same resources at different algorithms are telling different ways to test these stuffs.Here's an algorith...
shivajikobardan
2.2k
views
asked
Jul 22, 2023
Operating System
operating-system
deadlock-prevention-avoidance-detection
process-synchronization
critical-section
mutual-exclusion
+
–
0
0 votes
1
answers
1 answer
711
711 views
This was the question in gate at zeel basic sheet of os (2022)
The answer is not given as (d), does pre emotion do not work in threads?Consider the following two-thread program, where initially value of integer counter = $0$ :Thread ...
Venomking
711
views
asked
Jul 21, 2023
Operating System
process-synchronization
operating-system
+
–
0
0 votes
1
1 answer
697
697 views
UGCNET CSE December 2022: 19
Consider an operating system capable of loading and executing a single sequential user process at a time. The disk head scheduling algorithm used is first come first serv...
admin
697
views
asked
May 20, 2023
Operating System
ugcnetcse-dec2022
operating-system
disk-scheduling
process-synchronization
+
–
0
0 votes
1
1 answer
626
626 views
UGCNET CSE December 2022: 52
In design protocol of critical section problem, each process must ask permission to enter critical section in ________ code; it then executes in the critical section; onc...
admin
626
views
asked
May 20, 2023
Others
ugcnetcse-dec2022
process-synchronization
critical-section
+
–
0
0 votes
1
1 answer
567
567 views
UGCNET CSE December 2022: 70
Match $\text{List I}$ with $\text{List II}$$\text{List I}$$\text{List II}$$\text{A}$. IPC$\text{I}$. Resource Allocation$\text{B}$. Demand Paging$\text{II}$. Computationa...
admin
567
views
asked
May 20, 2023
Operating System
ugcnetcse-dec2022
operating-system
match-the-following
process-synchronization
virtual-memory
process-scheduling
resource-allocation
+
–
0
0 votes
1
1 answer
686
686 views
Synchronization problem on single processor cpu
Consider the following multi threaded code.volatile static int flag1= 0, flag2= 0; // code for thread 1 (or T1) flag1 = 1; if (flag2==0) code1(); // end of code for T1 //...
dd
686
views
asked
May 14, 2023
Operating System
operating-system
co-and-architecture
process-synchronization
+
–
0
0 votes
0
0 answers
603
603 views
Process Synchronization
In Interested variable we found out that thereMutual Exclusion is guaranteed .Deadlock is also guaranteedSo because of deadlock can we say there is no Bounded Waiting as ...
N3314nch41
603
views
asked
Apr 29, 2023
Operating System
operating-system
process-synchronization
+
–
1
1 vote
2
2 answers
1.2k
1.2k views
process synchronization
Which of the following statements is false?a) Disjoint processes need not use critical sectionb) Programs with critical sections can never be use simultaneously by more t...
practicalmetal
1.2k
views
asked
Apr 17, 2023
Operating System
process-synchronization
critical-section
+
–
0
0 votes
2
answers
2 answers
1.0k
1.0k views
process synchronization
A wait operation on a semaphore should not occur within a critical section controlled by that semaphore because:a) A deadlock will occurb) A semaphore is not a shared var...
practicalmetal
1.0k
views
asked
Apr 17, 2023
Operating System
process-synchronization
operating-system
+
–
1
1 vote
2
2 answers
1.2k
1.2k views
GO Classes 2024 | IIITH Mock Test 2 | Question: 75
Consider the following pseudo‐code for a process $\textsf{Pi},$ where $\textsf{“shared boolean flag ”}$ is a variable declared in shared memory, initialized as:flag[0] = ...
GO Classes
1.2k
views
asked
Apr 7, 2023
Operating System
goclasses2023-iiith-mock-11
goclasses
operating-system
process-synchronization
critical-section
multiple-selects
one-mark
+
–
0
0 votes
1
1 answer
1.3k
1.3k views
Abraham Silberschatz, Greg Gagne, Peter B. Galvin - Operating System Concepts-Wiley (2018), PART TWO PROCESS MANAGEMENT, Chapter 5 CPU Scheduling, Pg. 202.
Please read below passage from 10th edition Operating System Concepts, pg. 202:5.1.3 Preemptive and Nonpreemptive SchedulingCPU-scheduling decisions may take place under ...
Nam14
1.3k
views
asked
Apr 5, 2023
Operating System
operating-system
process-synchronization
galvin
+
–
0
0 votes
1
1 answer
2.9k
2.9k views
GATE CSE 2023 | Memory Based Question: 19
incr(){ wait(s) x = x+1 signal(s) } decr() { wait(s) x = x–1 signal(s) }Shared integer variable $\mathrm{x}$ initialized with $10.$There are five thread...
GO Classes
2.9k
views
asked
Feb 5, 2023
Operating System
memorybased-gatecse2023
goclasses
operating-system
process-synchronization
binary-semaphore
+
–
14
14 votes
5
5 answers
2.1k
2.1k views
GO Classes CS Test Series | Mock GATE | Test 4 | Question: 58
Consider the following task graph and given task lengths (in time units). The unspecified $x$ and $y$ are non-negative numbers.Each edge $\mathrm{Ti} \rightarrow \mathrm{...
GO Classes
2.1k
views
asked
Jan 19, 2023
Operating System
goclasses_cs_mockgate_4
goclasses
operating-system
process-synchronization
two-marks
+
–
1
1 vote
1
1 answer
609
609 views
#Self doubt
Since Dealock No Progressthen Does Progess No Deadlockbcoz contrapositive should be true.
yuvrajeyes
609
views
asked
Dec 31, 2022
Operating System
operating-system
process-synchronization
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
...
19
next »