Question: For question 2 and 3 Computer OS functions resembles a working Restaurant. In the case we are going to make OS and Restaurant analogy. Consider
For question 2 and 3
Computer OS functions resembles a working Restaurant. In the case we are going to make OS and Restaurant analogy. Consider the below given parameters while working on the questions 2 and 3.
The parameters of the OS and Restaurant analogy.
CPU: The cook who prepares the food based given ingredient (data) and instructions
PROCESS: The food preparation. Customer wants a to have special food. Each food should be prepared based on customers need. Data and instructions
OPERATING SYSTEM: The rules of the restaurant. The restaurant should be run based on these rules. The waiter takes the orders from users (restaurant customers). And make sure all customers ordered was fulfilled
MAIN MEMORY: That keeps the customer orders (Data and Instructions) well organized .
PROCESS STATES:
- Running: The process (the food order) that is currently being executed by CPU ( i.e. Cook)
- Ready: A process that is prepared to execute when given the opportunity
- Blocked/Waiting: A process that cannot execute until some event occurs,
- New: A process that has just been created but has not yet been admitted to the pool of executable processes by the OS
- The process was completed by the CPU,
QUESTION 2 : Develop State Process Model for this system. Your name should be on the diagram
QUESTION 3: There are four customers coming to the restaurant on Monday. All four orders food to eat in the restaurant . You should be developing process states for trace for the given cases below. This is going to be timeline for the cook ( i.e CPU )
The parameters are:
Restaurant opens at 10:00AM and closes at 5:00PM
Each food other takes 30 minutes to prepare. Total CPU /Cook processing time for one process order is 30 minutes.
Customer 1 Arrival time 10:00 Orders three different foods
Customer 2 Arrival time 10:00 Orders four different foods
Customer 3 Arrival time 2:00PM Orders three different foods
Customer 4 Arrival time 3:00PM Orders two different foods
Develop timeline diagram for the cook ( i.e CPU )
Your name should be on the diagram
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
