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 12
Show/Hide Answers
OS The Linux System
When a program tries to access a page that is mapped in address space but not loaded in physical memory, then ____________
segmentation fault occurs
fatal error occurs
page fault occurs
no error occurs
Author:
rikazzz
Comment
OS The Linux System
Which of the following calls never returns an error?
getpid
fork
ioctl
open
Author:
rikazzz
Comment
OS The Linux System
The _______ maintains pending and blocked bit vectors in the context of each process.
CPU
Memory
Process
Kernel
Author:
rikazzz
Comment
OS The Linux System
Segment replacement algorithms are more complex than page replacement algorithms because ____________
Segments are better than pages
Pages are better than segments
Segments have variable sizes
Segments have fixed sizes
Author:
rikazzz
Comment
OS The Linux System
Optimal page – replacement algorithm is difficult to implement, because ____________
it requires a lot of information
it requires future knowledge of the reference string
it is too complex
it is extremely expensive
Author:
rikazzz
Comment
OS The Linux System
When is the Many to One model at an advantage?
When the program does not need multithreading
When the program has to be multi-threaded
When there is a single processor
None of the mentioned
Author:
rikazzz
Comment
OS The Linux System
= 10, then the working set at time t1 (….7 5 1) is?
{1, 2, 4, 5, 6}
{2, 1, 6, 7, 3}
{1, 6, 5, 7, 2}
{1, 2, 3, 4, 5}
Author:
rikazzz
Comment
OS The Linux System
The model in which one kernel thread is mapped to many user-level threads is called ___________
Many to One model
One to Many model
Many to Many model
One to One model
Author:
rikazzz
Comment
OS The Linux System
Multithreading on a multi – CPU machine ___________
decreases concurrency
increases concurrency
doesn’t affect the concurrency
can increase or decrease the concurrency
Author:
rikazzz
Comment
OS The Linux System
If multiple threads are concurrently searching through a database and one thread returns the result then the remaining threads must be ____________
continued
cancelled
protected
none of the mentioned
Author:
rikazzz
Comment
Page navigation
Previous Page
Previous
1
…
10
11
12
13
14
15
Next Page
Next
Go to Page
Light
Dark
GK
Pakistan Studies
Current Affairs
Islamic Studies
English