In: Computer Science
Initially, before answering the problem, We need to Analyse the problem, regarding logic and what we required to solve the problem. whether it is programming or flowchart.
Lets start with the programming components:
Step 1:As i mentioned above the firts and foremost we should analyse the problem for writing the logic.
Step 2: For writing the logic we need to prepare the algorithm based on what we analysed on the problem.
Step 3: Based on algorithm we will implement flowchart and next will put those process into programming language for getting solution for the problem what we analysed earlier.
Step 4: While writing the logic in programming we need some components like Input,output, conditional statements and loopings and some arithmetic operations.
In programming language we need to aware about the syntax of the language and below steps.
Input: we need to know what are the inputs from the problem.
Logic : When its come to main part in the program is logic we need to very clear about what we need to use for the getting opur required output to solve the problem.
Output: we should know about what we should get from the program.
Flowchart Components:
Step 1: As i mentioned above the firts and foremost we should analyse the problem for draw the flowchart.
Step 2: Before creating the flowchart we should implement the algorithm for the process.
Step 3: Based on algorithm we will create the flowchart for the problem
Step 4: In both, Flowchart and Programming the process is same but only the difference is implementation.
In Flowchart implementation is based on the symbol shapes like Oval, Recatangles and Diamonds...
The main thing while creating the flowchart is we should maintain the ordering the components(shapes).
Because each symbol or shape having a different meaning.
Ex: OVAL represent start and end points in Flowchart.
RECTANGLE represent the clear description for the work (process)
DIAMONDS represent the decision points.
ARROWS represent the dirction of process.
Note: Programming and Flowchart process is almost similar but the way of iplementation is different.