Page 224 - DCAP305_PRINCIPLES_OF_SOFTWARE_ENGINEERING
P. 224
Principles of Software Engineering
Notes • A software engineer’s responsibility is to produce software that is a business asset and is
going to last for many years.
• Algorithms are not a natural way of stating a problem’s solution, because we do not
normally state our plan of action.
• Possibly the simplest and easiest method to understand the steps in an algorithm, is by
using the flowchart method.
• Possibly the simplest and easiest method to understand the steps in an algorithm, is by
using the flowchart method.
• The modularization approach involves breaking a problem into a set of sub-problems.
• The bulk of programming consists of making a large number of small choices while
attempting to solve a larger set of problems.
• The coding techniques defined here are not proposed to form an inflexible set of coding
standards.
10.5 Keywords
Algorithms: These are not a natural way of stating a problem’s solution, because we do not
normally state our plan of action.
Bulk of Programming: It consists of making a large number of small choices while attempting
to solve a larger set of problems.
Class Member Variables: It should start with “m_” and increases code readability as it makes
it clear what variables are member variables vs. parameters or locals.
Coding Techniques: In the incorporate many facets of software development and, although they
usually have no impact on the functionality of the application, they contribute to an improved
comprehension of source code.
Comprehensive Coding: The standard encompasses all aspects of code construction and, while
developers should exercise prudence in its implementation.
Deadlock: It is a situation in which one or more threads mutually lock each other.
Overflow and Underflow Errors: It can easily occur when working with enumerated types, and
care should be taken when assuming the values of enumerated data types.
1. Write the method of program structured.
2. Draw the structure of program practices.
10.6 Review Questions
1. What is the naming convention?
2. Define regular variables and coding techniques.
3. Explain the global variables.
4. What are the class member variables?
5. What do you mean by synchronization errors?
6. What are the string handling errors?
7. Describe the structured programming.
218 LOVELY PROFESSIONAL UNIVERSITY