ISBN : 978-81-963532-2-3 (E-Book) Activity diagrams may stand alone to visualize, specify, and document the dynamics of asociety of objects or they may be used to model the flow of control of an operation. Statechart diagrams may be attached to classes, use cases, or entire systems in order to visualize,specify,and document thedynamicsofan individualobject. MODULE-3 Coding- The objective of the coding phase is to transform the design of a system into code in a high level language and then to unit test this code. The programmers adhere to standard and well defined style of coding which they call their coding standard. The main advantages of adhering to a standard style of coding are as follows: • A coding standard gives uniform appearances to the code written by different engineers • It facilitates code of understanding. • Promotes good programming practices. For implementing our design into a code, we require a good high level language. A programming language should have the following features: Characteristics of a Programming Language • Readability: A good high-level language will allow programs to be written in some ways that resemble a quite-English description of the underlying algorithms. If care is taken, the coding may be done in a way that is essentially self-documenting. • Portability: High-level languages, being essentially machine independent, should be able to develop portable software. • Generality: Most high-level languages allow the writing of a wide variety of programs, thus relieving the programmer of the need to become expert in many diverse languages. • Brevity: Language should have the ability to implement the algorithm with less amount of code. Programs expressed in high-level languages are often considerably shorter than their low-level equivalents. • Error checking: Being human, a programmer is likely to make many mistakes in the 80 Software Engineering Keerthana P, Manasa KN, Ganga D Bengal
86 Publizr Home