カテゴリー 全て - algorithms - abstraction - decomposition - information

によって Niket Fadadu 5年前.

445

Restaurant System

Many restaurants operate using a universal sequence of steps, from seating guests to delivering the check. This sequence is essentially an algorithm, breaking down complex tasks into manageable parts.

Restaurant System

Floating topic

Restaurant System

Algorithms

Algorithms are a form of decomposition. It takes a complex task and breaks it down intoa smaller subset of problems. How the kitchen works is a much more complicated algorithmbut they use decomposiiton to make things work
Although not with computer systems, abstraction usually occurs in algorithms. For example when making an algorithm on how to make a PBJ you probably would abstract the algorithm and not put the step "place the bread on the plate"
Most restaurants follow a universal algorithm from the guests getting seated to the check arriving.

Abstraction

Sometimes the name of this dish on the menu is too complicated or the ingredients are just too exotic. In order to reduce complexity and just focus on what is important the menu will show the picture of this dish.

Decomposition

The picture of the dish is usually shown on the menu. The individual ingredients (roughly) are listed, also on the menu, near the picture. The ingredients listed can be considered decomposition because it is breaking down the complex picture into smaller more understandable ingredients

Information

There is another definition of information: information as a process. This process is communicated through an algorithm. In a restaurant the algorithm is the food being prepared and making its way to different parts of the kitchen. The information aspect is the action of telling someone on which step of the algorithm the dish is on
Sometimes abstracting information can be mad. For example, at a restaurant the meticulous detail in the recipe may be what makes the dish great. Abstracting the dish: focusing only on the important parts could possibly not be good for the food. The little things matter
Infomation is required for either decomposition or abstraction to occur. For example, with the menu you have the information which is the dishes thus you can decomp it into ingredients or abstract it into an image. You are manipulating the information
Information can be used attributively for objects such as the Menu. This is regarded as being informative because it has the quality of imparting knowledge.