What is programming ?

Saturday, January 30, 2010

Let us first understand what is programming .

A program is a steps taken to perform a task or job.

A real life example will be we program our selves to come from home to college.

We have planning in our mind as when we will get up , then in how much time we will get ready, then at what time we should catch bus or train etc. We have a order of sequence for the steps we perform

i.e. we do not sit in the bus and then start brushing our teeth.

Now let us take example of addition of two numbers 22 and 33 with help of a calculator.

Our steps or program will be as follows

1. Enter 22
2. Press '+' key
3. Enter 33
4. Press '=' key
5. See the result on screen.

Similarly we can write logical steps to perform a task in computer language and execute it to get the desired result.

It will be important to understand that logical steps to perform a task remains same even if computer language changes . The only thing changes from language to language is there commands and syntax.

0 comments: