Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Process Synchronization
Recent questions tagged process-synchronization
0
votes
1
answer
1
OS, Process Scheduling
Consider a uniprocessor system with n processes in the ready queue. Round robin scheduling with time quantum x is used for process scheduling. Assume each process requires kx seconds to complete and the context switch takes 0 seconds. At what time the first process will complete the execution? (assume all the variables as integers). A) nkx B) k(nx-1) C) k(nk+n) D) x(nk-n+1)
delxbydelt
asked
in
Operating System
Mar 15
by
delxbydelt
169
views
process-scheduling
operating-system
round-robin-scheduling
context-switch
process-synchronization
2
votes
1
answer
2
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 37
Suppose that an operating system provides two functions, block() which puts the calling process on the blocked queue, and wakeup(P) which moves process P to the ready queue if it is currently on the blocked queue. ... alternation printing ABABAB . A and B will always run forever with strick alternation printing BABABA . None of these
GO Classes
asked
in
Operating System
Feb 5
by
GO Classes
394
views
goclasses2024-mockgate-14
operating-system
process-synchronization
deadlock-prevention-avoidance-detection
2-marks
4
votes
1
answer
3
GO Classes Test Series 2024 | Mock GATE | Test 13 | Question: 49
We want to use semaphores to implement a shared critical section (CS) among three threads $\mathrm{T} 1$, $\mathrm{T} 2$, and $\mathrm{T} 3$ ... What is the minimum number of binary semaphores we need in order to enforce this ordering?
GO Classes
asked
in
Operating System
Jan 28
by
GO Classes
373
views
goclasses2024-mockgate-13
goclasses
numerical-answers
operating-system
process-synchronization
semaphore
2-marks
0
votes
1
answer
4
Semaphores
Can a counting semaphore acquire a negative value? S = 2; 15 P operations done, should the semaphore be 0 or -13
Mrityudoot
asked
in
Operating System
Jan 27
by
Mrityudoot
166
views
semaphore
operating-system
process-synchronization
6
votes
1
answer
5
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 8
Consider the following program execution involving 2 threads accessing the shared variable a which has been initialised to $0.$ Which of the following statement(s) is/are correct? Both threads will never finish execution ... threads will always finish execution Either both threads will finish, or none of them of will finish execution
GO Classes
asked
in
Operating System
Jan 21
by
GO Classes
551
views
goclasses2024-mockgate-12
goclasses
operating-system
process-synchronization
threads
1-mark
4
votes
0
answers
6
GO Classes Test Series 2024 | Mock GATE | Test 11 | Question: 45
Consider the scenario where $\text{L}$ is a shared variable which is a pointer to the head of a linked list originally containing three nodes with keys $3, 4,$ and $5.$ Consider the function List_Insert() which is being used by two concurrent threads $\text{T}1$ ... are separated by commas. $6,3,4,5$ $6,2,3,4,5$ $2,6,3,4,5$ $2,3,4,5$
GO Classes
asked
in
Operating System
Jan 13
by
GO Classes
323
views
goclasses2024-mockgate-11
goclasses
operating-system
process-synchronization
threads
multiple-selects
2-marks
0
votes
0
answers
7
ISRO 2024
Purpose of priority inheritance protocol in synchronization mechanisms is: To prevent priority inversion in systems having two or lesser priorities for a resource To provide mutual exclusion between threads and prevent data corruption To prevent priority inversion and ensure fairness in resource allocation To allow multiple threads to access any resource simultaneously
Ramayya
asked
in
Operating System
Jan 7
by
Ramayya
222
views
operating-system
process-synchronization
0
votes
2
answers
8
ISRO 2024
In a producer-consumer scenario, also known as Bounded-Buffer problem, what would be the most appropriate synchronization primitive to ensure that the consumer waits when the buffer is empty? Spinlock Mutex lock Semaphore Monitors
Ramayya
asked
in
Operating System
Jan 7
by
Ramayya
383
views
isro-2024
operating-system
process-synchronization
0
votes
0
answers
9
Anonymous Doubt
What is the meaning of Sychronization of Bits? It is a feature of Physical Layer .
Harshil245405
asked
in
Computer Networks
Oct 16, 2023
by
Harshil245405
138
views
computer-networks
process-synchronization
1
vote
1
answer
10
Made Easy Test Series
Rahhul A
asked
in
Operating System
Oct 1, 2023
by
Rahhul A
409
views
made-easy-test-series
operating-system
process-synchronization
process
2-marks
0
votes
1
answer
11
syncronization
Consider two processes P1, P2 that access shared binary semaphore variables – S1, S2, S3. Given below is the concurrent execution of these process – here deadlock is possible or not and why? Assume, initially S1 = 1, S2 = 1 and S3 = 1.
24aaaa23
asked
in
Operating System
Oct 1, 2023
by
24aaaa23
510
views
operating-system
deadlock-prevention-avoidance-detection
process-synchronization
0
votes
1
answer
12
process synchronization
How to approach synchronization (specifically semaphore) question, there size are really intimidating and i’m unable to decode the code written? What to do??
N3314nch41
asked
in
Operating System
Sep 10, 2023
by
N3314nch41
336
views
process-synchronization
operating-system
semaphore
critical-section
self-doubt
Page:
1
2
3
4
5
6
...
16
next »
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent questions tagged process-synchronization
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...