Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged process
0
votes
1
answer
61
Resource preemption
Which of the following transitions are not possible? (Assume resource preemption is not allowed) A) 2 and 4 B) 3 and 5 C)4 and 5 D)3 and 5 if resource preemption is not allowed then answer should be A) but answer given is D) how it is possible?
Which of the following transitions are not possible? (Assume resource preemption is not allowed)A) 2 and 4B) 3 and 5C)4 and 5D)3 and 5if resource preemption is not allowe...
reena_kandari
2.2k
views
reena_kandari
asked
Sep 29, 2017
Operating System
operating-system
process
+
–
0
votes
1
answer
62
threads
Multi-threaded application cannot take advantage of multiprocessing. What does this mean?
Multi-threaded application cannot take advantage of multiprocessing.What does this mean?
Parshu gate
1.2k
views
Parshu gate
asked
Sep 18, 2017
Operating System
threads
operating-system
process
+
–
2
votes
1
answer
63
can any one give detailed explanation of the question with answer ??
A user level process in Unix traps the signal sent on a Ctrl-C input, and has a signal handling routine that saves appropriate files before terminating the process. When a Ctrl-C input is given to this process ... routine executes? User mode Kernel mode Superuser mode Privileged mode Note : I know this is previous year question
A user level process in Unix traps the signal sent on a Ctrl-C input, and has a signal handling routine that saves appropriate files before terminating the process. When ...
hem chandra joshi
363
views
hem chandra joshi
asked
Aug 17, 2017
Operating System
unix
process
+
–
0
votes
1
answer
64
threads and subprocess
I am getting confused with the implementation of threads..... as we know if some task is assigned to process it can divide the task into subprocess and implement it efficiently...if it is so , why there is need of the concept multithreading? plz explain it clearly if possible
I am getting confused with the implementation of threads.....as we know if some task is assigned to process it can divide the task into subprocess and implement it effici...
vamp_vaibhav
535
views
vamp_vaibhav
asked
Aug 11, 2017
Operating System
threads
process
+
–
9
votes
2
answers
65
#THREADS
if(fork() && fork()) { fork(); } if(fork()||fork()) { fork(); fork(); } printf("XYZ"); How many time XYZ gets printed ?
if(fork() && fork()) {fork();}if(fork()||fork()) {fork();fork();}printf("XYZ");How many time XYZ gets printed ?
junaid ahmad
865
views
junaid ahmad
asked
Jul 13, 2017
Operating System
process
threads
+
–
11
votes
4
answers
66
#threads
int main() { if(fork() == 0) printf("GATE2018"); if(fork() == 0) printf("GATE2018"); } How many times GATE2018 printed?
int main() { if(fork() == 0) printf("GATE2018"); if(fork() == 0) printf("GATE2018"); }How many times GATE2018 printed?
junaid ahmad
1.0k
views
junaid ahmad
asked
Jul 13, 2017
Operating System
process
threads
+
–
0
votes
1
answer
67
Process
1.Can any one tell me few examples of "new" and "ready" process? 2.What kind of process "a.out" is? Is it a new process or just a program on secondary memory?
1.Can any one tell me few examples of "new" and "ready" process?2.What kind of process "a.out" is? Is it a new process or just a program on secondary memory?
Prince Kumar 1
497
views
Prince Kumar 1
asked
Apr 28, 2017
Operating System
process
process-state
+
–
10
votes
3
answers
68
user and kernel mdoe
can anyone tell what are different activities that are performed in kernel mode user mode how to change frm user mode to kernel mode and vice-versa,,
can anyone tell what are different activities that are performed in kernel modeuser modehow to change frm user mode to kernel mode and vice-versa,,
Akriti sood
2.5k
views
Akriti sood
asked
Dec 20, 2016
Operating System
operating-system
threads
process
+
–
1
votes
1
answer
69
MadeEasy Test Series: Operating System - Process
Q. A process spends 25% of its time waiting for I/O to complete. if 3 process in memory at a time, then the probability of CPU utilized(assume all I/O process are overlapped) is...................... so here 2 solution plz check first one why not correct 1. 1 - [ (3C1 * ... (.75)^2 + (3C2 *(.25)^2* (.75) + (3C3 *(.25)^3* ) 2. 1 - [ (3C3 *(.25)^3* ) ]
Q. A process spends 25% of its time waiting for I/O to complete. if 3 process in memory at a time, then the probability of CPU utilized(assume all I/O process are overlap...
Hradesh patel
648
views
Hradesh patel
asked
Nov 14, 2016
Operating System
made-easy-test-series
operating-system
process
probability
+
–
1
votes
1
answer
70
Ace Test Series: Operating System - Process
Which of the following information is not a part of process control block? a) CPU scheduling information b) CPU-stack pointer values c) CPU-timer information d) CPU- accumulator interrupt
Which of the following information is not a part of process control block?a) CPU scheduling informationb) CPU-stack pointer valuesc) CPU-timer informationd) CPU- accumula...
diksha kahensa
1.5k
views
diksha kahensa
asked
Oct 20, 2016
Operating System
ace-test-series
operating-system
process
+
–
3
votes
1
answer
71
Operating System
Consider a simple paging system with the following characteristics: a page table size of 64 entries of 11 bits (including valid/invalid bit )each and a page size of 512 bytes. (a) How many bits in the logical address specify the page number? (b) How many bits ... the size of logical address? (d) How many bits are there in physical address? (e) What is the size of physical address?
Consider a simple paging system with the following characteristics: a page table size of 64 entries of 11 bits (including valid/invalid bit )each and a page size of 512 b...
सुमित सिंह
4.7k
views
सुमित सिंह
asked
Sep 24, 2016
Operating System
paging
operating-system
process-scheduling
process
+
–
5
votes
2
answers
72
User|Kernel threads
Assume that process A has 3 user level threads and process B has 4 kernel-level threads. Consider while process A is running in CPU, process B is waiting in ready queue. If one of the thread in A is blocked then find status of A threads and B threads? A. ... A threads are blocked and B threads are not blocked. C. All B threads are blocked and A threads are not blocked. D. None.
Assume that process A has 3 user level threads and process B has 4 kernel-level threads. Consider while process A is running in CPU, process B is waiting in ready queue. ...
vijaycs
1.8k
views
vijaycs
asked
Sep 20, 2016
Operating System
threads
process
+
–
2
votes
0
answers
73
operating system - stack,heap,text,numerical
a process has 3 sections stack heap and text and if the size of the page table is 2 mb then on average amount of unused page space per process is?
a process has 3 sections stack heap and text and if the size of the page table is 2 mb then on average amount of unused page space per process is?
resilientknight
485
views
resilientknight
asked
Sep 2, 2016
Operating System
operating-system
process
+
–
3
votes
3
answers
74
ACE Grand Test 2003
Which of the following is/are an invalid process state transition a) timer start: ready --> running b) timer out : running --> blocked c) I/O : running --> ready d) resume: suspend --> runnig
Which of the following is/are an invalid process state transitiona) timer start: ready runningb) timer out : running blockedc) I/O : running readyd) resume: suspe...
Sankaranarayanan P.N
1.9k
views
Sankaranarayanan P.N
asked
Jul 26, 2016
Operating System
operating-system
process
+
–
2
votes
4
answers
75
UGC NET CSE | December 2014 | Part 2 | Question: 37
A specific editor has $200 K$ of program text, $15 K$ of initial stack, $50 K$ of initialized data, and $70 K$ of bootstrap code. If five editors are started simultaneously, how much physical memory is needed if shared text is used? $1135 K$ $335 K$ $1065 K$ $320 K$
A specific editor has $200 K$ of program text, $15 K$ of initial stack, $50 K$ of initialized data, and $70 K$ of bootstrap code. If five editors are started simultaneous...
makhdoom ghaya
1.7k
views
makhdoom ghaya
asked
Jul 22, 2016
Operating System
ugcnetcse-dec2014-paper2
operating-system
process
+
–
3
votes
2
answers
76
UGC NET CSE | June 2013 | Part 3 | Question: 63
Working set model is used in memory management to implement the concept of Swapping Principal of Locality Segmentation Thrashing
Working set model is used in memory management to implement the concept ofSwappingPrincipal of LocalitySegmentationThrashing
go_editor
2.9k
views
go_editor
asked
Jul 19, 2016
Operating System
ugcnetcse-june2013-paper3
operating-system
process
+
–
3
votes
7
answers
77
ISRO2011-55
There are three processes in the ready queue. When the currently running process requests for I/O how many process switches take place? 1 2 3 4
There are three processes in the ready queue. When the currently running process requests for I/O how many process switches take place?1234
jenny101
7.2k
views
jenny101
asked
Jun 18, 2016
Operating System
isro2011
operating-system
process
+
–
3
votes
3
answers
78
ISRO2009-76
Process is A program in high level language kept on disk Contents of main memory A program in execution A job in secondary memory
Process isA program in high level language kept on diskContents of main memoryA program in executionA job in secondary memory
go_editor
2.8k
views
go_editor
asked
Jun 15, 2016
Operating System
isro2009
operating-system
process
+
–
8
votes
2
answers
79
ISRO2008-64
Which of the following need not necessarily be saved on a Context Switch between processes? General purpose registers Translation look-aside buffer Program counter Stack pointer
Which of the following need not necessarily be saved on a Context Switch between processes?General purpose registersTranslation look-aside bufferProgram counterStack poin...
go_editor
4.1k
views
go_editor
asked
Jun 12, 2016
Operating System
isro2008
operating-system
process
+
–
6
votes
2
answers
80
ISRO2007-41
A task in a blocked state is executable is running must still be placed in the run queues is waiting for some temporarily unavailable resources
A task in a blocked stateis executableis runningmust still be placed in the run queuesis waiting for some temporarily unavailable resources
go_editor
3.1k
views
go_editor
asked
Jun 10, 2016
Operating System
isro2007
operating-system
process
+
–
4
votes
1
answer
81
ISRO2009-9
Which is the correct definition of a valid process transition in an operating system? Wake up: ready $\rightarrow$ running Dispatch: ready $\rightarrow$ running Block: ready $\rightarrow$ running Timer runout: $\rightarrow$ ready $\rightarrow$ running
Which is the correct definition of a valid process transition in an operating system?Wake up: ready $\rightarrow$ runningDispatch: ready $\rightarrow$ runningBlock: ready...
Desert_Warrior
4.8k
views
Desert_Warrior
asked
Jun 3, 2016
Operating System
isro2009
operating-system
process
+
–
3
votes
1
answer
82
ISRO2009-75
Special software to create a job queue is called a Driver Spooler Interpreter Linkage editor
Special software to create a job queue is called aDriverSpoolerInterpreterLinkage editor
Kanimozhi
4.4k
views
Kanimozhi
asked
Jun 1, 2016
Operating System
isro2009
operating-system
process
+
–
2
votes
2
answers
83
Explain what the output will be at line A.
#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 process */ wait(NULL); printf(“PARENT: value=%d”, value); /* LINE A */ return 0; } } What output will be at Line A?
#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; }...
milankamilya
6.0k
views
milankamilya
asked
May 24, 2016
Operating System
process
inter-process-communication
+
–
2
votes
5
answers
84
ISRO-2013-60
The state of a process after it encounters an $I/O$ instruction is? Ready Blocked Idle Running
The state of a process after it encounters an $I/O$ instruction is?ReadyBlockedIdle Running
makhdoom ghaya
7.0k
views
makhdoom ghaya
asked
May 2, 2016
Operating System
isro2013
operating-system
process
+
–
0
votes
1
answer
85
MadeEasy Test Series: Operating System - Process
A process spends 20% of its execution time waiting for completion of I/O operation. If there are 4 such processes in memory at once, then the probability of CPU time wasted is _. (Assuming all I/O operations are overlapped) Answer ... with waiting time 't', then probability of CPU time utilization is $t^{n}$. How is this formula coming?
A process spends 20% of its execution time waiting for completion of I/O operation. If there are 4 such processes in memory at once, then the probability of CPU time wast...
Utk
865
views
Utk
asked
Jan 16, 2016
Operating System
made-easy-test-series
operating-system
process
probability
+
–
5
votes
3
answers
86
What is executed by the processor? What is in ready queue? Process or thread?
Thread is a light-weight sub-process. If so, what is executed by the processor? Process or thread? If it is thread, why do we say that ready queue has processes? Should not we say that ready queue has threads? ... name of a process which is very small in size? What is actually the difference between these two? Thank you.
Thread is a light-weight sub-process. If so, what is executed by the processor? Process or thread? If it is thread, why do we say that ready queue has processes? Should n...
Aayush Mittal
1.6k
views
Aayush Mittal
asked
Jun 12, 2015
Operating System
process
threads
operating-system
+
–
29
votes
2
answers
87
GATE IT 2006 | Question: 13
The process state transition diagram of an operating system is as given below. Which of the following must be FALSE about the above operating system? It is a multiprogrammed operating system It uses preemptive scheduling It uses non-preemptive scheduling It is a multi-user operating system
The process state transition diagram of an operating system is as given below.Which of the following must be FALSE about the above operating system?It is a multiprogramme...
Ishrat Jahan
11.5k
views
Ishrat Jahan
asked
Oct 31, 2014
Operating System
gateit-2006
operating-system
normal
process
+
–
26
votes
1
answer
88
GATE CSE 1996 | Question: 1.18
The process state transition diagram in the below figure is representative of a batch operating system an operating system with a preemptive scheduler an operating system with a non-preemptive scheduler a uni-programmed operating system
The process state transition diagram in the below figure is representative ofa batch operating systeman operating system with a preemptive scheduleran operating system wi...
Kathleen
8.7k
views
Kathleen
asked
Oct 9, 2014
Operating System
gate1996
operating-system
normal
process
+
–
44
votes
5
answers
89
GATE CSE 2002 | Question: 2.21
Which combination of the following features will suffice to characterize an OS as a multi-programmed OS? More than one program may be loaded into main memory at the same time for execution If a program waits for certain events such as I/O, another program is immediately scheduled ... is immediately scheduled for execution. (a) (a) and (b) (a) and (c) (a), (b) and (c)
Which combination of the following features will suffice to characterize an OS as a multi-programmed OS?More than one program may be loaded into main memory at the same t...
Kathleen
12.8k
views
Kathleen
asked
Sep 15, 2014
Operating System
gatecse-2002
operating-system
normal
process
+
–
59
votes
4
answers
90
GATE CSE 2001 | Question: 2.20
Which of the following does not interrupt a running process? A device Timer Scheduler process Power failure
Which of the following does not interrupt a running process?A deviceTimerScheduler processPower failure
Kathleen
24.6k
views
Kathleen
asked
Sep 14, 2014
Operating System
gatecse-2001
operating-system
easy
process
+
–
Page:
« prev
1
2
3
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register