Computer/Operating%20System%20MCQ%20Set%2013 Sample Test,Sample questions

Question:
 A virtual memory system uses First In First Out (FIFO) page replacement policy and allocates a fixed number of frames to a process. Consider the following statements.
P : Increasing the number of page frames allocated to a process sometimes increases the page fault rate
Q : Some programs do not exhibit locality of reference
Which of the following is TRUE?

1. Both P and Q are true, and Q is the reason for P

2.Both P and Q are true, but Q is not the reason for P

3.P is false but Q is true

4.Both P and Q are false

Posted Date:-2022-03-28 09:01:56


Question:
 Cancellation point is the point where ______

1.the thread can be cancelled – safely or otherwise doesn’t matter

2. the thread can be cancelled safely

3.the whole process can be cancelled safely

4.None of the mentioned

Posted Date:-2022-03-28 08:19:06


Question:
 If multiple threads are concurrently searching through a database and one thread returns the result then the remaining threads must be ____

1.continued

2.cancelled

3. protected

4.None of the mentioned

Posted Date:-2022-03-28 08:19:27


Question:
 If no frames are free, _____ page transfer(s) is/are required.

1.one

2.two

3.three

4.four

Posted Date:-2022-03-28 09:02:48


Question:
 If the thread pool contains no available thread ______

1.the server runs a new process

2.the server goes to another thread pool

3.the server demands for a new pool creation

4.the server waits until one becomes free

Posted Date:-2022-03-28 08:35:13


Question:
 Signals that occur at the same time, are presented to the process _______

1.one at a time, in a particular order

2.one at a time, in no particular order

3.all at a time

4.None of the mentioned

Posted Date:-2022-03-28 08:20:09


Question:
 Thread pools limit the number of threads that exist at any one point, hence _______

1.not letting the system resources like CPU time and memory exhaust

2.helping a limited number of processes at a time

3.not serving all requests and ignoring many

4.None of the mentioned

Posted Date:-2022-03-28 08:36:14


Question:
 When a process blocks the receipt of certain signals?

1.The signals are delivered

2. The signals are not delivered

3.The signals are received until they are unblocked

4.The signals are received by the process once they are delivered

Posted Date:-2022-03-28 08:22:51


Question:
 When the target thread periodically checks if it should terminate and terminates itself in an orderly manner, it is called?

1.Asynchronous cancellation

2.Asynchronous cancellation

3.Sudden Termination

4.Deferred cancellation

Posted Date:-2022-03-28 08:18:14


Question:
A FIFO replacement algorithm associates with each page the _______

1.time it was brought into memory

2.size of the page in memory

3.page after and before it

4. All of the mentioned

Posted Date:-2022-03-28 09:04:10


Question:
A memory page containing a heavily used variable that was initialized very early and is in constant use is removed, then the page replacement algorithm used is ________

1. LRU

2.LFU

3. FIFO

4. none of the mentioned

Posted Date:-2022-03-28 09:01:29


Question:
A process can never be sure that a signal it has sent ________

1.has which identifier

2. has not been lost

3.has been sent

4.All of the Mentioned

Posted Date:-2022-03-28 08:28:00


Question:
A process is thrashing if _____

1.it is spending more time paging than executing

2.it is spending less time paging than executing

3.page fault occurs

4.swapping can not take place

Posted Date:-2022-03-28 08:47:05


Question:
A process refers to 5 pages, A, B, C, D, E in the order : A, B, C, D, A, B, E, A, B, C, D, E. If the page replacement algorithm is FIFO, the number of page frames is increased to 4, then the number of page transfers _________

1. decreases

2. increases

3.remains the same

4.None of the mentioned

Posted Date:-2022-03-28 09:01:04


Question:
A process refers to 5 pages, A, B, C, D, E in the order : A, B, C, D, A, B, E, A, B, C, D, E. If the page replacement algorithm is FIFO, the number of page transfers with an empty internal store of 3 frames is?

1.8

2.10

3.9

4.7

Posted Date:-2022-03-28 09:00:35


Question:
Because of virtual memory, the memory can be shared among ______

1.processes

2. threads

3. instructions

4.None of the mentioned

Posted Date:-2022-03-28 08:37:44


Question:
Cancelling a thread asynchronously ______

1. frees all the resources properly

2. may not free each resource

3. spoils the process execution

4. none of the mentioned

Posted Date:-2022-03-28 08:18:39


Question:
Each connection arriving at multi threaded servers via network is generally ______

1.is directly put into the blocking queue

2.is wrapped as a task and passed on to a thread pool

3.is kept in a normal queue and then sent to the blocking queue from where it is dequeued

4.None of the mentioned

Posted Date:-2022-03-28 08:34:07


Question:
Effective access time is directly proportional to ______

1.page-fault rate

2.hit ratio

3. memory access time

4.None of the mentioned

Posted Date:-2022-03-28 08:39:48


Question:
In FIFO page replacement algorithm, when a page must be replaced _______

1.oldest page is chosen

2.newest page is chosen

3.random page is chosen

4.none of the mentioned

Posted Date:-2022-03-28 08:43:02


Question:
In most cases, if a process is sent a signal while it is executing a system call _____

1.the system call will continue execution and the signal will be ignored completely

2.the system call is interrupted by the signal, and the signal handler comes in

3.the signal has no effect until the system call completes

4.None of the mentioned

Posted Date:-2022-03-28 08:27:03


Question:
In UNIX, the abort() function sends the ________ signal to the calling process, causing abnormal termination.

1.SIGTERM

2.SIGSTOP

3.SIGABORT

4.SIGABRT

Posted Date:-2022-03-28 08:26:38


Question:
In UNIX, the set of masked signals can be set or cleared using the ________ function.

1.sigmask

2.sigmaskproc

3.sigprocmask

4.sigproc

Posted Date:-2022-03-28 08:23:56


Question:
In UNIX, the ______________ system call is used to send a signal.

1.sig

2.send

3.kill

4.sigsend

Posted Date:-2022-03-28 08:28:29


Question:
Instead of starting a new thread for every task to execute concurrently, the task can be passed to a ____

1.process

2.thread pool

3. thread queue

4.None of the mentioned

Posted Date:-2022-03-28 08:33:38


Question:
Signals are identified by _____

1. signal identifiers

2.signal handlers

3. signal actions

4.none of the mentioned

Posted Date:-2022-03-28 08:22:04


Question:
Signals of a given type _______

1.are queued

2. are all sent as one

3.cannot be queued

4.None of the mentioned

Posted Date:-2022-03-28 08:21:10


Question:
Swap space exists in ______

1.primary memory

2.secondary memory

3.cpu

4.None of the mentioned

Posted Date:-2022-03-28 08:38:57


Question:
The aim of creating page replacement algorithms is to ______

1.replace pages faster

2. increase the page fault rate

3. decrease the page fault rate

4.to allocate multiple pages to processes

Posted Date:-2022-03-28 09:03:47


Question:
The number of the threads in the pool can be decided on factors such as ______

1.number of CPUs in the system

2.amount of physical memory

3.expected number of concurrent client requests

4. all of the mentioned

Posted Date:-2022-03-28 08:36:45


Question:
The pager concerns with the ______

1.individual page of a process

2.entire process

3.entire thread

4.first page of a process

Posted Date:-2022-03-28 08:38:35


Question:
The three ways in which a process responds to a signal are _______

1. ignoring the signal

2. handling the signal

3.performing some default action

4. All of the mentioned

Posted Date:-2022-03-28 08:21:39


Question:
The usefulness of signals as a general inter process communication mechanism is limited because _______

1.they do not work between processes

2.they are user generated

3. they cannot carry information directly

4.None of the mentioned

Posted Date:-2022-03-28 08:24:26


Question:
The usual effect of abnormal termination of a program is _______

1.core dump file generation

2.system crash

3. program switch

4.signal destruction

Posted Date:-2022-03-28 08:26:14


Question:
The _______ maintains pending and blocked bit vectors in the context of each process.

1.CPU

2.Memory

3.Process

4.kernel

Posted Date:-2022-03-28 08:23:31


Question:
Thread pools are useful when _______

1.when we need to limit the number of threads running in the application at the same time

2.when we need to limit the number of threads running in the application at the same time

3.when we need to arrange the ordering of threads

4.None of the mentioned

Posted Date:-2022-03-28 08:33:07


Question:
Thread pools help in ________

1.servicing multiple requests using one thread

2.servicing a single request using multiple threads from the pool

3.faster servicing of requests with an existing thread rather than waiting to create a new thread

4.None of the mentioned

Posted Date:-2022-03-28 08:35:48


Question:
Users _______ that their processes are running on a paged system.

1. are aware

2.are unaware

3. may unaware

4. none of the mentioned

Posted Date:-2022-03-28 09:02:21


Question:
What is the idea behind thread pools?

1.a number of threads are created at process startup and placed in a pool where they sit and wait for work

2.when a process begins, a pool of threads is chosen from the many existing and each thread is allotted equal amount of work

3.all threads in a pool distribute the task equally among themselves

4.None of the mentioned

Posted Date:-2022-03-28 08:34:40


Question:
What is the Optimal page – replacement algorithm?

1.Replace the page that has not been used for a long time

2.Replace the page that has been used for a long time

3.Replace the page that will not be used for a long time

4.None of the mentioned

Posted Date:-2022-03-28 09:04:35


Question:
What is Thread cancellation?

1.the task of destroying the thread once its work is done

2. the task of removing a thread once its work is done

3.the task of terminating a thread before it has completed

4.None of the mentioned

Posted Date:-2022-03-28 08:16:01


Question:
When a page is selected for replacement, and its modify bit is set _________

1.the page is clean

2. the page has been modified since it was read in from the disk

3.the page is dirty

4. the page has been modified since it was read in from the disk & page is dirty

Posted Date:-2022-03-28 09:03:21


Question:
When a program tries to access a page that is mapped in address space but not loaded in physical memory, then ______

1.segmentation fault occurs

2. fatal error occurs

3.page fault occurs

4.no error occurs

Posted Date:-2022-03-28 08:39:20


Question:
When a web page is loading, and the user presses a button on the browser to stop loading the page?

1.the thread loading the page continues with the loading

2.the thread loading the page does not stop but continues with another task

3.the thread loading the page is paused

4.the thread loading the page is cancelled

Posted Date:-2022-03-28 08:16:37


Question:
When one thread immediately terminates the target thread, it is called _______

1.Asynchronous cancellation

2.Systematic cancellation

3.Sudden Termination

4.Deferred cancellation

Posted Date:-2022-03-28 08:17:19


Question:
Which algorithm chooses the page that has not been used for the longest period of time whenever the page required to be replaced?

1.first in first out algorithm

2.additional reference bit algorithm

3.least recently used algorithm

4.counting based page replacement algorithm

Posted Date:-2022-03-28 08:44:31


Question:
Which of the following is not TRUE?

1. Processes may send each other signals

2.Kernel may send signals internally

3. A field is updated in the signal table when the signal is sent

4.Each signal is maintained by a single bit

Posted Date:-2022-03-28 08:20:39


Question:
Which of the following page replacement algorithms suffers from Belady’s Anomaly?

1. Optimal replacement

2.LRU

3.FIFO

4.Both optimal replacement and FIFO

Posted Date:-2022-03-28 08:59:51


Question:
Working set model for page replacement is based on the assumption of ____

1.modularity

2. locality

3.globalization

4.random access

Posted Date:-2022-03-28 08:54:02


Question:
____ is the concept in which a process is copied into the main memory from the secondary memory according to the requirement.

1. Paging

2.Demand paging

3.Segmentation

4.Swapping

Posted Date:-2022-03-28 08:38:09


More MCQS

  1. Computer fundamentals
  2. Computer Basic MCQS
  3. CCC MCQ Sample Paper 1
  4. CCC Exams MCQS Sample Paper Test 2
  5. Computer Basics MCQS Paper 1
  6. Computer Basics MCQS Paper 2
  7. FUNDAMENTALS OF COMPUTERS MCQs PART 2
  8. FUNDAMENTALS OF COMPUTERS MCQs PART 1
  9. FUNDAMENTALS OF COMPUTERS MCQs PART 3
  10. Computer mcqs smaple paper 1
  11. Computer mcqs smaple paper 2
  12. Computer mcqs smaple paper 3
  13. Fundamentals of Computers
  14. Fundamentals of Computers (New) Part 1
  15. Fundamentals of Computers (New) Part 2
  16. Computer Networks MCQ Questions
  17. Computer Networks Transition from IPV4 to IPV6
  18. Computer Fundamentals (New) Part 1
  19. Computer Fundamentals (New) Part 2
  20. Computer Fundamentals (New) Part 3
  21. Computer Fundamentals (New) Part 4
  22. Computer Fundamentals (New) Part 5
  23. Computer Fundamentals (New) Part 6
  24. Computer Fundamentals (New) Part 7
  25. Computer Fundamentals (New) Part 8
  26. Operating Systems MCQs Part 1
  27. Operating Systems MCQs Part 2
  28. OS(Computer Operating Systems) Part 1
  29. OS(Computer Operating Systems) Part 2
  30. OS(Computer Operating Systems) Part 3
  31. OS(Computer Operating Systems) Part 4
  32. OS - Computer Operating Systems Part 5
  33. OS - Computer Operating Systems Part 6
  34. OS - Computer Operating Systems Part 7
  35. MS Word MCQ Questions Part 1
  36. MS Word MCQ Questions Part 2
  37. MS Word MCQ Questions Part 3
  38. MS Word MCQ Questions Part 4
  39. MS Word MCQ Questions Part 5
  40. MS Word MCQ Questions Part 7
  41. MS Word MCQ Questions Part 6
  42. Microsoft Excel MCQ Questions Part 1
  43. Microsoft Excel MCQ Questions Part 2
  44. Microsoft Excel MCQ Questions Part 3
  45. Microsoft Excel MCQ Questions Part 4
  46. Microsoft Excel MCQ Questions Part 5
  47. Microsoft Excel MCQ Questions Part 6
  48. Microsoft Excel MCQ Questions Part 7
  49. MS PowerPoint MCQ Questions PART 1
  50. MS PowerPoint MCQ Questions PART 2
  51. MS PowerPoint MCQ Questions PART 3
  52. MS PowerPoint MCQ Questions PART 4
  53. MS PowerPoint MCQ Questions PART 5
  54. MS PowerPoint MCQ Questions PART 6
  55. MS PowerPoint MCQ Questions PART 7
  56. MS Access MCQ Questions Part 1
  57. MS Access MCQ Questions Part 2
  58. MS Access MCQ Questions Part 3
  59. MS Access MCQ Questions Part 4
  60. MS Access MCQ Questions Part 5
  61. MS Access MCQ Questions Part 6
  62. MS Access MCQ Questions Part 7
  63. MS Access MCQ Questions Part 8
  64. Query of MS Access MCQS Part 1
  65. Query of MS Access MCQS Part 2
  66. Computer Communication and Networking Quiz
  67. Computer Graphics MCQ Quiz Questions and Answers
  68. Computer Basics Quiz Questions
  69. Computer Quiz Questions with Answers
  70. Computer Hardware MCQS Quiz
  71. MCQ Computer Organization & Architecture
  72. MCQ Computer Organisation - Input & output Organisation SET1
  73. MCQ Computer Organisation - Input & output Organisation SET2
  74. MCQ Computer Organisation - Input & output Organisation SET3
  75. MCQS on addressing modes SET 1
  76. MCQS on addressing modes SET 2
  77. Software Engineering MCQs SET 1
  78. Software Engineering MCQs SET 2
  79. Software Engineering MCQs Set 3
  80. Software Engineering MCQs Set 4
  81. Software Engineering MCQs Set 5
  82. Software Engineering MCQs Set 6
  83. Software Engineering MCQs Set 7
  84. mcqs data structures
  85. CCC Exam Sample MCQ Paper
  86. Computer MCQ Questions set-1
  87. Computer MCQ Questions set-2
  88. Computer MCQ Questions set-3
  89. Current affairs mcq Database management
  90. Programming arcitecture
  91. Computer Graphics MCQ Questions part 1
  92. Computer Graphics MCQ Questions part 2
  93. Computer Awareness MCQs and Quiz for Banking, IBPS, RRB, RBI, SBI Exams pART 1
  94. Computer Awareness MCQs and Quiz for Banking, IBPS, RRB, RBI, SBI Exams pART 2
  95. Computer Science MCQs
  96. Computer Mcq Question
  97. MCQs based on Fundamentals of Computer 1 set
  98. Computer Mcq Question set 2
  99. MCQ Encoding Schemes
  100. Data Entry and Keyboarding Skills MCQ
  101. Computer Science Number System
  102. Computer Network MCQ
  103. MCQ Questions on Tally
  104. MCQ Questions on Tally Set 2
  105. MCQ Questions on Tally Set 3
  106. MCQ Questions on Tally Set 4
  107. Internet Technology MCQ Questions for Competitive Exams
  108. Computer Software MCQ GK Questions
  109. Computer Organization and Architecture MCQs
  110. Basic Computer GK Questions
  111. Computer Graphics MCQ Set 1
  112. Operating System MCQ Set 1
  113. Operating System MCQ Set 2
  114. Operating System MCQ Set 3
  115. Operating System MCQ Set 4
  116. Operating System MCQ Set 5
  117. Operating System MCQ Set 6
  118. Operating System MCQ Set 7
  119. Operating System MCQ Set 8
  120. Operating System MCQ Set 9
  121. Operating System MCQ Set 10
  122. Operating System MCQ Set 11
  123. Operating System MCQ Set 12
  124. Operating System MCQ Set 13
  125. Operating System MCQ Set 14
  126. Operating System MCQ Set 15
  127. Operating System MCQ Set 16
  128. Operating System MCQ Set 17
  129. Operating System MCQ Set 18
  130. Operating System MCQ Set 19
  131. Operating System MCQ Set 20
  132. Operating System MCQ Set 21
  133. Computer Graphics MCQ Question Set 1
  134. Computer Networks MCQs
  135. Computer Networks MCQs Set-2
  136. Computer Networks MCQs Set-3
  137. Computer Networks MCQs Set-4
  138. Bachelor of Computer Applications MCQs set-1
  139. Bachelor of Computer Applications MCQs set-2
  140. NET Programming MCQ
  141. Artificial Intelligence and Robotics (AIR) Set 1
  142. Artificial Intelligence and Robotics (AIR) Set 2
  143. Computer Engineering Soft Computing Set 1
  144. Computer Engineering Soft Computing Set 2
  145. COMPUTERS AND IT MCQs QUESTIONS
  146. Ancient Indian History MCQ
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!