We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 3
STRUCTURED PROGRAMMING
• Main objective of coding activity is to produce program that are easy to
understand. • Structured programming helps develop program that are easier to understand. • Structured programming is often regarded as “goto less “ programming • A program has static and dynamic structure. • Goal of structured programming is the static and dynamic structure are same. • Main reason structured programming was promulgated is formal verification of program. All the programming consist the branching and repeating so the statement should be single entry and single exit. Examples are as below : I) Selection :if B then S1 else S2 ii) Iteration : while B do S or repeat Until B iii) Sequencing : S1,S2,S3…. It can be show that these three constructs are sufficient to program any conceivable algorithm. Structured programming practice forms a good basis and guideline for writing program clearly. INFORMATION HIDING This concept is well supported by the data abstraction .We can also say that it uses the encapsulation. Information hiding is the ability to prevent certain aspects of a class or software component from being accessible to its clients, using either programming language features or an explicit exporting policy. Older language like pascal , C , FORTRAN do not support this .In such language the programmer have to provide such mechanism by themselves by applying some techniques. Information hiding can reduce the coupling between modules and make the system more maintainable. Information hiding is also an effective tool for managing the complexity of developing software.