Section 12.17 Vocabulary
- incremental development:
- A process for creating programs by writing a few lines at a time, compiling, and testing.
- test-driven development:
- A software development process that relies on the repetition of a very short development cycle: requirements are turned into specific test cases, then the software is improved to pass the new tests.
- self-documenting:
- Code that is written in a way that makes its purpose clear without the need for additional comments.
- single-responsibility:
- A principle of software development that states that a function should have only one reason to change, meaning it should only do one thing.
- modular:
- A function is modular if it does not depend on the internal details of other functions or modules or the global state of the program.
- top down design:
- A software design approach that starts with the high-level functionality and breaks it down into smaller, more manageable components.
- bottom up design:
- A software design approach that starts with the low-level behaviors and uses those to design increasingly complex functions until a complete system is achieved.
- header files:
- Files that contain declarations of functions and data types, which can be shared between multiple source files.
- c++ modules:
- A newer way to bundle related code and access it from other files.
- function declaration:
- A statement that specifies the name, return type, and parameters of a function, but does not provide the functionβs implementation.
- function definition:
- A statement that provides the implementation of a function, including the body of the function and the code that defines its behavior. (It also serves as a declaration.)
- separate compilation:
- The way C++ code is built. Each C++ source file is compiled independently, and the resulting object files are linked together to create the final executable.
You have attempted of activities on this page.