Computer/Operating System MCQ Set 14 Sample Test,Sample questions

Question:
 Consider the following page reference string.
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
For FIFO page replacement algorithms with 4 frames, the number of page faults is?

1.16

2.15

3.14

4. 11


Question:
 File type can be represented by ________

1.file name

2.file extension

3.file identifier

4.None of the mentioned


Question:
 If working set window is too large _____

1.it will not encompass entire locality

2.it may overlap several localities

3.it will cause memory problems

4.None of the mentioned


Question:
 In the stack implementation of the LRU algorithm, a stack can be maintained in a manner _______

1.whenever a page is used, it is removed from the stack and put on bottom

2.the bottom of the stack is the LRU page

3.the top of the stack contains the LRU page and all new pages are added to the top

4.none of the mentioned


Question:
 One problem with the global replacement algorithm is that ______

1. it is very expensive

2.many frames can be allocated to a process

3.only a few frames can be allocated to a process

4.a process cannot control its own page – fault rate


Question:
 process is thrashing if ________

1.it spends a lot of time executing, rather than paging

2. it spends a lot of time paging than executing

3.it has no memory allocated to it

4.None of the mentioned


Question:
 The algorithm in which we allocate memory to each process according to its size is known as _____

1. proportional allocation algorithm

2.equal allocation algorithm

3.split allocation algorithm

4.None of the mentioned


Question:
 The essential content(s) in each entry of a page table is/are _______

1.Virtual page number

2.Page frame number

3.Both virtual page number and page frame number

4. Access right information


Question:
 To create a new file application program calls _______

1.basic file system

2.logical file system

3.file-organisation module

4.None of the mentioned


Question:
 What is a locality?

1.a set of pages that are actively used together

2.a space in memory

3.an area near a set of processes

4.None of the mentioned


Question:
 What will happens when a process closes the file?

1.per-process table entry is not removed

2. system wide entry’s open count is decremented

3.all of the mentioned

4.None of the mentioned


Question:
A file control block contains the information about _____

1.file ownership

2. file permissions

3.location of file contents

4.All of the Mentioned


Question:
A program is generally composed of several different localities, which _____ overlap.

1.may

2.must

3.do not

4.Must not be private in both derived and base class


Question:
Applying the LRU page replacement to the following reference string.
1 2 4 5 2 1 2 4
The main memory can accommodate 3 pages and it already has pages 1 and 2. Page 1 came in before page 2.
How many page faults will occur?

1. 2

2.3

3. 4

4.5


Question:
By using the specific system call, we can ______

1.open the file

2.read the file

3.write into the file

4.All of the Mentioned


Question:
Consider a machine in which all memory reference instructions have only one memory address, for them we need at least _____ frame(s).

1. one

2.two

3.three

4.None of the mentioned


Question:
Consider the following page reference string.
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
For FIFO page replacement algorithms with 3 frames, the number of page faults is?

1.16

2.15

3. 14

4.11


Question:
Consider the following page reference string.
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
For LRU page replacement algorithm with 4 frames, the number of page faults is?

1.10

2. 14

3.8

4.11


Question:
Consider the following page reference string.
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
For LRU page replacement algorithm with 5 frames, the number of page faults is?

1. 10

2.14

3.8

4. 11


Question:
Consider the following page reference string.
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
For Optimal page replacement algorithms with 3 frames, the number of page faults is?

1. 16

2.15

3.14

4.11


Question:
If working set window is too small _________

1. it will not encompass entire locality

2. it may overlap several localities

3.it will cause memory problems

4.None of the mentioned


Question:
In the working set model, for:
2 6 1 5 7 7 7 7 5 1 6 2 3 4 1 2 3 4 4 4 3 4 3 4 4 4 1 3 2 3
if DELTA = 10, then the working set at time t1 (….7 5 1) is?

1. {1, 2, 4, 5, 6}

2.{2, 1, 6, 7, 3}

3.{1, 6, 5, 7, 2}

4. {1, 2, 3, 4, 5}


Question:
Increasing the RAM of a computer typically improves performance because ______

1.Virtual memory increases

2.Larger RAMs are faster

3.Fewer page faults occur

4.None of the mentioned


Question:
Management of metadata information is done by _____

1.file-organisation module

2. logical file system

3.basic file system

4.application programs


Question:
Mapping of file is managed by ________

1. file metadata

2. page table

3. virtual memory

4.file system


Question:
Mapping of network file system protocol to local file system is done by ______

1.network file system

2.local file system

3.volume manager

4.remote mirror


Question:
The accuracy of the working set depends on the selection of _______

1. working set model

2.working set size

3.memory size

4.number of pages in memory


Question:
The algorithm in which we split m frames among n processes, to give everyone an equal share, m/n frames is known as _____

1.proportional allocation algorithm

2.equal allocation algorithm

3. split allocation algorithm

4.None of the mentioned


Question:
The implementation of the LFU and the MFU algorithm is very uncommon because ______

1.they are too complicated

2. they are optimal

3. they are expensive

4. All of the mentioned


Question:
The maximum number of frames per process is defined by _______

1. the amount of available physical memory

2.operating System

3.instruction set architecture

4.None of the mentioned


Question:
The minimum number of frames to be allocated to a process is decided by the ______

1.the amount of available physical memory

2.operating System

3.instruction set architecture

4.None of the mentioned


Question:
The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by ________

1.the instruction set architecture

2.page size

3.physical memory size

4. number of processes in memory


Question:
There is a set of page replacement algorithms that can never exhibit Belady’s Anomaly, called _____

1.queue algorithms

2.stack algorithms

3.string algorithms

4.None of the mentioned


Question:
Thrashing _______ the CPU utilization.

1.increases

2.keeps constant

3.decreases

4.None of the mentioned


Question:
To create a file _____

1.allocate the space in file system

2.make an entry for new file in directory

3.allocate the space in file system & make an entry for new file in directory

4.None of the mentioned


Question:
What is the mounting of file system?

1.crating of a filesystem

2.deleting a filesystem

3. attaching portion of the file system into a directory structure

4.removing the portion of the file system into a directory structure


Question:
What is the reason for using the LFU page replacement algorithm?

1. an actively used page should have a large reference count

2.a less used page has more chances to be used again

3.it is extremely efficient and optimal

4. all of the mentioned


Question:
What is the reason for using the MFU page replacement algorithm?

1.an actively used page should have a large reference count

2.a less used page has more chances to be used again

3.it is extremely efficient and optimal

4. All of the mentioned


Question:
When a page fault occurs before an executing instruction is complete if ______

1.the instruction must be restarted

2.the instruction must be ignored

3.the instruction must be completed ignoring the page fault

4. none of the mentioned


Question:
When a subroutine is called _________

1.it defines a new locality

2.it is in the same locality from where it was called

3.it does not define a new locality

4.None of the mentioned


Question:
When using counters to implement LRU, we replace the page with the ______

1.smallest time value

2.largest time value

3. greatest size

4.none of the mentioned


Question:
When will file system fragmentation occur?

1.unused space or single file are not contiguous

2.used space is not contiguous

3. unused space is non-contiguous

4. multiple files are non-contiguous


Question:
Which file is a sequence of bytes organized into blocks understandable by the system’s linker?

1.object file

2.source file

3.executable file

4.text file


Question:
Which one of the following explains the sequential file access method?

1.random access according to the given byte number

2.read bytes one at a time, in order

3.read/write sequentially by record

4.read/write randomly by record


Question:
Which table contains the information about each mounted volume?

1.mount table

2.system-wide open-file table

3.per-process open-file table

4.All of the Mentioned


Question:
With either equal or proportional algorithm, a high priority process is treated ___________ a low priority process.

1. greater than

2.same as

3. lesser than

4.None of the mentioned


Question:
_____ replacement allows each process to only select from its own set of allocated frames.

1. Local

2.Universal

3.Global

4.Public


Question:
______ is a unique tag, usually a number identifies the file within the file system.

1.File identifier

2.File name

3.File type

4.None of the mentioned


Question:
______ replacement allows a process to select a replacement frame from the set of all frames, even if the frame is currently allocated to some other process.

1. Local

2.Universal

3.Global

4.Public


Question:
______ replacement generally results in greater system throughput.

1. Local

2. Global

3. Universal

4.Public


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
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!