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

Assignment Help:

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.


Related Discussions:- Program planning (preparation of a flow chart)

Describe symbols chart in assembly process ?, SYMBOLS CHART Every one of t...

SYMBOLS CHART Every one of the parts on code line in assembler is known as token, for instance on the code line: MOV AX, Var We comprise three tokens, the MOV instruction, the AX o

Online searching, Online Searching: The real difference between manual...

Online Searching: The real difference between manual searching and online searching lies, according to William A. Katz, in the mechanics and the jargon of the latter. However,

Satellite transmission, Satellite Transmission: Satellites use microwa...

Satellite Transmission: Satellites use microwave frequencies and techniques. Satellites used for message transmission (as opposed to those, which travel around the earth on st

Server programs, Server Programs:   Server programs are dedicated compu...

Server Programs:   Server programs are dedicated computer programs that run as services and serve the needs or requests of other programs. These services may run on a dedicated

Software evolution, SOFTWARE EVOLUTION:  As you know that in a compute...

SOFTWARE EVOLUTION:  As you know that in a computer system both hardware and software complement each other  -  one is of hardly any use without the other. Hence, since the ve

The skill of Assembly Language, The skill of Assembly Language Programming ...

The skill of Assembly Language Programming (AoA), Randy Hyde''s acclaimed text on assembly language programming, is the most-frequently recommended book on 80x86 assembly language

Explain the universal nand and nor gates, Question 1 Describe the followin...

Question 1 Describe the following- Binary Number System b. Octal Number System Hexadecimal Number System   Question 2 Describe the Canonical Logical Forms-

Types of printers, Types of Printers 1. Impact printers The impact...

Types of Printers 1. Impact printers The impact printers produce the image through a mechanism of striking on the stationary. 2. Line Printer This type of printer

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd