Program planning (preparation of a flow chart), Basic Computer Science

Program Planning (Preparation of a Flow Chart)

A flow chart is a graphic method for indicating a proposed or actual solution to the problem. A flow chart shows the steps a computer performs to solve a problem. A programer usually develops a program flow chart before coding. A flow chart uses special symbols for representing various operations.

Creating flow charts is an art, not a science. It is not a cut and dried process with firm rules. Rather it offers the analyst and the programer an opportunity to give expression to their creative urges and to apply their creative powers to problem solving.

There is no unique ‘Correct’ flow chart for solving a given problem. Each programer can come up with his own flow chart provided some formal rules for drawing flow charts are observed. A set of commonly used flow chart symbols are given below.

Adhering to the following rules is considered to be a good flow charting technique.

  1. The direction of flow should usually be from the top to the bottom of the page and from the left to the right.
  2. Lines should never cross. Crossing lines can always be avoided by the use of a pair of connector symbols.
  3. Arrow-heads should be used to show the direction of the flow, especially, if it is other than top to bottom or left to right.
  4. The symbols may be of any size, only the shape is standard.
  5. Every flow chart should begin with a ‘Start’ symbol and end with a ‘Stop’ symbol. The start and stop will appear only once in each flow chart.
  6. These merely indicate the physical starting and ending points of the flow chart.
  7. The I/O symbol can appear at any point at which data is to be entered in the computer or any point at which data is being output from the computer.

Figure 

1568_program planning.png

8. The next step in completing the flow chart is to mentally analyze the problem in order to obtain a logical sequence of processes. The process symbol is used to indicate the steps involved in manipulating the data into the desired result.

9. The basic contributor to flow charting complexity is the fact that questions must be answered during the processing, that is decisions must be made. In many instances, the computer must choose between two logical paths. Therefore, the program must reduce the required decision to a comparison of two values. The decision box must have at least two paths leading from it. Each path is labelled to indicate the condition which will cause the flow to follow a particular path.

  1. In certain circumstances, a programer may find it difficult to avoid crossing a line or to prevent drawing a long or jagged line between symbols. The connector symbol indicates a transfer of flow and thus, always must appear in pairs. An arrow-head leading into a connector indicates that control is to be transferred to the point at which that connector's counterpart appears. An arrow-head leading from a connector indicates the point at which control is to re-enter the flow chart.

  2. The printer output symbol indicates that the results are to be output at the printer.

  3. Program comment or annotation - a comment or a description inside the box can be used to clarify some point of the flow chart.

  4. Off-page connector indicates reference to another point on a different page.

  5. Magnetic-tape indicates that input/output is from magnetic tape.

  6. Magnetic-disk indicates that input/output is from magnetic disk.

  7. Magnetic-drum indicates the use of magnetic drum for input/output.

Posted Date: 9/14/2012 5:54:32 AM | Location : United States







Related Discussions:- Program planning (preparation of a flow chart), Assignment Help, Ask Question on Program planning (preparation of a flow chart), Get Answer, Expert's Help, Program planning (preparation of a flow chart) Discussions

Write discussion on Program planning (preparation of a flow chart)
Your posts are moderated
Related Questions
Software interruptions can be thoroughly activated by the assembler invoking the number of the preferred interruption with the INT instruction. The use of interruptions aids us in

Magnetic Memory:  In the above section we have seen various types of semiconductor RAMs. These high speed semiconductor storage devices (i.e. RAMs) are expensive. So we need s

Will someone be able to help me with this I have two text files that I can send. I am confused, is someone looking at this or is it still waiting to be assigned? this is the code

StatefulServer, maintains some information between requests. Requires smaller messages, since some information is kept between contacts, example: FTP, telnet. Stateless Server req

Uninformed Search Strategies: To be able to undertake a regular search, our entire agent ought to know is the starting state, the possible operators and how to check whether th

Internet searching:  The Internet consists of millions of private/public/academic/business and government networks having local to global scope. It has billions of web pages o


Question 1 What are the dos and don'ts of Internet Reporting? Question 2 Write a long note on the later years of journalism in USA Question 3 What is a search engi

PROGRAMMABLE ROM (PROM): The user can program a PROM after purchase.  Each memory bit element in the PROM contains a nichrome or silicon link that acts as a fuse.  The user can

Question 1 What is fragmentation? Question 2 Discuss the various service classes defined by integrated services Question 3 What are congestion? .Mention two algori