The main issue with semaphores is the busy loop in the signal() which eats CPU cycles without
accomplishing anything useful
accomplishing anything useful
Anonymous Quiz
56%
F
44%
T
semaphore implementation with no busy waiting there’s an associated waiting queue
Anonymous Quiz
71%
T
29%
F
remove one of processes in the waiting queue and place it in the ready queue
Anonymous Quiz
15%
block
85%
wakeup
place the process invoking the operation on the appropriate waiting queue
Anonymous Quiz
92%
block
8%
wakeup
two or more processes are waiting indefinitely for an event that can be caused by only one of the
waiting processes
waiting processes
Anonymous Quiz
84%
Deadlock
12%
Starvation
4%
Priority Inversion
A process may never be removed from the semaphore queue in which it is suspended
Anonymous Quiz
33%
Priority Inversion
52%
Starvation
15%
Deadlock
Mutual exclusion can be provided by the....
Anonymous Quiz
20%
mutex locks
8%
counting semaphores
68%
both of them
4%
neither of them
Derived Channel
Mutual exclusion can be provided by the....
السؤال دا عليه جدل فلو أمكن حد يوضحلنا هل ال counting تقدر تقوم بدور ال binary المقصود في السؤال فعلا؟
A …. system allows another process to use the CPU when the current process has to wait for I/O,
thereby making full use of otherwise lost CPU cycles.
thereby making full use of otherwise lost CPU cycles.
Anonymous Quiz
17%
operating
83%
scheduling
in a multi-processor system only one process can run at a time. Other processes must wait until the
CPU is free and can be rescheduled
CPU is free and can be rescheduled
Anonymous Quiz
25%
T
75%
F
selects from among the processes in ready queue, and allocates the CPU to one of them
Anonymous Quiz
89%
short-term scheduler
11%
long-term scheduler
When a process switches from running to waiting state – This scheduling is
Anonymous Quiz
37%
preemptive
63%
nonpreemptive
When a process switches from running to ready state – This scheduling is
Anonymous Quiz
86%
preemptive
14%
nonpreemptive
When a process switches from waiting to ready state – This scheduling is
Anonymous Quiz
27%
nonpreemptive
73%
preemptive
time it takes for the dispatcher to stop one process and start another running
Anonymous Quiz
16%
Dispatch time
80%
Dispatch latency
4%
Dispatch periodic
time required for a particular process to complete, from submission time to completion
Anonymous Quiz
7%
Waiting time
11%
Response time
16%
Burst time
5%
Arrival time
61%
Turnaround time
Exit time - Arrival time
Anonymous Quiz
3%
Arrival time
73%
Turnaround time
7%
Burst time
10%
Response time
7%
Waiting time