5 steps of problem solvin cycle
what is codin
codin is the technical word fro writin a proram. thji step is to translate the aloritm into a prora,min lanuae
testin
estin is the process of findin errors in the proram
debuin
the process of correctin errors found durin the testin process
documentation
it is intended to allow another person or prorammer to understand the proram at a later date
miht also conain a adetrailedx description of what the proram does and how to use the proram
maintainin a aproram
involves modifiyin the prorams to emove previuouly undetected errors, to enhance the proram with different features or functionality, keepin the proram up to date with ivernment reukationso rcompany policies
decomposition
the process of breakin down a bi or complex problems into a set of smaller sub processes to allow us to describe, understand or execute the problem better
2. breakin a lare problem into more manaeable sub problems
what does decomposition involve
2. identifyin elemts or parts of a complex system
what is the need of decomposition
lare problems are disproportionately harder to solve than smaller problems
algorithm
the set of rules that define how a particular problem can be solved in finite number of steps
-contains finite steps each of which may require one or more operations
constraints on type of operations an alorithm van include
characteristics of a good algorithm
components of an algorithm
program and algorithm relation
a program is the expression of an algorithm in a prorammin lanuae
algorithm can be expressed in what ways
2. PSEUDO - CODE
FLOWCHART
functions of flowcharts
flowchart symbol - OVAL
start and stop
flowchart symbol - PARALLELORAM
input and output
flowchart symbol - RECTANLE
processin
flowchart symbol - DIAMOND
decision box
flowchart symbol - CIRCLE
connector ???
—–>—- and upward arrow
flow of control symbol
_
I
———-
I_
annotation