All Exams Test series for 1 year @ ₹349 only
Question

Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R

 Assertion A: Thrashing occurs when a process spends more time on paging than executing. 

Reason R: It happens when the degree of multiprogramming is too low and frames are insufficient. 

In the light of the above statements, choose the most appropriate answer from the options given below

The correct answer is
A is correct but R is not correct

Assertion A Analysis: Thrashing Definition

Assertion A states that thrashing occurs when a process spends more time on paging than executing. This is the standard definition of thrashing in operating systems. Excessive paging activity leads to a decrease in useful work done by the process.

Therefore, Assertion A is correct.

Reason R Analysis: Causes of Thrashing

Reason R claims thrashing happens when the degree of multiprogramming is too low and frames are insufficient.

Thrashing occurs due to a high degree of multiprogramming, not a low one. When too many processes compete for limited physical memory (frames), each process may not have enough frames to hold its working set. This leads to frequent page faults and excessive paging activity, which is thrashing. An insufficient number of frames is a contributing factor, but it usually exacerbates the problem when the system is already trying to run too many processes (high multiprogramming degree).

Therefore, Reason R is incorrect.

Conclusion: Choosing the Correct Option

Based on the analysis:

  • Assertion A is correct.
  • Reason R is incorrect.

This corresponds to the option stating that A is correct, but R is not correct.

Was this answer helpful?

Important Questions from Virtual Memory

  1. Consider the system of ordinary differential equations 

                                          $\frac{dx}{dt} = Mx$, 

    where $M$ is a $6 \times 6$ skew-symmetric matrix with entries in $\mathbb{R}$. Then, for this system, the origin is a stable critical point for

  2. If two non-continuous free partition of size ‘a’ and ‘b’ are available. A process of size ‘c’ cannot be allocated even when a + b > c, a < c and b < c. This problem is known as _______.

  3. In a byte-addressable architecture, what determines the theoretical maximum size of the virtual address space?

  4. Arrange the process of virtualization in cloud environments.
    A. Hypervisor installed on physical server
    B. Virtual machines created
    C. Resources allocated to Virtual machines
    D. Virtual machines run isolated workloads
    Choose the correct answer from the options given below:
  5. In a demand paging memory system, page table is held in registers. The time taken to service a page fault is 8 m.sec. if an empty frame is available or if the replaced page is not modified, and it takes 20 m.secs., if the replaced page is modified. What is the average access time to service a page fault assuming that the page to be replaced is modified 70% of the time ?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App