top of page
Writer's pictureD A Rosi Arsida Wardani

Program Developments Steps

  1. Understand the problem at hand.

  2. Identify what are the inputs and outputs required.

  3. Use a flowchart or algorithmic approach to define functionality.

  4. Test the functionality by using test data.

  5. Writing of C code :

    1. Write the main program and call the function to achieve desired results.

    2. Write C code for a function declared in the main program.

  6. Debug and remove errors

    1. Syntax errors. These errors are easy to remove. Compiler pinpoints syntactical errors.

    2. Logical errors. The compiler can not catch these errors. Only extensive testing can resolve these errors.

    3. Run time errors. The examples are linking errors or errors that can occur at the run time of the program.

  7. Testing and Validation. Design the test data, called test cases that would test the correct functioning of the algorithm under

    1. Normal conditions

    2. Best case considerations

    3. Worst case considerations

  8. Documentation to keep track of development and changes incorporated in the program so that program maintenance becomes easier later.


1 view0 comments

Recent Posts

See All

One-dimensional Arrays

One-dimensional arrays are data structures that contain data types of the same type. In the form of a group of related memories...

Loop

Introduction Examples of algorithms in everyday life : Example 1 : To finish eating a plate of rice (initial conditions) Mouthfuls of a...

Comments


Post: Blog2_Post
bottom of page