Computer Science, asked by vidya4549, 2 months ago

2. Why is it advisable to plan the logic of a program before writing it? Explain the role of and
problem solving.​

Answers

Answered by kajal3917
2

Explanation:

Explanation: The form is not particularly important as long as it provides a good way to describe and check the logic of the plan. The development of an algorithm (a plan) is a key step in solving a problem. Once we have an algorithm, we can translate it into a computer program in some programming language

Answered by ratanlaljanagal1973
1

You are building a garage. You know how garage looks like so you don’t really plan ahead and just build it as you go. In the end you have a nice looking garage, with automated door, place to store tools. Everything is new and shiny. It’s perfect! So you go to get your car and you find out that the car is 10 cm wider than the garage entrance.

Having a general plan how an algorithm or application will work can save you a lot of wasted work and possibly patch work later on. Try to find all possible problems and shortcomings of an algorithm before you spend time writing it.

Similar questions