Let's Learn about How to create a flow chart, algorithm and pseudo code

 Flow Charts..

A flowchart is a visual way to represent a process using symbols and lines. It helps show the steps in a clear sequence, making complex ideas easier to understand. People use flowcharts in business, programming, and other areas to map out processes and make decisions.


Flow Chart Symbols..

  • Flow Lines

           It shows the flow control through he program.

  • Terminal Symbol 

          Its used to indicate beginning and end.

  • Input Output Symbol

          Its used to indicate both input and output.


  • Process Symbol
          Indicates using a rectangle and represents calculations and initialization of memory locations.


  • Preparation Symbol

          Its used for any initialization done, usually at the beginning of a program.


  • Decision Symbol

          There will always be two exits from a decision symbol, labeled as YES /NO or TRUE/FALSE.




  • Connector 

          Its used to connect the flow charts to represent its' continuation.



Example of flow chart..

              


Pseudocode..


Pseudocode is a high-level, informal representation of a computer program or algorithm that combines elements of programming language syntax with plain language. It serves as a tool for planning and designing software logic before actual coding, providing a readable and abstract description of the intended program flow.


  • Rules for Pseudocode
               ☛ Write only one statement per line.
               ☛ Capitalize initial key word.
               ☛ Indent to show hierarchy.
               ☛ End multiline structures.
               ☛ Keep statements language independent.




Algorithm..


An algorithm is a precise set of instructions or rules designed to perform a specific task or solve a particular problem. In the context of computer science, algorithms serve as systematic approaches to computation, guiding the step-by-step process of achieving desired outcomes in software and problem-solving.




Difference between Algorithm and Pseudocode....










Post a Comment

Previous Post Next Post