What is the lifetime of the process

Assignment Help Computer Engineering
Reference no: EM132106206

A process P1 running in a multitasking environment with timeslice=3ms.The code of P1 is shown below:

#

Process P1

Execution Time

1

2

3

Load (from memory)

Print

Assignment

3 ms

6 ms

3 ms

Given that:

the waiting time in the I/O device queue is 3 ms;

the dispatch time is 1 ms;

push time in any queue is 2 ms

Complete the table below. The initial state is given in the first line:

What is the lifetime of the process?                                  

What is the utilization percentage of the CPU?                

Accumulative

Time

Process

State

Executing

Instruction

Queue

Name

Execution

Time

Dispatch Time

Push

Time

Wait

Time in Q

0

Ready


Ready Q


1



1
































































And please explain how to solve?

Reference no: EM132106206

Questions Cloud

Design an encoder which generates the three bits : A processor has 8 interrupt-request lines, INT0 - INT7, and INT7 has the highest priority and INT0 the lowest.
Discuss about the shortest remaining time : Write about other scheduling algorithms what are the pros and cons of each of them.
What are gross purchases : If Purchases Returns and Allowances are $10,000 and Purchases Discounts are $1,500, what are gross purchases
Determine the time per instruction for each processor : Processor A has a CPI 1.2 and a clock rate of 2 GHz. Processor B has a CPI of 2.2 and a clock rate of 4 GHz.
What is the lifetime of the process : What is the lifetime of the process?What is the utilization percentage of the CPU?
Compute the company total yearly fixed costs : Game Corp produces and sells joysticks for the gaming market. Compute the company's total yearly fixed costs
How data mining can threaten privacy : Explain what "shield" you think is appropriate for the last computer program you developer for a specific user.
Describe in more detail about the step for building lexical : It uses regular expressions, defining token kinds, finite automata, and programming to simulate the finite automaton involved.
What penalties or remedies might be applicable : ACC220 Law of Business Associations Assessment Task - Written Hypothetical Assignment. what penalties or remedies might be applicable

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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