Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Algorithm and flowchart2010

26,820 views

Published on

Review!

Published in: Education, Technology

Algorithm and flowchart2010

  1. 1. Algorithm and Flowchart<br />INTRODUCTION TO PROGRAMMING<br />
  2. 2. Remember a computer is only a problem-solving tool! (one of the many different tools engineers use in solving problems)<br />Introduction<br />
  3. 3. Recognize and understand the problem.<br /> Accumulate facts.<br /> Select appropriate theory.<br /> Make necessary assumptions.<br /> Solve the problem.<br /> Verify results.<br />Method of Problem Solving<br />
  4. 4. The 5 steps in using a computer as a problem-solving tool<br />Develop an Algorithm and a Flowchart.<br /> Write the program in a computer language. (i.e. Fortran, C)<br /> Enter the program into the computer.<br /> Test and debug the program.<br /> Run the program, input data, and get the results from the computer.<br />
  5. 5. a step-by-step method for solving a problem or doing a task.<br />An algorithm is a sequence of unambiguous instructions for solving a problem.<br />The number of steps of an algorithm will be countable and finite.<br />It is a sequence of instructions (or set of instructions) to make a program more readable; a process used to answer a question.<br />Algorithm<br />
  6. 6. An Algorithm is just a detailed sequence of simple steps that are needed to solve a problem.<br /> A Flowchart is a graphical representation of an algorithm.<br />Brief Definition<br />
  7. 7. There are two commonly used tools to help to document program logic (the algorithm). These are<br />flowcharts and Pseudocode.<br />
  8. 8. Pseudocode- specifies the steps of algorithm using essentially natural language of superimposed control structure.<br />Flowchart - a traditional graphical tool with standardized symbols. Show the sequence of steps in an algorithm.<br />Methods of Specifying Algorithm<br />
  9. 9. The flowchart should flow from top to bottom<br />If the chart becomes complex, utilize connecting blocks<br />Avoid intersecting flow lines<br />Use meaningful description in the symbol<br />Flowcharting Guidelines<br />
  10. 10. T . O. L.<br />
  11. 11. Quiz<br />1. What is an algorithm?<br />2. Two major tools of algorithm?<br />
  12. 12. 3.What is a Pseudocode?<br />4. What is a Flowchart?<br />5. Give one of the guidelines of Flowcharting.<br />6-10 What are the Steps in Program Development?<br />

×