Problem Solving 'ith the Se-uential .
ogic Structure
Chapter +
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
/b0ectives
1# $se the se-uential logic structure to develop a solution to a problem# 2# $se the proper 2orm 2or instructions in an algorithm and a 2lo'chart# 3# $se the seven problem4solving tools to develop a solution to a problem#
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
5able +#1 ,lgorithm "nstructions and 6lo'chart Symbols
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
5able +#1 ,lgorithm "nstructions and 6lo'chart Symbols
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#1 6lo'chart 7iagram 2or the Se-uential Structure
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#2 ,lgorithm and 6lo'chart to !nter and Print 5'o 8ariables
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#3 Problem ,nalysis Chart9"nterest Problem
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#* 5he "nteractivity Chart9"nterest Problem
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#+ 5he "P/ Chart9"nterest Problem
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#: Coupling 7iagram
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#) 7ata 7ictionary
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#8a ,lgorithm and 6lo'chart 2or InterestControl ;odule
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#8b ,lgorithm and 6lo'chart 2or Read ;odule
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#8c ,lgorithm and 6lo'chart 2or Calc ;odule
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
6igure +#8d ,lgorithm and 6lo'chart 2or Print ;odule
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#
Seven 5ools/Steps 2or developing a solution to a problem
1# 2# 3# *# +# :# )# ,nalyse the problem 7evelop the structure chart 7evelop the "P/ chart 7evelop the coupling diagram and the data dictionary 7evelop the algorithms 7evelop the 2lo'charts 5est the solution
Sprankle/Hubbard Problem Solving and Programming Concepts, 8e
Copyright 200 by Pearson !ducation, "nc# $pper Saddle %iver, &e' (ersey 0)*+8 ,ll rights reserved#