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

  Write a symbol table package consisting of two routines

Write a symbol table package consisting of two routines: enter(symbol, value) and lookup(symbol, value). The former enters new symbols in the table and the latter looks them up. Use some form of hash coding.

  Encoding the data using the generator polynomial

Encode the data bit sequence 10011011100 using the generator polynomial and provide the code word.

  Creating the sample database

nstall DB2 Express-C, construct the model database, and validate the installation and write a short paper describing your experience with the installation.

  C language program to remove vowels from text

Create a function isvowel() that test whether or not character is a vowel. Use function in a program that reads standard input document and writes to the standard output document,

  Explain in detail at least four types of system programs

Explain in detail at least four types of system programs. Describe in advantages a time-shared operating system has over a non-time-shared operating system.

  Program to process a weighted undirected graph

Implement a program to process a weighted undirected graph as follows:

  How many 512 byte blocks are required to store a 1.6mb file

Suppose that the keyboard device stored keystrokes in a buffer until it was full then sent the entire buffer for processing. What would be some adverse consequences?

  Design and implement demand paging virtual memory simulator

Design and implement a Demand Paging virtual memory simulator! It must be a text based application (NOT a GUI based one). You can use the C/C++ or Java programming language

  Xplain the bootup process and stages of redhat linux

What are the three different types of RAID? WHAT command can you use to query kernal about Raid arrays? Provide example.

  Automate or automated patch deployment

Discuss and define Automate or Automated patch deployment?

  Large scale business network services infrastructure

Potential Configuration of and Justification for a Large Scale Business Network Services Infrastructure - Justify the integration of network services

  Solving problem by ipv6

Discuss and explain some of the problems NATs develop for IPsec security. Solve this problems through using IPv6?

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