1 / 16

Flowcharts

Flowcharts. Amir Haider Lecturer NFC IEFR. Introduction. The flowchart is a means of visually presenting the flow of data through an information processing systems, the operations performed within the system and the sequence in which they are performed.

wilmer
Download Presentation

Flowcharts

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Flowcharts Amir Haider Lecturer NFC IEFR

  2. Introduction • The flowchart is a means of visually presenting the flow of data through an information processing systems, the operations performed within the system and the sequence in which they are performed. • The program flowchart can be likened to the blueprint of a building.

  3. A designer draws a blueprint before starting construction on a building. Similarly, a programmer prefers to draw a flowchart prior to writing a computer program. • As in the case of the drawing of a blueprint, the flowchart is drawn according to defined rules and using standard flowchart symbols prescribed by the American National Standard Institute, Inc.

  4. Meaning of Flowchart • A flowchart is a diagrammatic representation that illustrates the sequence of operations to be performed to get the solution of a problem. • Flowcharts are generally drawn in the early stages of formulating computer solutions

  5. Symbols

  6. Guidelines

  7. h. If the flowchart becomes complex, it is better to use connector symbols to reduce the number of flow lines. Avoid the intersection of flow lines if you want to make it more effective and better way of communication. i. Ensure that the flowchart has a logical start and finish. j. It is useful to test the validity of the flowchart by passing through it with a simple test data.

  8. Advantages • Communication: Flowcharts are better way of communicating the logic of a system to all concerned. • Effective analysis: With the help of flowchart, problem can be analyzed in more effective way. • Proper documentation: Program flowcharts serve as a good program documentation, which is needed for various purposes. • Efficient Coding: The flowcharts act as a guide or blueprint during the systems analysis and program development phase. • Proper Debugging: The flowchart helps in debugging process.

  9. Basic Flowchart

  10. Draw a flowchart to find the sum of first 50 natural numbers.

  11. Draw a flowchart for computing factorial N (N!) Where N! = 1 ´ 2 ´ 3 ´ …… N .

  12. Terminal Exercise • Draw a flowchart to find the sum of given N numbers 75. • Draw a flowchart to find the multiplication of given n number (15 and 25) • Draw a flowchart to print all even numbers up to 100. • Draw a flowchart to print all odd numbers up to 99.

  13. THANKS

More Related