Define the term context switch

Assignment Help Operating System
Reference no: EM132518

QUESTION

A process is a program under execution and as it executes, it changes state. The state of a process is defined in part by the current activity of that process.

a) Describe the five states in which a process can be, including an explanation of the various transitions between the different states. (use a diagram to support your answer)

b) Each process is represented in the operating system by a Process Control Block (PCB). Describe five piece of information which can be found the Process Control Block.

c) In terms of process management, the kernel has to take care of Context Switching.

i. Define the term context switch.

ii. Explain how context switching takes place. (use a diagram, with two processes)

iii. Why is context-switch time considered as overhead?

 

Reference no: EM132518

Questions Cloud

How to maintain the list of cd/dvds : How to maintain the list of CD/DVDs.
Propose a broad audit plan : Propose a broad audit plan
Queries in relational algebra : Queries in relational algebra.
The total after-tax show value of the cash flows : The total after-tax show value of the cash flows above is closest to:
Define the term context switch : Define the term context switch. Explain how context switching takes place. (use a diagram, with two processes)
What aspects of environment support structure of colleges : What aspects of environment support structure of colleges.
Compensation expense related to the stock option plan : What is compensation expense related to the stock option plan in fiscal 2008
How much compensation expense related to restricted stock : How much compensation expense related to the restricted stock should Twilight report on its 2010 income statement?
Deadlock avoidance : i. Deadlock avoidance ii. Deadlock prevention and  iii. Deadlock detection

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