Computer Science, asked by badgirl, 1 year ago

What are the steps to algorithm a program

Answers

Answered by cynthiarai
5
Step 1: Obtain a description of the problem. This step is much more difficult than it appears. ...Step 2: Analyze the problem. ...Step 3: Develop a high-level algorithm. ...Step 4: Refine the algorithm by adding more detail. ...Step 5: Review the algorithm.
hope it helps!

badgirl: Thank u
cynthiarai: welcome
cynthiarai: please mark me as a brainilist if u can
cynthiarai: thank u ..
badgirl: Welcome
Answered by Ash1997
1
Algorithms are considered the building blocks of computer programs.

Step 1

Define your algorithms input. Many algorithms take in data to be processed. This data can come in the form of any unit of computer data. Most programming language will require that you specify how much input you plan to receive and what type of data that input is. For example, if you write an algorithms to calculate the area of a square, your input may be the square's height and width.

Step 2

Define the variables. Your algorithm's variables allow you to use it for more than one equation. Again using the square as an example, creating two variables as inputs for square height and width makes the algorithm applicable to any square. In other words, you can use this algorithm to determine the area of any square by inputing its height and width.

Step 3

Outline the algorithm's operations. These change the value of the input variables. Using the above example, your algorithm might multiply the height and width variables inputted earlier. This is a basic example. An algorithm's operations can take the form of multiple steps and even branch, depending on the value of the input variables.

Step 4

Output the results of your algorithm's operations. For example, if the input variables described a square with a height of 2 and a width of 3, the algorithm would output the value of 6.

Hope it helps....
Mark it brainliest.
Similar questions