Basics of Flowchart and Counters

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 9

BASICS OF FLOWCHART AND COUNTERS

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. It is the visual representation of any algorithm.

GUIDELINES FOR DRAWING A FLOWCHART


Flowcharts

are usually drawn using some standard symbols; however, some special symbols can also be developed when required. Some standard flowchart symbols, which are frequently required for flowcharting many computer programs are shown in the next slide.

In drawing a proper flowchart, all necessary requirements should be listed out in logical order. The flowchart should be clear, neat and easy to follow. There should not be any room for ambiguity in understanding the flowchart. The usual direction of the flow of a procedure or system is from left to right or top to bottom. Only one flow line should come out from a process symbol. Only one flow line should enter a decision symbol, but two or three flow lines, one for each possible answer, should leave the decision symbol.

GUIDELINES FOR DRAWING A FLOWCHART

GUIDELINES FOR DRAWING A FLOWCHART

Only one flow line is used in conjunction with terminal symbol.

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. Ensure that the flowchart has a logical start and finish.

COUNTERS

In software engineering, a loop counter is the term often used to refer to the variable that controls the iterations of a loop (a computer programming language construct). It is so named because most uses of this construct result in the variable taking on a range of integer values in some orderly sequence (e.g., starting at 0 and end at 10 in increments of 1) Loop counters change with each iteration of a loop, providing a unique value for each individual iteration. The loop counter is used to decide when the loop should terminate and for program flow to continue to the next instruction after the loop.

THANK YOU
BY GARIMA KUMARI AND JATIN. P. SHARMA

You might also like