PLDT Notes1.2
PLDT Notes1.2
1010 + 10100=11110
Advantage:
Disadvantage:
i) It is difficult to learn.
ii) Debugging is complex.
Advantage:
Disadvantage:
i) Execution speed is slow because it needs a translator as a compiler
or Interpreter.
Programming Techniques:
Procedural Programming
Continued…………….
i) Problem Definition
ii) Problem analysis
iii) Design(Algorithm Development)
iv) Coding and documentation
v) Testing and debugging
vi) Maintenance
1. Problem Definition
In this phase, we define the problem statement and we decide the boundaries of the problem. In
this phase we need to understand the problem statement, what is our requirement, what should
be the output of the problem solution. These are defined in this first phase of the program
development life cycle.
2. Problem Analysis
In phase 2, we determine the requirements like variables, functions, etc. to solve the problem.
That means we gather the required resources to solve the problem defined in the problem
definition phase. We also determine the bounds of the solution.
3. Design(Algorithm Development)
During this phase, we develop a step by step procedure to solve the problem using the
specification given in the previous phase. This phase is very important for program development.
That means we write the solution in step by step statements.
All programs must be tested for errors. This is a process known as debugging.
6. Maintenance
During this phase, the program is actively used by the users. If any enhancements found in this
phase, all the phases are to be repeated again to make the enhancements. That means in this
phase, the solution (program) is used by the end user. If the user encounters any problem or wants
any enhancement, then we need to repeat all the phases from the starting, so that the
encountered problem is solved or enhancement is added.