0% found this document useful (0 votes)
11 views

Problems Solving Lecture-1

Uploaded by

saad.ahm.salama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Problems Solving Lecture-1

Uploaded by

saad.ahm.salama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

Problem Solving

Techniques
Introduction
●Before programming, the logic for solving
the problem must be designed.
●The program design is represented by
means of flowcharts, pseudo code, and
structured english.
●Program design lead to the detection of
logical errors.
Algorithm
● Computer-based problem solving should proceed
systematically.
● Algorithm is the sequence of instructions for solving
a problem.
● In another meaning, a step by step progression
towards a solution.
● It specifies the sequence of operations in order to
achieve a goal.
Flowchart Components
Flow Chart Connectors
Pseudo code
● Pseudocode: is a tool that helps in developing
and checking the program logic .
● Pseudo means false or imitation
● Code means program instructions
● It describe the program using english language
and certain programing control words such as
if .. then .. Else and others.
Difference between pseudo code & flowchart
● Pseudo code is in english and uses structures
similar to basic program.
● Flowchart tends to extend all directions and all
paths of instructions.
● Advantages of pseudocode over flowchart:
● Less time consuming.
● Easier to modify.
● Easier to code from pseudocode.
● Easily readable and understandable.

You might also like