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

  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