Programming Logic and Techniques (Logic Building)

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.
  • Factory:
    • Raw Material (Input)
    • Assembly, Maintenance, Packaging (Process)
    • Product (Output)
I hope that was simple, now next one.
  • Table Fan:
    • Electricity (Input)
    • Motar spin (Process)
    • Air (Output)
So simple…
  • 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)
I hope it was easy for you.


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)

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)

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!!!

Newer Posts Older Posts
© Copyright Code Tadka Published.. Blogger Templates
Back To Top