Skip to content
MCQtimes.com
GK
Pakistan Studies
Current Affairs
Islamic Studies
English
MCQtimes.com
Toggle Menu
OS The Linux System
Home
/
Computer Science
/
Operating System
/
OS The Linux System
- Page 5
Show/Hide Answers
OS The Linux System
Thread pools are useful when ____________
when we need to limit the number of threads running in the application at the same time
when we need to limit the number of threads running in the application as a whole
when we need to arrange the ordering of threads
none of the mentioned
Author:
rikazzz
Comment
OS The Linux System
In question 2, if the number of page frames is increased to 4, then the number of page transfers ____________
decreases
increases
remains the same
none of the mentioned
Author:
rikazzz
Comment
OS The Linux System
What is the idea behind thread pools?
a number of threads are created at process startup and placed in a pool where they sit and wait for work
when a process begins, a pool of threads is chosen from the many existing and each thread is allotted equal amount of work
all threads in a pool distribute the task equally among themselves
none of the mentioned
Author:
rikazzz
Comment
OS The Linux System
Termination of the process terminates ___________
first thread of the process
first two threads of the process
all threads within the process
no thread within the process
Author:
rikazzz
Comment
OS The Linux System
_________ replacement allows each process to only select from its own set of allocated frames.
Local
Universal
Global
Public
Author:
rikazzz
Comment
OS The Linux System
Which algorithm chooses the page that has not been used for the longest period of time whenever the page required to be replaced?
first in first out algorithm
additional reference bit algorithm
least recently used algorithm
counting based page replacement algorithm
Author:
rikazzz
Comment
OS The Linux System
The valid – invalid bit, in this case, when valid indicates?
the page is not legal
the page is illegal
the page is in memory
the page is not in memory
Author:
rikazzz
Comment
OS The Linux System
The usual effect of abnormal termination of a program is ____________
core dump file generation
system crash
program switch
signal destruction
Author:
rikazzz
Comment
OS The Linux System
Which one of the following is not shared by threads?
program counter
stack
both program counter and stack
none of the mentioned
Author:
rikazzz
Comment
OS The Linux System
What is the Optimal page – replacement algorithm?
Replace the page that has not been used for a long time
Replace the page that has been used for a long time
Replace the page that will not be used for a long time
None of the mentioned
Author:
rikazzz
Comment
Page navigation
Previous Page
Previous
1
…
3
4
5
6
7
…
15
Next Page
Next
Go to Page
Light
Dark
GK
Pakistan Studies
Current Affairs
Islamic Studies
English