Describe the role of process synchronization for both system

Assignment Help Other Subject
Reference no: EM132167723

Question: Answer the following questions:

1. Describe context-switching in a common, real-life example, and identify the "process" information that needs to be saved, changed, or updated when context-switching takes place.

2. Five jobs (A, B, C, D, E) are already in the READY queue waiting to be processed. Their estimated CPU cycles are respectively: 2, 10, 15, 6, and 8. Using SJN, in what order should they be processed? Explain your answer.

3. Describe the advantages of having a separate queue for a Print I/O interrupt and for a Disk I/O interrupt as discussed in Lecture 4's "Example: Job and Process State Transition".

4. Compare the processors' access to main memory for the loosely coupled configuration and the symmetric multiprocessing configurations. Give a real-life example (not from lecture or textbook!) where the symmetric configuration might be preferred.

5. Describe the programmer's role when implementing explicit parallelism.

6. Give a real-life example (not from lecture or textbook!) of busy-waiting.

7. Compare and contrast multiprocessing and concurrent processing. Describe the role of process synchronization for both systems.

8. Describe the purpose of a buffer and give an example from your own experience (not from lecture or textbook!) where its use clearly benefits system response.

9. Give an original "real life" example (not related to a computer system environment, not discussed in our textbook or in lecture) of each of these concepts: deadlock, starvation, and race.

10. Using the narrow staircase example from the beginning of this chapter, create a list of features or actions that would allow people to use it without causing deadlock or starvation.

11. As discussed in this chapter, a system that is in an unsafe state is not necessarily deadlocked. Explain why this is true. Give an example of such a system (in an unsafe state) and describe how all the processes could be completed without causing deadlock to occur.

12. Given the four primary types of resources-CPU, memory, secondary storage, and files-select for each one the most suitable technique described in this chapter to fight deadlock and briefly explain why you choose it.

13. Explain the differences between blocking and buffering.

14. Minimizing the variance of system response time is an important goal, but it does not always prevent an occasional user from suffering indefinite postponement. What mechanism would you incorporate into a disk scheduling policy to counteract this problem and still provide reasonable response time to the user population as a whole? Explain your answer.

15. Explain the difference between buffering and spooling.

16. Under light loading conditions, every disk scheduling policy discussed in this chapter tends to behave like one of the policies discussed in this chapter. Which one and why?

17. Track requests are not usually equally or evenly distributed. For example, the tracks where the disk directory resides are accessed more often than those where the user's files reside. Suppose that you know that 50 percent of the requests are for a small, fixed number of tracks. Which one of the scheduling policies presented in this chapter would work best under these conditions? Explain your answer.

Reference no: EM132167723

Questions Cloud

What are some best practices for employee development : What can managers and organizations do to effectively develop their employees and to keep them highly motivated.
Development and implementation of a cultural mindset : You will address the development and implementation of a cultural mindset among a diverse global group of employees - discussion of the communication methods
How companies use information systems : For this week's discussion, select one of the three areas (listed below) and discuss how companies can use information systems and the data within them).
Utilize content in the ADA Act : Utilize the content in the ADA Act to support your responses and conclusions.
Describe the role of process synchronization for both system : Compare and contrast multiprocessing and concurrent processing. Describe the role of process synchronization for both systems.
Can an organization change its structure quickly : Can an organization change its structure quickly? Why or Why not? Should ?Explain your answer.
Identify a specific health technology that has been used : Identify a specific health technology that has been used within the last 10 years.
Assignment on impact on managed care : This assignment will assess the competency 5. Summarize the evolution of managed care, including the forces that have driven this evolution.
What are the formulas for the basisbreak-even equation : What are the formulas for the basisbreak-even equation. The basis breakeven equation expanded to include indirect costs and desired profit?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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