answersLogoWhite

0


Best Answer

1. Keep your programs simple to understand. do not be afraid to use some complicated if statements in your program. Unless there is a easier way

2. Have your programming documented, up-to-date to the present version of the installed code. 3. In the code use the programming languge's opportunity to comment on your code. Say what a section is for, what it does and why it is done so. 4. Try to avoid hard-coded machine-specific names in your code, so that your program wil be able to run on someone else's machine as well. 5. Remember that other people may not own your fancy combination of hard- and software, so develop your software not on the latest OS or last month's CPU.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago
Five Steps of Programming

1. Clarify Programming Needs

Knowing the objective is the first consideration. Is it a payroll or editing program? Knowing who the end user will be is also important. Determining the inputs and outputs is next. How will the program operate and what data is needed to make it happen. After this has been decided feasability is the next consideration. How many programmers will it take, is the project within budget, does the project have a realistic outline. Finally, if the project is a go, then one must take measures to ensure the proect is properly documented and analyized.

Six mini steps:

  • Clarify objectives and users
  • Clarify desired outputs
  • Clarify desired inputs
  • Clarify desired processing
  • Double - check feasibility of implementing the program
  • Document the analysis

2. Design the Program

Programs use algorithms which are like equations that tell the computer what task to perform. The aim of the programmer is to create algorithms that are clear and simple. Algorithms are expressed first in logical hierarhical form known as modularzation. Using modules or (a complete thought) the programmer creates a logical thought process for the computer to follow. After that the program is broken down in greater detail using psuedocode. Psudocode uses terms like if, else,and, then to relate the programs rules to the computer.

Two mini steps:

  • Determine program logic through top down approach and modularization, using a heiarchy chart
  • Design details using pseudocode and/or flowcharts, preferably involving control structure.

A module, a processing step of a program, made up of logically related program statements.

A hierarchy chart, which represents top-down program desigh, explains the main purpose of the program.

Pseudocode, a way of desighing a program which uses normal language statements in order to describe the logic and the processing flow.

Program flowcharts, graphically shows the detailed series of steps

[edit] Three control structure:

  • Sequence control stucture
  • Selection control structure
  • Iteration control structure

3. Code the Program

After the program has been designed it must the be coded or written. Using the psudocode and logic requirements from step two an appropriate programming language must be selected. As stated in the introduction, coding languages differ in specifications and usability. Once the appropriate code language has been chosen, it is imperative that the programmer follow the sytax rules with as little deviation as possible.

Two mini steps:

  • Select the appropriate high-level programming language
  • Code the program in that language following the syntax carefully

4. Test the Program

Testing the program comes in two phases, alpha and beta.

  • Alpha testing is the process of reading through the program in search of errors in logic. The second step is to run a diagnostic program to search for syntax or input errors.
  • Beta testing involves using the program in the real world to see if it contains any bugs or other deficiences.

5. Document and Maintain

Documentation should be ongoing from the very beginning because it is needed for those involved with program now and future. Upon completion User Documentation for commercial use, Operator Documentation for people who run computer systems, and Programmer Documentation for programmers charged with maintenancing the program are all issued.

Four mini steps:

  • Write user documentation
  • Write operator documentation
  • Write programmer documentation
  • Mantain the program
This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Some Rules are:

* Have comments in places where understanding the logic is difficult for a novice programmer or a new person * Keep things as simple as possible * Package contents into logical units * Avoid unnecessary complexities * Use database connections only when required and close them as soon as they are used * Handle all exceptions and make sure you have an error page. Seeing unexpected exceptions is the most annoying thing that can happen to a end user * etc...

This answer is:
User Avatar

User Avatar

Anonymous

Lvl 1
3y ago

vf

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the five steps in programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the programming software?

in software programming the rrepetition of various steps is called what


If you walk five steps forward and then five steps backward ho many steps did you walk?

The answer is 10 steps.


When was Five Steps from Forever created?

Five Steps from Forever was created in 2001.


The steps that tell a computer how to perform a particular task?

programming


What the answer of give 5 programming language influence by c language?

It would be a list of five programming languages.


What are Five steps to assimilation?

Encourage language acquisition through immersion and practice. Integrate individuals into social networks and communities. Provide support systems to help with adjustment and adaptation. Encourage cultural participation and understanding. Foster a sense of belonging and acceptance within the new society.


What are the steps of the Project Life Cycle?

The steps of the Project Life Cycle includes five steps. These five steps are project initiation, project planning, development, implementation and project closure.


What are the Steps for Programming a Kernel From scratch?

The first step is pending twenty years with learning.


What contains specific rules and words that express logical steps of algorithm?

programming language


What is the five steps crm process is the adtp tl analysis conducted?

IN WHICH STEP OF THE FIVE STEPS crm PROCESS IS THE adtp_tl ANALYSIS CONDUCTED IN WHICH STEP OF THE FIVE STEPS crm PROCESS IS THE adtp_tl ANALYSIS CONDUCTED


What is the five steps crm process is the adtp-tl analysis conducted?

IN WHICH STEP OF THE FIVE STEPS crm PROCESS IS THE adtp_tl ANALYSIS CONDUCTED IN WHICH STEP OF THE FIVE STEPS crm PROCESS IS THE adtp_tl ANALYSIS CONDUCTED


Identify the the four key actions used to develop controls and make decisions on risk control measures?

five steps of the deliberate risk management process