Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged process
585
views
1
answers
7
votes
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 23
Consider the context switch of a CPU from the context of process P1 to that of process P2.Consider the following two events in the chronological order of the events durin...
GO Classes
585
views
GO Classes
asked
Feb 5
Operating System
goclasses2024-mockgate-14
operating-system
context-switch
process
1-mark
+
–
129
views
0
answers
0
votes
What is the difference between synchronous and asynchronous signals?
A process can receive two kinds of signals classified based on the source and reason.Synchronous are the one that are generated by illegal memory access or division by ze...
tbhaxor
129
views
tbhaxor
asked
Feb 1
Operating System
operating-system
process
+
–
492
views
0
answers
0
votes
MadeEasy Test Series 2024 - In this question they have asked about the number of context switches that are happening. (Excluding the first and the last context switch). I am getting the answer as 5, according to the answer key it should be 6. I am not pre-empting process P when Q arrives as P has a higher priority than Q, in the solutions they have done the exact opposite, can anyone please tell me whether my approach is correct or I am missing onto something.
tishhaagrawal
492
views
tishhaagrawal
asked
Dec 4, 2023
Operating System
gate-preparation
operating-system
made-easy-test-series
process-scheduling
self-doubt
test-series
process
+
–
491
views
1
answers
1
votes
Made Easy Test Series
Rahhul A
491
views
Rahhul A
asked
Oct 1, 2023
Operating System
made-easy-test-series
operating-system
process-synchronization
process
2-marks
+
–
10.3k
views
1
answers
8
votes
GATE CSE 2023 | Question: 12
Which one or more of the following need to be saved on a context switch from one thread $\text{(T1)}$ of a process to another thread $\text{(T2)}$ of the same process?Pag...
admin
10.3k
views
admin
asked
Feb 15, 2023
Operating System
gatecse-2023
operating-system
process
multiple-selects
1-mark
+
–
437
views
2
answers
0
votes
Operating System(Process)
A process executes the following segment of code: int main(){fork();fork() && fork();}The number of new processes created is
Sourin Kundu
437
views
Sourin Kundu
asked
Jan 24, 2023
Operating System
operating-system
process
+
–
631
views
0
answers
3
votes
Multi Level Feedback Queue(UNIX-SVR3)
Consider the following set of processes, and schedule them using the Multi-levelf eedback queue CPU scheduling algorithm as used in UNIX SVR3.P's CB AT Base P...
rdxrohit
631
views
rdxrohit
asked
Dec 31, 2022
Operating System
operating-system
process
multilevel
+
–
169
views
0
answers
0
votes
Best Open Video Playlist for Processes Topic | Operating Systems
Please list out the best free available video playlist for Processes from Operating Systems as an answer here (only one playlist per answer). We'll then select the best p...
makhdoom ghaya
169
views
makhdoom ghaya
asked
Aug 20, 2022
Study Resources
missing-videos
go-classroom
free-videos
video-links
process
+
–
1.0k
views
3
answers
0
votes
#fork #threads
Consider the following program segment of C-programming language:#include<stdio.h int main() { if (fork() || fork()) fork(); printf("GATE\n"); return 0; } Number of times...
jayadev
1.0k
views
jayadev
asked
Feb 1, 2022
Operating System
threads
operating-system
process
+
–
391
views
0
answers
1
votes
Applied Mock Test
A uniprocessor computer system has three processes, which alternate 20ms CPU bursts with 80ms I/O bursts. All the processes were created at nearly the same time. The I/O ...
LRU
391
views
LRU
asked
Dec 14, 2021
Operating System
test-series
operating-system
cpu
process-scheduling
process
+
–
456
views
1
answers
0
votes
#threads
Why the operating system has the knowledge about kernel level threads but not about user level threads?
jayadev
456
views
jayadev
asked
Dec 7, 2021
Operating System
threads
operating-system
process
+
–
396
views
1
answers
1
votes
#threads
Does kernel level threads have separate PCB(process control block)?
jayadev
396
views
jayadev
asked
Dec 6, 2021
Operating System
threads
operating-system
process
+
–
1.0k
views
1
answers
0
votes
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 41 (Page No. 177)
Can a measure of whether a process is likely to be CPU bound or I/O bound be determined by analyzing source code? How can this be determined at run time?
admin
1.0k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process
descriptive
+
–
401
views
2
answers
0
votes
Self Doubt Process State
For a process the termination state lies in which memory? Main or Secondary memory?
shubhojit1412
401
views
shubhojit1412
asked
Jun 7, 2019
Operating System
process-state
process
+
–
532
views
1
answers
0
votes
Stallings Book Doubt-Process
Which part of the process image forms the logical address space that is used in paging?
aditi19
532
views
aditi19
asked
May 26, 2019
Operating System
operating-system
process
paging
virtual-memory
+
–
1.0k
views
3
answers
0
votes
self doubt - process concepts
Consider we have a cpu whose processes are scheduled using premptive priority scheduling algorithm, suppose a process of higher priority than the currently running proces...
Saideepak Bejawada
1.0k
views
Saideepak Bejawada
asked
Apr 9, 2019
Operating System
operating-system
process
process-scheduling
+
–
415
views
0
answers
0
votes
Galvin Edition 9 Exercise 3 Question 18 (Page No. 153)
What are the benefits and the disadvantages of each of the following ? Consider both the system level and the programmer level.a. Synchronous and asynchronous communicati...
akash.dinkar12
415
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
descriptive
+
–
456
views
0
answers
0
votes
Galvin Edition 9 Exercise 3 Question 17 (Page No. 153)
Using the program shown below, explain what the output will be at lines X and Y.#include <sys/types.h>#include <stdio.h>#include <unistd.h>#define SIZE 5int nums[SIZE] = ...
akash.dinkar12
456
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
programming
+
–
426
views
0
answers
0
votes
Galvin Edition 9 Exercise 3 Question 16 (Page No. 153)
Consider the RPC mechanism. Describe the undesirable consequences that could arise from not enforcing either the “at most once” or “exactly once” semantic. Descri...
akash.dinkar12
426
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
descriptive
+
–
380
views
0
answers
0
votes
Galvin Edition 9 Exercise 3 Question 15 (Page No. 153)
Give an example of a situation in which ordinary pipes are more suitable than named pipes and an example of a situation in which named pipes are more suitable than ordina...
akash.dinkar12
380
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
descriptive
+
–
739
views
0
answers
2
votes
Galvin Edition 9 Exercise 3 Question 14 (Page No. 152)
Using the program in Figure 3.34, identify the values of pid at lines A, B, C, and D. (Assume that the actual pids of the parent and child are 2600 and 2603, respectively...
akash.dinkar12
739
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
programming
+
–
3.7k
views
1
answers
0
votes
Galvin Edition 9 Exercise 3 Question 13 (Page No. 152)
Explain the circumstances under which which the line of code marked printf("LINE J") in following program will be reached.#include <sys/types.h>#include <stdio.h>#include...
akash.dinkar12
3.7k
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
programming
+
–
1.9k
views
1
answers
0
votes
Galvin Edition 9 Exercise 3 Question 12 (Page No. 152)
Including the initial parent process, how many processes are created by the program shown below- #include <stdio.h>#include <unistd.h>int main(){int i;for (i = 0; i < 4; ...
akash.dinkar12
1.9k
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
programming
+
–
395
views
0
answers
0
votes
Galvin Edition 9 Exercise 3 Question 11 (Page No. 152)
Explain the role of the init process on UNIX and Linux systems in regard to process termination.
akash.dinkar12
395
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
descriptive
+
–
1.3k
views
0
answers
1
votes
Galvin Edition 9 Exercise 3 Question 10 (Page No. 151-152)
Construct a process tree similar to Figure 3.8. To obtain process information for the UNIX or Linux system, use the command ps -ael.Use the command man ps to get more inf...
akash.dinkar12
1.3k
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
descriptive
+
–
297
views
1
answers
0
votes
Galvin Edition 9 Exercise 3 Question 9 (Page No. 151)
Describe the actions taken by a kernel to context-switch between processes.
akash.dinkar12
297
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
descriptive
+
–
513
views
1
answers
0
votes
Galvin Edition 9 Exercise 3 Question 8 (Page No. 151)
Describe the differences among short-term, medium-term, and long term scheduling.
akash.dinkar12
513
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
descriptive
+
–
344
views
0
answers
0
votes
Galvin Edition 9 Exercise 3 Question 7 (Page No. 150)
Assume that a distributed system is susceptible to server failure. What mechanisms would be required to guarantee the “exactly once” semantic for execution of RPCs?
akash.dinkar12
344
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
descriptive
+
–
362
views
0
answers
0
votes
Galvin Edition 9 Exercise 3 Question 6 (Page No. 150)
Consider the “exactly once”semantic with respect to the RPC mechanism. Does the algorithm for implementing this semantic execute correctly even if the ACK message sen...
akash.dinkar12
362
views
akash.dinkar12
asked
Mar 19, 2019
Operating System
galvin
operating-system
process
descriptive
+
–
Page:
1
2
3
4
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register