In: Computer Science
Discuss with the class the importance of program design (using pseudocode and/or flowcharts) when designing programs utilizing selection structures.
Pseudocode or flowcharts is written in human understandable language, which is numbered step to step instruction to show the actions of a program when it is programmed using any programming language. This process helps developers / non-developers understand the step-by-step actions of a program required to complete an action.
A flowchart is a pictorial representation of pseudocode with the help of different symbols, shapes which will demonstrate the step-by-step process of a program. With Pseudocode, we can easily understand the logic of the program. The flowchart uses some set of standard graphics to understand the process of algorithms.
The flow of Control Statements: The control statements are implemented using three basic structures
Sequential: This is the default one, here the statements are executed in one after one process
Selection: This is used for branching and decision making when there is more than one way to proceed to the given problem.
if
if else
switch
Repetition: This is used to iterate a block of code until a condition is satisfied.
while
do...while
for
The importance of program design:
The program design is the systematic process of planning and developing the product you want to build. It is a creative process. It helps to handle large and complex projects. This provides a method that can be applied within the limitations of the programmer. It enables the process of producing correct programs. It involves various processes like Wireframing, visual design, animations and transitions
At the beginning of the project or program, the functionality or specifications required for the development of the program should be determined without that the development process will be unguided. The proper tracking of progress will be useful to accurately predict the competition time of the program. When the process is not defined it will not motivate the people/developers who are dealing with the program
Thankyou sir/madam,
Please upvote ,if you like the answer....