You are on page 1of 22

Abstraction and

Solution Modeling
Digital Innovation

Mario Simaremare, S.Kom., M.Sc.


Program Studi Sarjana Sistem Informasi
Institut Teknologi Del
Objectives

• The objective of this session is the following:


• The students are able to elaborate the importance of
abstracting or modeling solution.
• The students are able to abstract or model solution.

Digital Innovation 2
Outlines

1. Recap of previous meeting.


2. Refreshing what you have learned so far.
3. Abstraction.
4. Solution modeling.

Digital Innovation 3
Going Back Through Time

Digital Innovation 4
Computational Thinking

• It is a thought process to develop the best possible solution.


• started by understanding the problem,
finished with a precise and sound solution.

• The solution will be carried out by an agent.


• Agent could be: me, you, us, or … computer.

Digital Innovation 5
Why CT becomes important?

• VUCA world.
• Volatility – things a changing.
• Uncertainty – forecasting is no longer that easy.
• Complexity – more to be considered.
• Ambiguity – best practices are fading away.

• Smart people are out there.


• But still problem solver is rare to find.

Reference: https://www.vuca-world.org/
Digital Innovation 6
Four CT Core Principles

• Decomposition.
• Divide and conquer.
• Abstraction. Algorithm Decomposition
• For a better understanding.
• Pattern Recognition.
• See if there is a pattern of problem
to find existing proven solution. Pattern
Abstraction
Recognition
• Algorithm.
• Define the precise step-by-step
solution.

Digital Innovation 7
Abstraction

Digital Innovation 8
Abstraction: A Definition

• It is a way to express an idea in a specific context while at the


same time suppressing details irrelevant in that context.

• Why this stuff is important?


• Remember that solution should be available for any kind
of agent. Who’s the agent?
• In a general sense, an abstract model is much understandable
compared to the detail and complex structure.
• The solution then translated into structure
that is better suited the targeted agent.

Digital Innovation 9
An Example

• Jabodetabek’s Commuter Line Routes.

• Unrelated information is
completely stripped out.
• Schedules, ticket price, etc.

Digital Innovation 10
Solution Modeling

Digital Innovation 11
Consider A Problem

• I am hungry, what I have are the following:


• A cooked rice.
• A cooking set.
• A kilo of frozen shrimp.
• Plenty ingredients.

• Solution: having a meal with …


• Seafood fried rice? Fried shrimp? Grilled shrimp?

Digital Innovation 12
The Recipe

1. unfreeze the shrimps.


2. prepare the basic ingredients.
3. mix the shrimps with the prepared ingredients.
4. prepare the fryer with enough oil.
5. put a handful of shrimps into the fryer.
6. when the shrimps turn to yellow (about after 3 mins),
remove them from the fryer and drain them.
7. repeat the 5th and 6th steps until no more shrimps left.
8. clean things up.
9. eating time.

Digital Innovation 13
Consider Another Problem

• I am hungry, what I have are the following:


• A cooked rice.
• A cooking set.
• A kilo of frozen shrimp chicken.
• Plenty ingredients.

• Solution: having a meal with …


• Seafood fried rice? Fried shrimp? Grilled shrimp?
• Chicken fried rice? Fried chicken? Grilled chicken?

Digital Innovation 14
The Recipe

1. unfreeze the chicken.


2. prepare the basic ingredients.
3. mix the chicken with the prepared ingredients.
4. prepare the fryer with enough oil.
5. put a handful of chicken into the fryer.
6. when the chicken turns to yellow (about after 3 mins),
remove it from the fryer and drain it.
7. repeat the 5th and 6th steps until no more chicken left.
8. clean things up.

Do you find any similarity?


9. eating time.

Digital Innovation 15
Relate Back to CT

• We have seen the solutions for two very similar problem.


• The solutions were written in an abstract level.

• CT requires the solution should be able to be carried


out by any type of agent.
• Can our two previous solution fulfill the requirement?

Digital Innovation 16
Solution Modeling

• Remember, we are going to make the solution


as abstract as possible.

• Some sort of notation or modeling is needed


for consistent understanding.

Digital Innovation 17
Solution Modeling

• To model algorithm, it is very common to use:


• Formal, pseudocode and flowchart diagram.

• Pseudocode is very close to the actual code.


• Translating to code is very easy.

• Flowchart is more visual to understand.


• It is visual, very good for beginners.

Digital Innovation 18
For Further Look

https://youtu.be/ftjY2oQdP5s https://youtu.be/9T9fEyqRD3o

Digital Innovation 19
To-dos

1. Understand the objective of solution modeling.


2. Start model a solution to fix a problem around you!
3. Watch the other two videos (Visual Programming)

Digital Innovation 20
References

Riley D., Hunt, K. A. (2014). Computational Thinking for the


Modern Problem Solver. Chapman and Hall/CRC.
Wassberg, J. (2020). Computer Programming for Absolute
Beginners. Packt.
Flowgorithm. http://www.flowgorithm.org/

Digital Innovation 21
Thank
you

Digital Innovation 22

You might also like