Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 16

Department of COMPUTER SCIENCE

ENGINEERING
PROBLEM SOLVING TECHNIQUES
By k. misba Khan (19F71A0533)
C O N T E N T S

1 Introducton 3 Problem Analysis


Algorithms & it's
2 Methods of problem solving 4
feature
C O N T E N T S

Executi on, debugging &


5Flowcharts & it's Advantage7
Testi ng
6Coding & Compilati on 8 Conclusion
01
Introduction
- Problem solving is a process of transforming the description of a problem into the
solution of that problem by using our knowledge of the problem domain and
byrelying on our ability to select and use appropriate problem-solving
Strategies,Techniques and Tools.
Methods while solving a problems using
2
computer
Problem Analysis
Algorithm development
1 2
3 Flowcharting

4 Coding

5 Compilation & Execution

6
Debugging & Testing
3 Problem Analysis

Example: Banking Solution,


Hospital Medical Study
Inadequate identification of
problem may cause program
less useful and insufficient.
We need to analyze and
understand it well before
solving.
Process of becoming
familiar with the
problem.
4 Algorithm development
Step By Step description of the method To solve a problem.

An algorithm to find
largest of three different
numbers
Features of Algorithms

Enter your text here, or paste your text here.

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

A fl owchart can also be defi ned as a diagrammati c representati on of an


algorithm, a step-by-step approach to solving a task.
The fl owchart shows the steps as boxes of various kinds, and their order
by connecti ng the boxes with arrows.
Diff erent types of
fl owcharts

• Flowcharts use special shapes to


represent different type
• s of actions or steps in a process. Lines
and arrows show the sequence of the
steps, and the relationships among them.
These are known as flowchart symbols.
Advantages of 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.

D • Some errors may remain in the program because


*Debugging & Testing the designer/programmer might have never
thought about a particular case.

• When error appears debugging is necessary.


Conclusion
• For a problem to be solved, We must first recognize,
acknowledge,
and explore the problem itself.
• Even best strategies cant guarantee success if members
fail
to accomplish tasks or have positive relationships
• Only then can we ask the right questions and make
the right decisions.
THANK YOU
THANK YOU FOR WATCHING

You might also like