Logic Building

Leave a Comment


Hello,

This topic is for any one those who want to start learning programming. This is very basic and important part before start learning any programming language. This topic is for those people who don't know how to write program by your own. This topic helps you to understand the important basic concepts of programming. At the end of this you will able to write program by using your mind.


Introduction:
 So, what is Logic Building? Before you know what is Logic Building lets think about computers. Do computer understand our language like English, Hindi or Any other communication language? If you think computer can understand our language then you are wrong!!! Then you may think 'how can we can type in English???'? Actually the thing which you type in English there is long coding behind everything... So try to understand this concept. Computer don't know any communication language. Then which language computer can understands??? Computer knows only Binary Language. What is Binary Language? Binary language made by the combination of 0 and 1, where 0 stands for off and 1 stands for on.

Don't worry we are not learning Binary Language to communicate with computers, we are just understanding the basic things related with computer. So if we are not going to study Binary Language then how we can communicate with computer without Binary Language? Don't worry if you know word programming then programming language is way to communicate with computer. Language is way of communication but programming language is way of communication with computers. This way we can give instructions to the computer.

There are lots of programming language now a days. But C Programming is basic programming language. I strongly recommend that before you learning any other programming language its better to start with C++ programming language. You may think 'Why to start with C++ programming and why not with C programming language? Because this C programming language is developed for Unix Operating System which is not comfortable for new programmers and C++ programming language is best for new programmers without any programming knowledge that's why it is better to start with C++ programming language. But if you directly start  learning C or C++ Programming Language then you may feel uncomfortable with this language... or if you are not able to understand what is going on... or if you think this is not for me!!! Then don't worry the solution of your problem is Logic Building.

Before you start learning Logic Building you must have basic computer knowledge. Now this is actual time to start with basic part of programming which is Logic Building.


Input Process Output Cycle (IPO):
This is very important and basic part in programming. Every program is related with situation.

Input Process Output (IPO) Cycle


There are lots of things where you can find example of IPO cycle. Let's take example of Factory. In factory what is important? Obviously Input without it there is no process and no output. So this is how it is related with each other. There are many things which are depends upon IPO cycle.

Lets talk about communication, in communication there is also IPO cycle. Where Listening is Input, Thinking is Process and Speaking is Output. Lets take another example table fan, what is important thing for fan? Of-course electricity, without it fan can't do process and can't give air flow as output.

So in simple words almost every thing related with input, process and output. This IPO cycle can be implemented through 'Technique to Solve Problem' content.

Technique to Solve Problem:

To solve a problem we must understand what is the actual problem, to solve this problem what is necessary?
  • We have to find out Input, Process and Output from that problem which is consider as IPO cycle.
  • Then we write Algorithm (general steps to solve a problem) based upon IPO Cycle.
  • Then we convert algorithm in a Flowchart (graphical representation of steps to solve a problem).
  • At the end we have Flowchart and which is used to write Program.
     
This way first we need to find out IPO from question. Then this IPO cycle convert into the Algorithm. And then this Algorithm used as steps to draw a Flowchart. This Flowchart help us to create proper Program.

Don't get confused with Algorithm and Flowchart words. This Algorithm is not part of maths so don't worry. Algorithm means basic steps to solve a problem this steps come up through IPO cycle.



Now let's take look at example of real programming question.

Stay tune to know more.. :)

To Be Continue...

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment