Question 1a process is a program under execution and as it

Assignment Help Operating System
Reference no: EM13348600

Question 1:

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) Explain the five states in which a process can be, including an explanation of the various transitions between the different states.

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.  Describe the term context switch.  
ii. Describe how context switching takes place. (use a diagram, with two processes) 
iii.  Why is context-switch time considered as overhead?

Question 2:

In a deadlock, processes never finish executing and system resources are tied up, preventing other jobs from starting. Deadlocks will be characterised by a set of conditions.

a) Explain the four necessary conditions that must hold simultaneously in a system for a deadlock situation to arise.

b) One way of handling deadlock situations is by using a deadlock-avoidance algorithm: Consider that a system always require additional information about how resources are being requested for each process before making a decision on whether to grant the request or not to grant the request. One possible reason for not granting the request is because it can put the system in an unsafe state.

What is the difference between a safe state and an unsafe state in a deadlock-avoidance system?

Reference no: EM13348600

Questions Cloud

Question 1tourism has been experiencing a growth in its : question 1tourism has been experiencing a growth in its green sector. nature-based tourism and green tourism is growing
Question 1agiven memory partition of 100 kb 500kb 200kb : question 1agiven memory partition of 100 kb 500kb 200kb 300kb and 600 kb in order how would each of the first-fit
Question 1a differentiate between a standard user and a : question 1a differentiate between a standard user and a root user in linuxb name any five duties of a system
Question 1a what is the main advantage of multiprogrammingb : question 1a what is the main advantage of multiprogramming?b how does the distinction between the monitor mode and user
Question 1a process is a program under execution and as it : question 1a process is a program under execution and as it executes it changes state. the state of a process is defined
Question 1a explain two reasons driving the creation of : question 1a explain two reasons driving the creation of processes.b suppose we want a system to have two ready states
Questionwrite a program use a matrix represents an island : questionwrite a program use a matrix represents an island surrounded by water. two bridges lead out of the island. a
Questionhow can government justify telling private industry : questionhow can government justify telling private industry how to set up or recover their cybersecurity?1. clearly
Questionwrite down a function that creates a cell array and : questionwrite down a function that creates a cell array and structure array and populate them with data about element

Reviews

Write a Review

Operating System Questions & Answers

  Management information systems

Analyze and apply the content from a minimum of 3-recent articles about a topic of interest covered in the module.

  Disk scheduling algorithms

Assume that a disk drive has 5,000 cylinders, numbered 0 to 4,999. The drive is recently serving a request at cylinder 143, and the last request was at cylinder 125.

  Compute number of disk tracks traversed by using fcfs-sstf

Compute number of disk tracks traversed by using FCFS, SSTF, SCAN, and LOOK algorithms for series of disk track service request given below.

  Compute time to read whole disk if read head is-first sector

If entire disk was full of data stored consecutively, how much time would it take to read whole disk if read/write head is already positioned on first sector of first track of first cylinder of the disk?

  Question about backbone structure

Suppose you have been hired by a mail order firm to install a backbone structure that will connect four LANs and provide a connection to the Internet.

  Simulation of elevator and shortest seek time first sstf

simulation of elevator and shortest seek time first sstf disk scheduling algorithmrequirements must be implemented in c

  Question about information security

Discover an article about information security. Give an introduction, and select various aspects of the article or Web site.

  Designing phase of the project management life cycle

Discuss how does the design phase of the project management life cycle differ in content and importance from the other phases?

  Potential security threats to managing information

Suppose that you have been asked to consult for a corporation that has branch offices in four continents. You have implemented a management data system that will enable its managers to exchange information.

  Analysis and implementation of algorithms for memory

analysis and implementation of algorithms for memory allocation in operating systemexplain first-t and best-t methods

  Determine the value of flags

Suppose if the last operation performed on a computer with an 8-bit word was an addition in which 2-operands were 00000010 and 00000011, determine the value of the following flags?

  Question about electronic monitoring

Give some discussion about Electronic checking, such as what is used in stores, through employers and by the public. Planning these questions in the response.

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