2.14 FLOW CHARTS AND DECISION TABLES

Flow charts

A flowchart is a type of diagram. It represents an algorithm. Drawing a correct flowchart helps in writing the code effortlessly. Flow chart consists of boxes of various kinds. They are connected with each other with directed lines. These days, flow charts are out of fashion as far as developing simple programs.

Decision tables

Decision tables are a precise yet compact way to model complicated logic. They can associate many independent conditions with several actions in an elegant way. However, in modern times, in development of simple programs such tables are not used.

Decision tables and flow charts were very popular in the days of older programming languages. As all modern programming languages ...

Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.