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

Assignment Help Operating System
Reference no: EM13945809

1. 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? (Two or three sentences should be adequate to answer this question)

2. Suppose that all programs in a particular CPU are given 50 clock cycles to process before getting swapped out for another program. Suppose also, that it takes 5 CPU clock cycles to swap out the process control block (PCB) for a particular program and restore the next program's PCB. What percent of the CPU clock cycles are used for processing 100 programs? (Hint: calculate: Program clock cycles / (Swap clock cycles + Program clock cycles)). Show your work and how you arrived at the solution.

3. How many 512 byte blocks are required to store a 1.6MB file?

4. Perform the Round-Robin dispatch algorithm, with time quantum equal to 300 milliseconds, on the job queue and calculate:

Job 1 arrives at time 0 and needs 500 milliseconds to complete.
Job 2 arrives at time 300 milliseconds and needs 400 milliseconds to complete.
Job 3 arrives at time 400 milliseconds and needs 200 milliseconds to complete.
Job 4 arrives at time 400 milliseconds and needs 500 milliseconds to complete.

a. The average wait time. (Hint: average the number milliseconds each job was in a wait state)

b. Average turn-around-time. (Hint: for each job, count the number of milliseconds from arrival to completion and average)

Reference no: EM13945809

Questions Cloud

Find risk premium and actuarially fair insurance premium : Suppose the insurance company is unable to distinguish between the riskiness of Lewis and Martin. What would the actuarially fair premium be if the government required them to buy the insurance? (Liability insurance is often required for certain en..
Whose narrative tone is critical of leonardo contributions : View the video, "The Mona Lisa - Every Picture Tells a Story", produced by the BBC Chanel 5, whose narrative tone is critical of Leonardo's contributions. Then submit a minimum 150 word response that addresses the main ideas and themes
Describe protocols at the different layers of the osi model : Describe protocols at the different layers of the OSI model and explain their functionality
Advantages of using this equalization preamplifier : The purpose of this lab is to allow students with the opportunity to pull from all of the concepts presented in the course and be able to construct a circuit for a real time industry application. This lab will showcase all that was learned in the ..
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?
What is strategic equilibrium quantity of the public good : Claim: as the slope of the MB curve gets steeper, the difference between the strategic equilibrium and the socially optimal quantity increases. Agree or disagree. How do the formulas help you answer the question? In words briefly explain the econom..
How does the employer promote its fringe benefit : How does the employer promote its fringe benefit and cafeteria plan packages? Compare and contrast several such sites.
Calculate the values for all resistors : Design an 8-Bit DAC Circuit - Calculate the values for all resistors 2. Include calculations and schematic in a Word document
How the integration would affect serbia growth path : Using the IS-MP-IRP framework, examine the effects of an expansionary fiscal policy (e.g. an increase in public spending (G) under a fixed and under a flexible exchange rate regime.

Reviews

Write a Review

Operating System Questions & Answers

  How does the main memory address format look

How does the main memory address format look?

  Estimate the compression factor for music.

The CPU of a video server has a utilization of 65%. How many movies can it show using RMS scheduling?

  Modify the program so that thread acts as a producer

Modify the program so that threadOne( ) acts as a producer by counting up to 5 then threadTwo( ) acts as a consumer and counts down for five iterations. Alternate for 5 productions and 5 consumptions for exactly 3 times.

  How long does a paged memory reference take

how long does a paged memory reference take - What is the effective memory reference time?

  Website migration project

Evaluate alternatives to the company self-hosting the site and build a Gantt chart using Microsoft Project or equivalent software, showing all tasks associated with implementing the Website.

  Differences between the internet, intranets, extranets

Discuss similarities and differences between the Internet, intranets, extranets. Define e-Commerce and discussow can e-Commerce businesses be categorized?

  Write bash shell script for number files in directories

Write a bash shell script filestatic. The script should examine the number files in directories given as arguments (parameters) to this script.

  Declarations in global or in void functions or main function

These are the guidelines for flow on control in the program. each void function only called one time in program execution. Need help with correcting the code to run and the general code I working with is at the bottom.

  How can the evolution of os benefit an organization

Why are there so many versions of OS. This will be the foundation for future discussions by your classmates. Be substantive and clear, and use examples to reinforce your ideas.

  How the offices within a wan are connected

The University of Hawaii campus is spanned over 2 miles. It has 7 colleges and each college building is separated from each other by at least 1000 feet. Each building has 4 floors. The University also has it's centers at London and Australia. You ..

  Importance of maintaining security on a lan

Discuss what roles do firewalls and proxy servers play in network security? Determine the importance of maintaining security on a LAN?

  Research a vendor that offers backup and/or disaster

Please give the name of the scholarly references along with it.

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