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

  Scientific principles behind a computer technology

Explain the scientific principles behind a computer technology and discuss how social, political, economic or ethical impact of computers on our cultural structures and beliefs.

  The master distribution center in bend

The master distribution center in Bend, Oregon, has 42 people, including nine Windows 2000 users, 22 people using Windows XP Professional, and 11 people using Windows Vista Business Edition.

  Programming language machine independence

Discuss and explain the main factors that influence programming language machine independence, and how higher levels of machine independence could be achieved.

  Question about information security

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

  A borg unimatrix has 40-bit virtual addresses

A Borg Unimatrix has 40-bit virtual addresses and 32-bit physical addresses. Pages are 32 KB in size. How many entries are needed for the page table? Give all formulas, steps, and compute out the final number as an integer(in humanly readable deci..

  What instructions would you give people in a group session

What instructions would you give people in a group session about how to get their computers to look standardized?2. What policy would you suggest for what to put on the screen so it does not offend anyone?

  Discuss bluetooth technology and different applications

Discuss Bluetooth technology and different applications. Give an overview on emerging trends in wearable computing.

  A small cpu with a 10-bit address bus

a small CPU with a 10-bit address bus. You need to connect a 64-byte PROM, a 32-byte RAM, and a 4-port I/O chip with two address lines. Chip selects on all chips are asserted high.

  Difference between an exclusive lock and a shared lock

Describe the difference between an exclusive lock and a shared lock. Define deadlock and how can it be avoided? How can it be resolved once it occurs?

  Compare video, voice, and data formats.

Compare video, voice, and data formats. Identify at least three bandwidth techniques and how you would manage them with either UDP or TCP protocols

  Perspective of provisions of ebusiness services

Discuss and explain the different roles you might think be fulfilled through Web Services and Web Portals. What do you see as main distinctions between two from the perspective of provisions of eBusiness services?

  Process customer order history from a file

Required help creating a document that Develop an application that will read and procedure customer history order information from a document.

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