Question: QUESTION 1 : Define the term PROCESS and describe the relationship between PROCESSES and PROCESS CONTROL BLOCKS also please specify the steps performed by an
QUESTION 1 : Define the term PROCESS and describe the relationship between PROCESSES and PROCESS CONTROL BLOCKS also please specify the steps performed by an OS to create a new process.
For question 2 and 3
This question is to better understand Management of Application Execution by using analogy between restaurant and computer.
CPU is expecting to have two things for each application's process section, a) data (this is ingredients for the cook) and b) Instructions (specific order of the food (recipe)). 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. It will receive data and the instructions for each process.
PROCESS: The food preparation. Customer wants a to have/order foods. Each food order should be prepared based on customers need. Each food order consider to be a process and comes with data and instructions. Customer may order more than one process (i.e. salad, drink and pizza). That means 3 different processes. Consider the customer as an application in computer OS. In this example one application comes with three process.
OPERATING SYSTEM: The rules of the restaurant. The restaurant should be run based on these rules. Like in the computer, all computer resources, CPU, Memory etc. has been managed based on OS. The waiter takes the orders from users (restaurant customers). And make sure all customers orderes was fulfilled
MAIN MEMORY: That keeps the customer orders (Data and Instructions) well organized. In Computer this is RAM.
PROCESS STATES:
Running: The process (the food order) that is currently being executed by CPU ( i.e. Cook is working on the food order )
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. New customer came in and order new food.
The process was completed by the CPU ( Food was prepared and deviled to the customer )
QUESTION 2 : Develop State Process Model for this system. the 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 )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
