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 questions 2 and 3. The parameters of the OS and Restaurant analogy. CPU: The cook who prepares the food based on given ingredients (data) and instructions. It will receive data and instructions for each process.  PROCESS: The food preparation. The customer wants to have/order food. Each food order should be prepared based on customers' needs. Each food order considers to be a process and comes with data and instructions. Customers 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 processes.  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. have been managed based on OS. The waiter takes the orders from users (restaurant customers). And make sure all customer's orders were 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 the 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. A new customer came in and ordered new food. The process was completed by the CPU ( Food was prepared and delivered to the customer )    Develop a State Process Model for this system.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Topic Video
Question

 

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 questions 2 and 3.

The parameters of the OS and Restaurant analogy.

CPU: The cook who prepares the food based on given ingredients (data) and instructions. It will receive data and instructions for each process. 

PROCESS: The food preparation. The customer wants to have/order food. Each food order should be prepared based on customers' needs. Each food order considers to be a process and comes with data and instructions. Customers 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 processes. 

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. have been managed based on OS. The waiter takes the orders from users (restaurant customers). And make sure all customer's orders were fulfilled

MAIN MEMORY:   That keeps the customer orders (Data and Instructions) well organized. In Computer this is RAM.

PROCESS STATES:

  1. Running: The process (the food order) that is currently being executed by the CPU  ( i.e. Cook is working  on the food order )
  2. Ready: A process that is prepared to execute when given the opportunity
  3. Blocked/Waiting: A process that cannot execute until some event occurs,
  4. New: A process that has just been created but has not yet been admitted to the pool of executable processes by the OS. A new customer came in and ordered new food.
  5. The process was completed by the CPU ( Food was prepared and delivered to the customer )

 

 Develop a State Process Model for this system.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education