1. Exam Points
- Benefits of using an iterative and incremental process of program development.
- Easy to identify errors when you add new components to a working program.
- Identify the documentation to be added for a code segment based on its functionality.
- Program documentation is always needed across program development for all programs.
- If you modify your code, you need to update your documentation also.
2. Knowledge Points
-
(1) Program development process
- There are multiple development processes.
- The following phases are commonly used when developing a program:
- investigating and reflecting (understand requirements and program constraints)
- designing
- prototyping (write code)
- testing
- A development process that is incremental is one that breaks the problem into smaller pieces and makes sure each piece works before adding it to the whole.
- A development process that is iterative requires refinement and revision based on feedback. This may require revisiting earlier phases of the process.
-
(2) Program documentation
- Program documentation is a written description of the function of a code segment, procedure, or program and how it was developed.
- Comments are a form of program documentation written into the program to be read by people(developers) and do not affect how a program runs.
- Programmers should document a program throughout its entire development.
-
(3) Acknowledgement
- It is important to acknowledge any code segments that were developed collaboratively or by another source.