Question

In: Computer Science

Discuss with the class the importance of program design (using pseudocode and/or flowcharts) when designing programs...

Discuss with the class the importance of program design (using pseudocode and/or flowcharts) when designing programs utilizing selection structures.

Solutions

Expert Solution

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....


Related Solutions

Pseudocode and flowcharts are fiexible tool for early development of software design.
 Pseudocode and flowcharts are fiexible tool for early development of software design. They are used only as a plenning tool, and not the final product. Remember that when you eventually convert your pseudocode or your flowchart to a specific programming language (lke Javal you do not have such flexibility because very specific syntax will be required Please study chapter two and the "flowchart symbols article on the "course document" section before you attempt the following project. Flowchart Design The idea...
Design a program using Raptor Flowcharts that tests your ESP, or extrasensory perception. The program will...
Design a program using Raptor Flowcharts that tests your ESP, or extrasensory perception. The program will randomly pick a color from Red, Green, Blue, Orange, Yellow, and Purple, and you will be asked to predict the program's selection before it is revealed. The program should ask the user to enter the color the computer has selected. The program should ensure user enters only one of the six colors. After user has entered his or her guess, the program should display...
Design a program using Raptor Flowcharts that tests your ESP, or extrasensory perception. The program will...
Design a program using Raptor Flowcharts that tests your ESP, or extrasensory perception. The program will randomly pick a color from Red, Green, Blue, Orange, Yellow, and Purple, and you will be asked to predict the program's selection before it is revealed. The program should ask the user to enter the color the computer has selected. The program should ensure user enters only one of the six colors. After user has entered his or her guess, the program should display...
Task: Craps is a popular game played in casinos. Design a program using Raptor Flowcharts to...
Task: Craps is a popular game played in casinos. Design a program using Raptor Flowcharts to play a variation of the game, as follows: Roll two dice. Each dice has six faces representing values 1, 2, 3, 4, 5, and 6, respectively. Check the sum of the two dice. If the sum is 2, 3, or 12(called craps), you loose; if the sum is 7 or 11(called natural), you win; if the sum is another value(i.e., 4, 5, 6, 8,...
create flowchart using Flowgorithm and Pseudocode for the following program example:   Design a program for Jones...
create flowchart using Flowgorithm and Pseudocode for the following program example:   Design a program for Jones College. The current tuition is $12,000 per year, and tuition is expected to increase by 5 percent each year. Display the tuition amount for each year over the next five years (use a looping structure).
Design a program using a flowchart or pseudocode that accepts a person’s loyalty card number and...
Design a program using a flowchart or pseudocode that accepts a person’s loyalty card number and amount spent in the store last month. Display the data only if the customer is a high spender – a person who spent more than $1000 in the store. A program that accepts customer info continuously until a sentinel value is entered and displays a list of high spenders.
Using Pseudocode: Design a program that allows the user to enter 20 names into a String...
Using Pseudocode: Design a program that allows the user to enter 20 names into a String array. Sort the array in ascending (alphabetical) order and display its contents.
A customer in a store is purchasing two items. Design a program using module pseudocode that...
A customer in a store is purchasing two items. Design a program using module pseudocode that asks for the price of each item in dollars, and then displays three things in their output receipt - the subtotal of the sale in dollars, the amount of sales tax in dollars and the final amount paid by the customer in dollars. Assume the sales tax is 4 percent.
DESIGN A FLOWCHART IN FLOWGORITHM AND WRITE THE PSEUDOCODE Number Analysis Program Design a program that...
DESIGN A FLOWCHART IN FLOWGORITHM AND WRITE THE PSEUDOCODE Number Analysis Program Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data: The lowest number in the array. The highest number in the array. The total of the numbers in the array. The average of the numbers in the array. PLEASE AND THANK YOU
Design a simple program, using pseudocode, to implement the recursive formula you found in part (a)...
Design a simple program, using pseudocode, to implement the recursive formula you found in part (a) to compute numbers in the Fibonacci sequence. Describe in detail how your program implements the recursive formula. You may find it useful to discuss how it through a concrete example such as F(8) = 21.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT