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
0
votes
2
answers
1
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
by
Sourin Kundu
144
views
operating-system
process
1
vote
0
answers
2
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
172
views
operating-system
process
multilevel
0
votes
0
answers
3
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 can ... 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
57
views
missing-videos
go-classroom
free-videos
video-links
process
0
votes
2
answers
4
#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
569
views
threads
operating-system
process
1
vote
0
answers
5
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
283
views
test-series
operating-system
cpu
process-scheduling
process
0
votes
1
answer
6
#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
260
views
threads
operating-system
process
0
votes
1
answer
7
#threads
Does kernel level threads have separate PCB(process control block)?
jayadev
asked
in
Operating System
Dec 6, 2021
by
jayadev
207
views
threads
operating-system
process
0
votes
1
answer
8
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?
Lakshman Bhaiya
asked
in
Operating System
Oct 25, 2019
by
Lakshman Bhaiya
799
views
tanenbaum
operating-system
process-and-threads
process
descriptive
0
votes
2
answers
9
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
300
views
process-state
process
0
votes
1
answer
10
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
359
views
operating-system
process
paging
virtual-memory
0
votes
3
answers
11
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
752
views
operating-system
process
process-scheduling
0
votes
0
answers
12
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
253
views
galvin
operating-system
process
descriptive
0
votes
0
answers
13
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
279
views
galvin
operating-system
process
programming
0
votes
0
answers
14
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
260
views
galvin
operating-system
process
descriptive
0
votes
0
answers
15
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
262
views
galvin
operating-system
process
descriptive
1
vote
0
answers
16
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
534
views
galvin
operating-system
process
programming
0
votes
1
answer
17
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
2.9k
views
galvin
operating-system
process
programming
0
votes
1
answer
18
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.2k
views
galvin
operating-system
process
programming
0
votes
0
answers
19
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
315
views
galvin
operating-system
process
descriptive
0
votes
0
answers
20
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.0k
views
galvin
operating-system
process
descriptive
0
votes
1
answer
21
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
199
views
galvin
operating-system
process
descriptive
0
votes
1
answer
22
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
287
views
galvin
operating-system
process
descriptive
0
votes
0
answers
23
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
275
views
galvin
operating-system
process
descriptive
0
votes
0
answers
24
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
262
views
galvin
operating-system
process
descriptive
0
votes
0
answers
25
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
175
views
galvin
operating-system
process
descriptive
0
votes
0
answers
26
Galvin Edition 9 Exercise 3 Question 4 (Page No. 150)
The Sun UltraSPARC processor has multiple register sets. Describe what happens when a context switch occurs if the new context is already loaded into one of the register sets. What happens if the new context is in memory rather than in a register set and all the register sets are in use ?
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
180
views
galvin
operating-system
process
descriptive
0
votes
0
answers
27
Galvin Edition 9 Exercise 3 Question 3 (Page No. 150)
Original versions of Apple’s mobile iOS operating system provided no means of concurrent processing. Discuss three major complications that concurrent processing adds to an operating system.
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
269
views
galvin
operating-system
process
descriptive
1
vote
1
answer
28
Galvin Edition 9 Exercise 3 Question 2 (Page No. 149-150)
Including the initial parent process, how many processes are created by the following program. #include <stdio.h> #include <unistd.h> int main() { fork(); fork(); fork(); return 0; }
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
273
views
galvin
operating-system
process
programming
0
votes
1
answer
29
Galvin Edition 9 Exercise 3 Question 1 (Page No. 149)
#include <sys/types.h> #include <stdio.h> #include <unistd.h> int value = 5; int main() { pid t pid; pid = fork(); if (pid == 0) { /* child process */ value += 15; return 0; } else if (pid > 0) { /* ... ;PARENT: value = %d",value); /* LINE A */ return 0; } } Explain what the output will be at LINE A in this program.
akash.dinkar12
asked
in
Operating System
Mar 19, 2019
by
akash.dinkar12
743
views
galvin
operating-system
process
programming
fork-system-call
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
IIITA M.TECH IT COMPLETE EXPLANATION FROM ADMISSION TO PLACEMENT
GO Classes NIELIT Test Series For 2023
Interview Experience : MTech Research(Machine Learning) at IIT Mandi
DRDO Scientist -B
ISRO Scientist-B 2023
Subjects
All categories
General Aptitude
(2.8k)
Engineering Mathematics
(9.8k)
Digital Logic
(3.4k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.7k)
Non GATE
(1.4k)
Others
(2.5k)
Admissions
(667)
Exam Queries
(1.0k)
Tier 1 Placement Questions
(17)
Job Queries
(77)
Projects
(9)
Unknown Category
(867)
Recent questions tagged process
Recent Blog Comments
This story is same like my tier 3 college btech...
@Nikhil_dhamaHi , now i am in 2nd semester...
You can attempt now:...
where is the free test link ? how i can attempt...
Left with 10days, nothing heard back from them,...