Professional Documents
Culture Documents
PROBLEM SOLVING-WPS Office
PROBLEM SOLVING-WPS Office
ENGINEERING
PROBLEM SOLVING TECHNIQUES
By k. misba Khan (19F71A0533)
C O N T E N T S
4 Coding
6
Debugging & Testing
3 Problem Analysis
An algorithm to find
largest of three different
numbers
Features of Algorithms
1.Sequence
Each step in the algorithm in executed in specified order.
If not algorithm will fail.
We have to make decision to do something other.
2.Decision
- If the outcome of the decision is true, one thing
is done otherwise
If condition then processl 3.Repetation For example
OR Repeat
If condition Fill Water in the kettle
then process1 Until Kettle is full
Else process2
5
Flowcharts
4. Efficiency Increase
1. Effective Analysis
5 . Instant Communication
2.Effective Coordination
6. Problem Solving
3.Proper Documentation
6 Coding & Compiling
1.Coding
Coding is the set of human- After the compiling
readable instructions a process we obtain out put
programmer writes. For example, in computer display
the text of a program written in C,
C++, C#, Java, etc
Compiling
INPUT
A compiler is a computer
program that translates
computer code written in
one programming
language into another
language OUTPUT
7 Execution , Debugging &
Testi ng
• Once the compilation is completed then the
program is linked with other object programs
A
needed for execution, there by resulting in a
binary program and then the program is loaded
*Execution
in the memory for the purpose of execution and
finally it is executed.
• The program may ask user for inputs and
generates
• outputs after processing the inputs
• Debugeing is the discovery and correction of
Programming errors.