INTRODUCTION TO PROGRAMMING CONCEPTS

0
   



In this chapter you will learn to 
  • Identify program and programming paradigms
  • Identify various tools to solve problems
PROGRAMS

We are performing number of tasks in our day to day life.Some of the task that we do usually are
  •    crossing traffic signals
  •    Managing budgets
  •    Troubleshooting printers or anything 
  •    
while you are crossing traffic signal
  •    Approach the light
  •    If the light is red,you will stop
  •    If the light is yellow, you will slow down,and then stop
  •    Otherwise the light will be green and you will continue driving.
Similarly, the computer uses a step-by-step procedure to perform a task.A computer is designed to accept input, process it and generate an output.

    Therefore, for each job  that you want to be performed by a computer you require a program.Depending upon the requirements, program may be

    SEQUENTIAL 
   
instructions that are executed one after other.

    DECISION MAKING
   
Instructions that evaluate an expression first and then depemding upon whether the value is true or false, the control is transferred to a particular statement.

    ITERATIVE 
   
Instructions that are executed repeatedly,depending upon the condition or expression.
Fear is a reaction,but courage is a destination

    INTRODUCTION TO PROGRAMMING CONCEPTS