Demonstrate the lru page replacement algorithm

Assignment Help Operating System
Reference no: EM132263357

Questions: Suppose that we have free segments with sizes: 6, 17, 25, 14, and 19. Place a program with size 13kB in the free segment using first-fit, best-fit and worst fit?

2. Demonstrate the LRU page replacement algorithm for the given example.

There are 8 pages and 4 frames. Consider the page referencing string:

" 1, 2, 3, 4, 3, 1, 4, 2, 5, 2, 1, 2, 5, 4". Compute the number of page faults and page hits using LRU page replacement algorithm.

3. Create a main directory (A), and then sub directory (B). Delete the folder (A) and state what happened!

4. Consider the following request queue for disk cylinders:

65, 48, 79, 49, 82, 33, 112, 90, 155

Using the Shortest Seek Time First (SSTF) algorithm, find the total head movements using schematic diagram for a disk of 200 cylinders (0-199). It is assumed that read write head is initially present at cylinder number 50.

Reference no: EM132263357

Questions Cloud

What about the widget or gadget ratio : How much do varying expense margins impact the attractiveness of pursuing the opportunity? What about the widget / gadget ratio?
Describe organizational learning and the firms km : Information and Knowledge Management (PBA 4808) - University of South Africa - Describe organizational learning and the firms KM
What are the two disadvantages of using the approach : Which database security mechanism would you recommend to the university? What are the two disadvantages of using this approach?
Present the budget at a high level by payer type : Prepare an executive summary which should give background information on the hospital and how Medicare inpatient reimbursement is structured.
Demonstrate the lru page replacement algorithm : Demonstrate the LRU page replacement algorithm for the given example. There are 8 pages and 4 frames. Consider the page referencing string.
Routing algorithm may use one of three possible metrics : In order to select the "best" path a routing algorithm may use one of three possible metrics: (1) the minimum number of hops, (2) the minimum delay
Types of breakthroughs in artificial intelligence : What types of breakthroughs in artificial intelligence do you think you will see in your lifetime?
Define comprehensive security management plan : You will submit the Key Assignment Final Draft. In addition, a summary of 3-5 pages for the Security Training module section of the Comprehensive Security.
Sample code for each of the three hazards : In CDC6600, describe how the WAR, WAW and RAW are handled by using a sample code for each of the three hazards.

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd