What is Programming Logic and Techniques (Logic Building)?

If you are thinking to start learning any programming language like C, C++, C#, Java or any other programming language. Then it is recommended to start from Basic of Programming.

If you are good in Programming then this "Programming Logic and Techniques (Logic Building)" is optional for you. But still if you feel trouble in writing program then it is recommended to start with Programming Logic and Techniques (Logic Building).

Programming Logic and Technique (Logic Building) is a technique to write program using your mind. Those who face difficulties to write program by using your own mind then they can learn this Programming Logic and Techniques (Logic Building). No matter what kind of programming language you want to learn but this thing will surely help you to understand concept of programming.

If you are ready to learn Programming Logic and Techniques (Logic Building) topic then move to next Page.

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

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