What steps we must follow to design good program-00761

Online Quiz This subjective question is related to the book/course vu cs504 Software Engineering - I. It can also be found in vu cs504 Mid Term Solved Past Paper No. 2.

Question 1: What steps we must follow to design good program?
Answer:

Hence to design a program properly, we must:

Analyze a problem statement, typically expressed as a word problem.

Express its essence, abstractly and with examples.

Formulate statements and comments in a precise language.

Evaluate and revise the activities in light of checks and tests and Pay attention to detail.

--or--

Details

We must check very details of any program. It is very important aspect of any program. We must pay complete attention to calculation.

We must give attention to logic and its flow should be smooth.

Reusable

We must write program in such a way that we can reuse them in other program. Like we define function in such a way that in future if we need any similar kind of function is requires in that case we can easily modify or reuse it.

Comments

We write the details of important steps in the form of comments. We should use comments in such a way if any body else wanted to reuse or debug or codes he can easily understand it.

Code readability

We should use Tab and spaces so codes are easily readable.

User interface

We make interface user friendly. Use polite prompts for user while take input.


Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background