Question

Compatible Timesharing System (CTSS) has a priority scheduler. A process initially gets 1 quanta of time,...

Compatible Timesharing System (CTSS) has a priority scheduler. A process initially gets 1 quanta of time, then 2 quanta, then 4 quanta, 8 quanta, 16 quanta, 32 quanta, and 64 quanta where quanta is the length of the time quantum. Between time quanta, the process is swapped out. Thus for a process that has a service time of 100, it would take 7 swaps to disk (including when it was loaded into memory for the first time). Suppose a process had a service time of 30, how many times must it be swapped in before it complete using the CTSS

Homework Answers

Answer #1

When The Process has CTSS as 30

Lets See how many Times The Process is Swapped

1. It was loaded into memory for the first time so 1 Swap And run for Time Quantum 1

Remaining CTSS = 29

2.Now It gets swapped and run for time quantum 2

Remaining CTSS = 27

3. Again Swap and run for time quantum of 4

Remaining CTSS = 23

4 Again Swap and run for time quantum of 8

Remaining CTSS = 15

5. Swapped Last Time and run for time quantum of 15 only .

Remaining CTSS =0

Hence Total Number of Swaps = 5 ( including when it was loaded into memory for the first time).

This is how we can get the number of swaps for any process in given time quantums

Thank You

Do like the answer and have any doubt drop in comments

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Review the Robatelli's Pizzeria Case Study. Develop another internal controls system, but this time, in the...
Review the Robatelli's Pizzeria Case Study. Develop another internal controls system, but this time, in the purchases and fixed assets business areas. Prepare a 12- to 16-slide presentation describing the purchases and fixed assets business areas. Be sure to incorporate speaker notes as well as appropriate visuals, graphics, fonts, etc. Include any associated risk in these areas. Describe specific internal controls that include authorization of transactions, segregation of duties, adequate records and documentation, security of assets, and independent checks and...
QUESTION 1 (60) Read the case study below and answer the questions that follow. Transforming a...
QUESTION 1 (60) Read the case study below and answer the questions that follow. Transforming a pharmacy together: the Charlotte Maxeke Johannesburg Academic hospital. Before 2015, the patient experience at the Charlotte Maxeke Johannesburg Academic Hospital pharmacy went something like this: take the day off work to have your prescription filled; line up at dawn before the pharmacy opens in hopes of beating the rush; once inside, wait up to several hours for your prescription to be filled; or worse,...
1.Establishing the virtual Management: As known, managing virtual staff requires a different method or approach than...
1.Establishing the virtual Management: As known, managing virtual staff requires a different method or approach than managing local staff. Due to that reason, Golden Scent has developed a strategic plan to successfully manage its virtual staff in the USA. Identify the suitable manager. to make sure our work will proceed as we planned, Golden Scent willrecruit a virtual manager with the essential skills and knowledge required to manage virtual employees. Find the skilled people to work with. Since not everyone...
QUESTION 1 ? What is the relationship between family dysfunction and schizophrenia? a. ?Research has substantiated...
QUESTION 1 ? What is the relationship between family dysfunction and schizophrenia? a. ?Research has substantiated a link between family dysfunction and schizophrenia but can't say which causes the other. b. ?Family dysfunction is a major causative factor for schizophrenia. c. ?Research has failed to substantiate a direct causal link between family dysfunction and schizophrenia. d. ?Family dysfunction plays a minor role in developing schizophrenia. 1.00000 points    QUESTION 2 ? Chuck has no life plan; he simply lives from...
1. The failure of the new supply chain system affected Nike adversely. What were the reasons...
1. The failure of the new supply chain system affected Nike adversely. What were the reasons for the failure and how did the breakdown harm Nike? 2. What are the important elements to be kept in mind while implementing a new system in an organization? What is the importance of a good working relationship between partners and the sharing of responsibility in implementing critical projects? What mistakes did Nike and i2 make? 3. comment on the lessons learned and the...
      MK Restaurant: Branding of Thai-Style Hotpot The restaurant industry is one of the most...
      MK Restaurant: Branding of Thai-Style Hotpot The restaurant industry is one of the most competitive in Thailand. With a large number of players ranging from restaurants in five-star hotels, global fast-food chains to small stalls along the streets and everything in between, the Thais are spoiled for choice. In addition, as the world becomes globalized, consumers are familiar with international dishes and would not hesitate to try new offerings from the other side of the globe. As a...
1. Which is the most accurate definition of the study of economics? [1] Distributing surplus goods...
1. Which is the most accurate definition of the study of economics? [1] Distributing surplus goods to those in need. [2] Dealing with affluence in a morally bankrupt world. [3] Using scarce resources to satisfy unlimited human wants. [4] Reducing human wants to eliminate the problem of scarcity. 2. Computer software represents [1] labour. [2] land. [3] capital. [4] entrepreneurship. 3. Suppose you have graduated with a degree in accounting and are offered a job with an accounting firm. But...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From the April 2004 Issue Save Share 8.95 In 1991, Progressive Insurance, an automobile insurer based in Mayfield Village, Ohio, had approximately $1.3 billion in sales. By 2002, that figure had grown to $9.5 billion. What fashionable strategies did Progressive employ to achieve sevenfold growth in just over a decade? Was it positioned in a high-growth industry? Hardly. Auto insurance is a mature, 100-year-old industry...
What tools could AA leaders have used to increase their awareness of internal and external issues?...
What tools could AA leaders have used to increase their awareness of internal and external issues? ???ALASKA AIRLINES: NAVIGATING CHANGE In the autumn of 2007, Alaska Airlines executives adjourned at the end of a long and stressful day in the midst of a multi-day strategic planning session. Most headed outside to relax, unwind and enjoy a bonfire on the shore of Semiahmoo Spit, outside the meeting venue in Blaine, a seaport town in northwest Washington state. Meanwhile, several members of...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT