QuizzesThrashing — Concept Check
advanced
operating-systems

Thrashing — Concept Check

Questions on Thrashing. Thrashing occurs when a process spends more time paging than executing, caused by insufficient physical frames to hold the active working set, collapsing CPU utilisation.

8 minutes 8 questions Pass at 70%
Time Limit
8 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

8 questions on Thrashing — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A server application is experiencing severe performance degradation. Monitoring tools show high page fault rates and low CPU utilization. What is likely happening?

    • AThe disk is failing, causing slow data retrieval.
    • BThe application has a memory leak consuming all available RAM.
    • CThe CPU is malfunctioning, causing low utilization.
    • DThe system is thrashing due to insufficient RAM for active processes.
  2. 2.A database server shows 100% CPU usage, but query response times are very slow. `vmstat` reports high `si`/`so` values. What should be done first?

    • AAdd more swap space to accommodate more virtual memory.
    • BOptimize the database queries to reduce execution time.
    • CIncrease the CPU clock speed to handle more processes.
    • DReduce the number of concurrent processes to decrease thrashing.
  3. 3.In a multi-programming environment, what happens if the sum of all processes' working set sizes exceeds physical RAM?

    • AThe system automatically increases RAM to accommodate all processes.
    • BThe system prioritizes processes with the largest working sets.
    • CProcesses are queued until enough RAM is available.
    • DThrashing occurs, leading to high page faults and low CPU efficiency.
  4. 4.A Java application is running slowly, with the garbage collector consuming most of the CPU time. What is this situation called?

    • AHeap overflow, causing the garbage collector to crash.
    • BMemory leak, causing the garbage collector to overwork.
    • CCPU bottleneck, limiting the garbage collector's efficiency.
    • DGC thrashing, due to a small heap relative to live objects.
  5. 5.What is the primary goal of the Page Fault Frequency (PFF) algorithm in memory management?

    • ATo dynamically adjust the number of frames allocated to processes based on fault rates.
    • BTo increase CPU utilization by reducing the number of processes.
    • CTo statically allocate a fixed number of frames to each process.
    • DTo prioritize processes with the highest page fault rates.
  6. 6.A system administrator believes that increasing the degree of multiprogramming will improve CPU utilization during thrashing. Why is this incorrect?

    • AMore processes always lead to better CPU utilization.
    • BIncreasing multiprogramming worsens thrashing by exceeding RAM capacity.
    • CThrashing only occurs with a single process running.
    • DMultiprogramming has no effect on CPU utilization.
  7. 7.Which of the following best describes the working set model?

    • AIt prioritizes processes based on CPU usage.
    • BIt defines the set of pages a process uses in a given time window.
    • CIt limits the number of processes based on CPU speed.
    • DIt is a fixed allocation of memory to each process.
  8. 8.A system is experiencing thrashing. What is a potential solution to mitigate this issue?

    • AAdd more swap space to improve virtual memory performance.
    • BPrioritize processes with the highest CPU usage.
    • CIncrease the CPU speed to handle more processes efficiently.
    • DReduce the degree of multiprogramming by swapping out entire processes.