Programming Logic and Techniques (Logic Building)
Input Process Output (IPO) Cycle
Almost everything is depending upon IPO cycle. Let’s take a look at some examples of IPO cycle.
After understanding these above examples, i hope you are clear with IPO cycle. Now it’s your time to guess the correct IPO cycle for following questions.
Q. Display sum of two Numbers.
Before clicking on show button try to find out IPO by your own.
I hope it was easy for you.
Q. Display product(multiplication) of three Numbers.
Think before click on Show button.
I hope it was also easy for you.
Q. Display Average of three Numbers.
Think before click on Show button.
I hope you enjoyed these questions.
So after understanding questions finding IPO from question and creating steps is known as Algorithm. In simple words, Algorithm is steps to solve a problem. This Algorithm (steps of IPO cycle) help you to understand many programming concept in better way!!!
- Factory:
- Raw Material (Input)
- Assembly, Maintenance, Packaging (Process)
- Product (Output)
- Table Fan:
- Electricity (Input)
- Motar spin (Process)
- Air (Output)
- Tea:
- Ingredients like water, tea power, sugar, milk (Input)
- Boil Ingredients (Process)
- Tea (Output)
After understanding these above examples, i hope you are clear with IPO cycle. Now it’s your time to guess the correct IPO cycle for following questions.
Q. Display sum of two Numbers.
Before clicking on show button try to find out IPO by your own.
Take any Two Numbers (Input)
Add these Two Numbers (Process)
Display Sum/Total (Ouput)
Add these Two Numbers (Process)
Display Sum/Total (Ouput)
Q. Display product(multiplication) of three Numbers.
Think before click on Show button.
Take any Three Numbers (Input)
Multiply these Three Numbers (Process)
Display Multiplication/Product (Ouput)
Multiply these Three Numbers (Process)
Display Multiplication/Product (Ouput)
I hope it was also easy for you.
Q. Display Average of three Numbers.
Think before click on Show button.
Take any Three Numbers (Input)
Add these Three Numbers and Divide them by 3 (Process)
Display Average (Output)
Add these Three Numbers and Divide them by 3 (Process)
Display Average (Output)
I hope you enjoyed these questions.
So after understanding questions finding IPO from question and creating steps is known as Algorithm. In simple words, Algorithm is steps to solve a problem. This Algorithm (steps of IPO cycle) help you to understand many programming concept in better way!!!