An algorithm is a step-by-step process for solving a problem or completing a task. There are two main tools used to document algorithms: flowcharts and pseudocode. A flowchart is a graphical representation of an algorithm that uses standardized symbols to show the sequence of steps, while pseudocode specifies the algorithm steps using natural language. The five steps in using a computer as a problem-solving tool are: developing an algorithm and flowchart, writing the program code, entering the program into the computer, testing and debugging the program, and running the program to obtain results.
Remember a computeris only a problem-solving tool! (one of the many different tools engineers use in solving problems)Introduction
3.
Recognize and understandthe problem. Accumulate facts. Select appropriate theory. Make necessary assumptions. Solve the problem. Verify results.Method of Problem Solving
4.
The 5 stepsin using a computer as a problem-solving toolDevelop an Algorithm and a Flowchart. Write the program in a computer language. (i.e. Fortran, C) Enter the program into the computer. Test and debug the program. Run the program, input data, and get the results from the computer.
5.
a step-by-step methodfor solving a problem or doing a task.An algorithm is a sequence of unambiguous instructions for solving a problem.The number of steps of an algorithm will be countable and finite.It is a sequence of instructions (or set of instructions) to make a program more readable; a process used to answer a question.Algorithm
6.
An Algorithm isjust a detailed sequence of simple steps that are needed to solve a problem. A Flowchart is a graphical representation of an algorithm.Brief Definition
7.
There are twocommonly used tools to help to document program logic (the algorithm). These areflowcharts and Pseudocode.
8.
Pseudocode- specifies thesteps of algorithm using essentially natural language of superimposed control structure.Flowchart - a traditional graphical tool with standardized symbols. Show the sequence of steps in an algorithm.Methods of Specifying Algorithm
9.
The flowchart shouldflow from top to bottomIf the chart becomes complex, utilize connecting blocksAvoid intersecting flow linesUse meaningful description in the symbolFlowcharting Guidelines