Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Operating System
Recent questions tagged operating-system
0
votes
0
answers
121
os linux scheduling
Let the base priority of a system be 130 and the nice value provided is -10. What is the time slice that the process gets in the O(1) scheduling algorithm? if it should be 300 or 400.
Let the base priority of a system be 130 and the nice value provided is -10. What is the time slice that the process gets in the O(1) scheduling algorithm?if it should be...
roopkathaaa
364
views
roopkathaaa
asked
Aug 30, 2023
Operating System
scheduling
operating-system
+
–
0
votes
1
answer
122
Do implementing non preemptive scheduling requires hardware support?
Let’s take an example if I am scheduling processes in CPU using FCFS with IO Burst Time, then there will be context switching that requires hardware support. But my Teacher said Non-preemptive Algo’s don’t require hardware support.
Let’s take an example if I am scheduling processes in CPU using FCFS with IO Burst Time, then there will be context switching that requires hardware support. But my Tea...
vedantk
395
views
vedantk
asked
Aug 25, 2023
Operating System
operating-system
process-scheduling
+
–
0
votes
1
answer
123
NPTEL : Synchronisation (semaphore)
In a certain application, the initial value of a counting semaphore s is 10. The following operations were completed on the semaphore in the given order 5P, 20P, 2V, 18P, 5V, 10P, 1V. The new value of counting semaphore is _____________ ?
In a certain application, the initial value of a counting semaphore s is 10. The following operations were completed on the semaphore in the given order 5P, 20P, 2V, 18P,...
roopkathaaa
1.3k
views
roopkathaaa
asked
Aug 25, 2023
Operating System
operating-system
semaphore
+
–
0
votes
1
answer
124
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. Your response would be: That might not satisfy the progress ... the mutual exclusion requirement That might not satisfy the bounded wait requirement I guess that would suffice.
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
357
views
roopkathaaa
asked
Aug 25, 2023
Operating System
operating-system
process-synchronization
+
–
0
votes
2
answers
125
Memory Management And Paging
Can Any explain the relationship between The “ Word Size “ and “ Logical Address Space “
Can Any explain the relationship between The “ Word Size “ and “ Logical Address Space “
Unique_999
320
views
Unique_999
asked
Aug 17, 2023
Operating System
operating-system
paging
memory-management
+
–
0
votes
2
answers
126
When a process is in the "new state," the Process Control Block (PCB) for that process is created or not?
pkd360
796
views
pkd360
asked
Jul 30, 2023
Operating System
operating-system
+
–
1
votes
1
answer
127
UGC NET CSE | June 2023 | Part 2: 22
Consider the following table of arrival time and burst time for three processes $\text{P0,P1 P2}$: Process arrival time Burst time $\text{P0}$ $0 \mathrm{~ms}$ $7$ $\text{P1}$ $1 \mathrm{~ms}$ $3$ $\text{P2}$ $2 \mathrm{~ms}$ $7$ The pre-emptive ... waiting time for the three processes? $3 \mathrm{~ms}$ $3.67 \mathrm{~ms}$ $4.47 \mathrm{~ms}$ $4 \mathrm{~ms}$
Consider the following table of arrival time and burst time for three processes $\text{P0,P1 P2}$:Processarrival timeBurst time$\text{P0}$$0 \mathrm{~ms}$$7$$\text{P1}$$1...
admin
697
views
admin
asked
Jul 28, 2023
Operating System
ugcnetcse-june2023-paper2
operating-system
process-scheduling
+
–
0
votes
1
answer
128
OS handout
Consider three Processes P1 , P2, P3 arriving in the Ready Queue at time 0 in the order P1, P2, P3 Their service time requirements are 10, 20 & 30 units respectively. Each Process spends 20% of its Service time on I/O followed by 70% ... . Assuming Concurrent I/O and negligible Scheduling Overhead. Calculate for FCFS Scheduling (i) Average TAT of Processes (2)% CPU idleness.
Consider three Processes P1 , P2, P3 arriving in the Ready Queue at time 0 in the order P1, P2, P3 Their service time requirements are 10, 20 & 30 units respectively. Eac...
Aniket1710
2.0k
views
Aniket1710
asked
Jul 25, 2023
Operating System
process-scheduling
operating-system
+
–
0
votes
2
answers
129
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
801
views
shivajikobardan
asked
Jul 22, 2023
Operating System
operating-system
deadlock-prevention-avoidance-detection
process-synchronization
critical-section
mutual-exclusion
+
–
0
votes
1
answer
130
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 T Thread U main () { int cnt; cnt = counter; cnt = ... always print $1$ it sometimes print $0$ and sometimes print $1$ it sometimes print $1$ and sometimes print $2$
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
385
views
Venomking
asked
Jul 21, 2023
Operating System
process-synchronization
operating-system
+
–
0
votes
1
answer
131
Self doubt
Like other allocation techniques, does Overlaying technique uses MMU? And how address translation takes place and security is maintained in Overlaying ?
Like other allocation techniques, does Overlaying technique uses MMU? And how address translation takes place and security is maintained in Overlaying ?
Shivateja MST
183
views
Shivateja MST
asked
Jul 13, 2023
Operating System
self-doubt
operating-system
+
–
0
votes
2
answers
132
Unacademy practice question from OS
#include <stdio.h> void main() { int i = 3; while(i>0) { i--; if(fork()||fork()) { printf("Hi"); } } } How many times “Hi” will be printed ?? #include <stdio.h> void main() { int i = 2; while(i>0) { i--; if(fork()||fork()) { printf("Hi"); } } } How many times “Hi” will be printed ??
#include <stdio.h>void main(){ int i = 3; while(i>0) { i ; if(fork()||fork()) { printf("Hi"); } }}How many times “Hi�...
vivek1211
877
views
vivek1211
asked
Jul 5, 2023
Operating System
operating-system
fork-system-call
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
...
114
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register