Question
Hi Everyone, Enclosed are the questions.. I am very, very, very interested in Operating Systems and their usage in computer science, but am confused by
Hi Everyone,
Enclosed are the questions.. I am very, very, very interested in Operating Systems and their usage in computer science, but am confused by these questions. Please, please, please answer the following questions regarding Operating Systems.
Question 1. Jordan notices her system response time is very slow. To improve the performance, she decides to reduce the systems time slice from 120 ms to 5 ms. Her system takes 4 ms to change from one process to another (counted as part of that processs time slice). Is Jordans time slice reduction a good way to improve performance? Justify your response.
Question 2. Processor utilization is the percentage of time that the processor spends doing useful work (such as executing arithmetic instructions). Assume that an individual process in a system spends about 75% of its time waiting for I/O operations to be completed (not useful work). When Process X is waiting on I/O, the processor can execute Process Y. For both parts (a) and (b), show your work.
-
What is the processor utilization if four processes are loaded into memory?
-
How many processes should we keep in memory if we want processor utilization to be at least 85%?
Question 3. Answer the following questions using this virtual memory table.
a. What range of addresses should replace the question mark in the above table?
b. Program A wants to access a variable stored in virtual address 35. What physical address is this variable stored in?
Question 4: Consider a Python program that is stored in your computers memory. For this program, what is the first virtual address (give a number)? Is this guaranteed to be the same as the first physical address? Why or why not?
Physical Memory Address Virtual Memory Address Allocated To: 0 - 15 0 - 15 16 - 31 0 - 15 32-47 16 - 31 Program A Program B Program A Program A Program B 48-63 32-47 64 - 79 ? Physical Memory Address Virtual Memory Address Allocated To: 0 - 15 0 - 15 16 - 31 0 - 15 32-47 16 - 31 Program A Program B Program A Program A Program B 48-63 32-47 64 - 79Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started