Programming-techniques
Programming-techniques
Maham Shuja
[email protected]
Computer
Computer: A computer is a general-purpose electronic machine
invented to help' people solve various problems Computer must
be programmed by human beings to perform various tasks
programming techniques are used for solving problems on
computer.
OR
Computer: Computer is an advanced electronic device that
takes raw data as input from the user and processes it under the
control of set of instructions (called program}. gives the result
(output} and saves it for the future use.
Algorithm
Algorithm: . Algorithm means method,
procedure technique or plan .
Algorithm is a step- by-step problem solving
method that is easy to understand and follow. It is
a set of steps that clearly define a sequence of
operations to solve a problem.
Role of algorithm in problem solving:
Algorithms play an important role in computer
programming.
Computer programming is the process of taking
an algorithm and coding it in a programming
language.
Formulating an algorithm is the first step for
developing a computer program.
Measuring Efficiency of an Algorithm