YOGYAKARTA - The term algorithm is often used in the field of computer science. However, we can actually apply the term algorithm in various aspects of life. Examples of algorithms in everyday life include making coffee, reading recipes, and so on.

In terms of language, the origin of the algorithm's word "algorism" comes from the name of an Arab scientist, namely Abu Ja'far Muhammad Ibnu Musa Al-Khawarizmi. At that time, the word "Al-Khuwarizmi" was read by Western people as "algorism".

As for the terms, the algorithm can be interpreted as a logic process or problem-solving steps that are systematically structured in a logical way or language. So, what are the examples of algorithms in various areas of life? Check out the reviews below.

Quoted from the book Algorithm and Programming Using Java Programming Language (Theory and Application) compiled by Yuniansyah, below are some examples of algorithms in everyday life.

Before formulating an algorithm for making coffee, you need to define input (input) and output first.

For algorithms for making coffee, the input is in the form of coffee powder and output in the form of hot coffee drinks. Thus, an example of an algorithm for making coffee is as follows:

The order of the algorithm above can vary depending on the condition. For example, if the ingredients for making coffee do not exist yet, then the composition of the algorithm will be longer and more complex.

An example of an algorithm for making eggs is as follows:

An example of an algorithm in the next daily life is crossing the road. When you travel to a destination, sometimes you have to cross the road.

Crossing the road can be done via a pedestrian bridge or zebra crossing on the highway if there is no crossing bridge.

Examples of algorithms for crossing the road are as follows:

Algorithm crossing the road above is an algorithm in general. This algorithm can be simpler if you cross where traffic lights are generally equipped with signs for people crossing the road.

Another example of the application of algorithms in everyday life is the morning routine that can be worked out. The example of the morning routine algorithm, is as follows:

Examples of algorithms for brushing teeth are as follows:

That's a review of examples of algorithms in everyday life. Hopefully useful! Visit VOI.id to get other interesting information.


The English, Chinese, Japanese, Arabic, and French versions are automatically generated by the AI. So there may still be inaccuracies in translating, please always see Indonesian as our main language. (system supported by DigitalSiber.id)