SSC Multi-Tasking Non-Technical Staff Model Exams in Telugu

AP Grama Sachivalayam 2023 Free Test Series in Telugu (14,523 Vacancies)

Digital Assistant 2023 PART B - 100 Marks All Topics MCQs

Thrashing - Operating System Questions & Answers

1.

A process is thrashing if :

   A.) it spends a lot of time executing, rather than paging
   B.) it spends a lot of time paging, than executing
   C.) it has no memory allocated to it
   D.) none of the mentioned

Answer: Option 'B'

it spends a lot of time paging, than executing

2.

Thrashing _______ the CPU utilization.

   A.) increases
   B.) keeps constant
   C.) decreases
   D.) none of the mentioned

Answer: Option 'C'

decreases

3.

A locality is :

   A.) a set of pages that are actively used together
   B.) a space in memory
   C.) an area near a set of processes
   D.) none of the mentioned

Answer: Option 'A'

a set of pages that are actively used together

4.

When a subroutine is called,

   A.) it defines a new locality
   B.) it is in the same locality from where it was called
   C.) it does not define a new locality
   D.) none of the mentioned

Answer: Option 'A'

it defines a new locality

5.

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

   A.) may
   B.) must
   C.) do not
   D.) must not

Answer: Option 'A'

may

6.

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 :

   A.) {1, 2, 4, 5, 6}
   B.) {2, 1, 6, 7, 3}
   C.) {1, 6, 5, 7, 2}
   D.) {1, 2, 3, 4, 5}

Answer: Option 'C'

{1, 6, 5, 7, 2}

7.

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

   A.) working set model
   B.) working set size
   C.) memory size
   D.) number of pages in memory

Answer: Option 'B'

working set size

8.

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

   A.) working set model
   B.) working set size
   C.) memory size
   D.) number of pages in memory

Answer: Option 'B'

​working set size

9.

If working set window is too small :

   A.) it will not encompass entire locality
   B.) it may overlap several localities
   C.) it will cause memory problems
   D.) none of the mentioned

Answer: Option 'A'

it will not encompass entire locality

10.

If working set window is too large :

   A.) it will not encompass entire locality
   B.) it may overlap several localities
   C.) it will cause memory problems
   D.) none of the mentioned

Answer: Option 'B'

it may overlap several localities

11.

If the sum of the working – set sizes increases, exceeding the total number of available frames :

   A.) then the process crashes
   B.) the memory overflows
   C.) the system crashes
   D.) the operating system selects a process to suspend

Answer: Option 'D'

the operating system selects a process to suspend

12.

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 :

   A.) 10
   B.) 14
   C.) 8
   D.) 11

Answer: Option 'A'

10

13.

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 :

   A.) 10
   B.) 14
   C.) 8
   D.) 11

Answer: Option 'C'

8

14.

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 :

   A.) 16
   B.) 15
   C.) 14
   D.) 11

Answer: Option 'D'

11

15.

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 :

   A.) 16
   B.) 15
   C.) 14
   D.) 11

Answer: Option 'C'

​14

16.

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 :

   A.) 16
   B.) 15
   C.) 14
   D.) 11

Answer: Option 'A'

16


Thrashing - Operating System Questions & Answers Download Pdf

Recent Posts