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
Recent questions tagged process
7
votes
1
answer
1
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 during the context switch: E1: The stack pointer ... atomic hardware instruction. The relative ordering of E1 and E2 can vary from one context switch to the other.
GO Classes
asked
in
Operating System
Feb 5
by
GO Classes
475
views
goclasses2024-mockgate-14
operating-system
context-switch
process
1-mark
0
votes
0
answers
2
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 zero. Asynchronous are the one that ... exceptions? For example we have ZeroDivisionError or FileNotFoundError and all. Ref: Signal Handling from Galvin OS book
tbhaxor
asked
in
Operating System
Feb 1
by
tbhaxor
95
views
operating-system
process
0
votes
0
answers
3
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
asked
in
Operating System
Dec 4, 2023
by
tishhaagrawal
375
views
gate-preparation
operating-system
made-easy-test-series
process-scheduling
self-doubt
test-series
process
1
vote
1
answer
4
Made Easy Test Series
Rahhul A
asked
in
Operating System
Oct 1, 2023
by
Rahhul A
425
views
made-easy-test-series
operating-system
process-synchronization
process
2-marks
0
votes
2
answers
5
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
asked
in
Operating System
Jan 24, 2023
by
Sourin Kundu
402
views
operating-system
process
3
votes
0
answers
6
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 Priority P1 2 0 60 P2 1. 1 60 P3 3. 2 60 Also prepare a gantt chart for the following..
rdxrohit
asked
in
Operating System
Dec 31, 2022
by
rdxrohit
583
views
operating-system
process
multilevel
0
votes
0
answers
7
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 playlist and add to GO classroom video lists. You ... standard ones are more likely to be selected as best. For the full list of selected videos please see here
makhdoom ghaya
asked
in
Study Resources
Aug 20, 2022
by
makhdoom ghaya
157
views
missing-videos
go-classroom
free-videos
video-links
process
0
votes
3
answers
8
#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 the above program prints 'GATE' is_?
jayadev
asked
in
Operating System
Feb 1, 2022
by
jayadev
968
views
threads
operating-system
process
1
vote
0
answers
9
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 of all the processes can proceed in parallel. The absolute difference of CPU utilization (over a long period of time) using FCFS and Round Robin (time quantum 10ms) for this system is _____ %
LRU
asked
in
Operating System
Dec 14, 2021
by
LRU
374
views
test-series
operating-system
cpu
process-scheduling
process
0
votes
1
answer
10
#threads
Why the operating system has the knowledge about kernel level threads but not about user level threads?
jayadev
asked
in
Operating System
Dec 7, 2021
by
jayadev
437
views
threads
operating-system
process
1
vote
1
answer
11
#threads
Does kernel level threads have separate PCB(process control block)?
jayadev
asked
in
Operating System
Dec 6, 2021
by
jayadev
383
views
threads
operating-system
process
0
votes
1
answer
12
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
asked
in
Operating System
Oct 25, 2019
by
admin
973
views
tanenbaum
operating-system
process-and-threads
process
descriptive
0
votes
2
answers
13
Self Doubt Process State
For a process the termination state lies in which memory? Main or Secondary memory?
shubhojit1412
asked
in
Operating System
Jun 7, 2019
by
shubhojit1412
379
views
process-state
process
0
votes
1
answer
14
Stallings Book Doubt-Process
Which part of the process image forms the logical address space that is used in paging?
aditi19
asked
in
Operating System
May 26, 2019
by
aditi19
508
views
operating-system
process
paging
virtual-memory
0
votes
3
answers
15
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 process arrives in the ready queue, according to the algorithm the running process must be prempted, who actually does this job of interrupting the running process?
Saideepak Bejawada
asked
in
Operating System
Apr 9, 2019
by
Saideepak Bejawada
943
views
operating-system
process
process-scheduling
0
votes
0
answers
16
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 communication b. Automatic and explicit buffering c. Send by copy and send by reference d. Fixed-sized and variable-sized messages
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
382
views
galvin
operating-system
process
descriptive
0
votes
0
answers
17
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 5 int nums[SIZE] = {0,1,2,3,4}; int main() { int i; pid t pid; pid = fork( ... (i = 0; i < SIZE; i++) printf("PARENT: %d ",nums[i]); /* LINE Y */ } return 0; }
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
408
views
galvin
operating-system
process
programming
0
votes
0
answers
18
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. Describe possible uses for a mechanism that has neither of these guarantees.
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
407
views
galvin
operating-system
process
descriptive
0
votes
0
answers
19
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 ordinary pipes.
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
344
views
galvin
operating-system
process
descriptive
2
votes
0
answers
20
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.) #include <sys/types.h> #include <stdio.h> #include <unistd. ... pid); /* C */ printf("parent: pid1 = %d",pid1); /* D */ wait(NULL); } return 0; }
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
689
views
galvin
operating-system
process
programming
0
votes
1
answer
21
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 <unistd.h> int main() { pid t pid ... will wait for the child to complete */ wait(NULL); printf("Child Complete"); } return 0; }
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
3.5k
views
galvin
operating-system
process
programming
0
votes
1
answer
22
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; i++) fork(); return 0; }
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
1.7k
views
galvin
operating-system
process
programming
0
votes
0
answers
23
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
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
375
views
galvin
operating-system
process
descriptive
1
vote
0
answers
24
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 information about the ps command.The task manager ... the parent process ID, but the process monitor tool, available from technet.microsoft.com, provides a process-tree tool.
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
1.3k
views
galvin
operating-system
process
descriptive
0
votes
1
answer
25
Galvin Edition 9 Exercise 3 Question 9 (Page No. 151)
Describe the actions taken by a kernel to context-switch between processes.
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
265
views
galvin
operating-system
process
descriptive
0
votes
1
answer
26
Galvin Edition 9 Exercise 3 Question 8 (Page No. 151)
Describe the differences among short-term, medium-term, and long term scheduling.
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
437
views
galvin
operating-system
process
descriptive
0
votes
0
answers
27
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
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
330
views
galvin
operating-system
process
descriptive
0
votes
0
answers
28
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 sent back to the client is lost due to a network problem? Describe the sequence of messages, and discuss whether “exactly once” is still preserved.
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
347
views
galvin
operating-system
process
descriptive
0
votes
0
answers
29
Galvin Edition 9 Exercise 3 Question 5 (Page No. 150)
When a process creates a new process using the fork() operation, which of the following states is shared between the parent process and the child process ? a. Stack b. Heap c. Shared memory segments
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
226
views
galvin
operating-system
process
descriptive
Page:
1
2
3
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
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:...