0% found this document useful (0 votes)
52 views

Lec1 PDF

The program development life cycle (PDLC) consists of 5 stages: 1) Problem analysis where user requirements are understood, 2) Program design to expand specifications into a full design, 3) Program coding to create the program, 4) Program debugging and testing to eliminate errors, and 5) Program maintenance to update the software over time. Key activities in each stage are documented, the program is designed using tools like flowcharts and pseudocode, coding adheres to standards, debugging finds syntax and logic errors through testing, and maintenance keeps the program useful.

Uploaded by

Pushkar Mishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views

Lec1 PDF

The program development life cycle (PDLC) consists of 5 stages: 1) Problem analysis where user requirements are understood, 2) Program design to expand specifications into a full design, 3) Program coding to create the program, 4) Program debugging and testing to eliminate errors, and 5) Program maintenance to update the software over time. Key activities in each stage are documented, the program is designed using tools like flowcharts and pseudocode, coding adheres to standards, debugging finds syntax and logic errors through testing, and maintenance keeps the program useful.

Uploaded by

Pushkar Mishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Lec1

Program Development Life cycle

The process associated with creating successful applications programs is called


the program development life cycle (PDLC).

Program Problem
maintenance Analysis

Program
Program
Debugging
Design
and Testing

Program
Coding

1. Problem Analysis:

During analysis, a systems analyst and programmer: review specifications, and


talk with users to fully understand what the software should do.

Documentation consists of:


 program specifications,
 timetable,
 which language will be used,
 how the program will be tested, and
 what documentation is required.

2. Program Design

Program design: stage where program specifications are expanded into a complete
design of the new program.

Program design tools are planning tools.


• Structure charts
• Program flowcharts

1 pg.
• Pseudocode
• Data modeling

Design Approaches:
 Structural programming: C, Pascal
 Object oriented programming: C++, Java

3. Program Coding

• Coding: actual process of creating the program in a programming language.


– Programming language must be chosen.
– Coding standards should be adhered to.
– Make use of reusable code and data dictionaries.
– Translate coded programs into executable code.

There are 5 phases of executing a program:


1. Preprocessing:
2. Translating (interpreter or compiler)
3. Linking
4. Loading
5. Execution

• A compiler translates the entire program into machine language before


executing it. The program then doesn’t need to be recompiled until it is
modified.
• An interpreter translates program statements one at a time. Interpreters are
helpful during the debugging stage, but are slower during execution of the
finished program.

4. Program Debugging and Testing


• Debugging: process of making sure a program is free of errors or bugs.
– Preliminary bugging often finds syntax or logic errors.
– Testing can consist of alpha or beta testing.

o A syntax error occurs when the programmer has not followed the
rules of the language.

o A logic error, or execution-time error, results when the command


syntax is correct but the program is producing incorrect results.

o Alpha test

2 pg.
 Simulating real users
 Carried out in the lab
 Carry out the real tasks that typical users might perform
o Beta test
 Carried out by real users
 In real environment
 Limited number of end users to obtain feedback
 Reduce the product failure risks and increase the quality of the
product

5. Program Maintenance

• Program maintenance: process of updating software so that it continues to


be useful.
– A costly process, but can be used to extend the life of a program.

3 pg.

You might also like