computer science presentation on program development cycle
9g4h4whbs2
27 views
14 slides
Jun 24, 2024
Slide 1 of 14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
About This Presentation
Program development cycle ppt
Size: 60.42 KB
Language: en
Added: Jun 24, 2024
Slides: 14 pages
Slide Content
Namaste
Today’s objective P rogram Development Cycle This means the steps that are followed during the development / writing of a program. CFU-1. What is a program?
Why do we need PDC? A computer solves any problem using a program. To solve the problem the instructions must be clear and correct. Clear instructions can be written only if we properly plan the program.
What is PDC? K eyword: Series of steps in process of program development. The series of steps that is followed while writing a program is called as program development cycle. Question: 1. Is PDC universal and concrete? 2. Can program be developed without PDC?
Basic steps of PDC Analyze or define the problem Design the solution Code the program(using programming language) Testing and debugging the program D ocumentation of program Implementation and maintenance
Mnemonic: ADCTDI
Analyze U nderstand and disect the nature of problem. C ollect the required data and information. This phase must explain what the problem is and how the program intends to solve the problem.
Design Tools: Focus on program logic rather than syntaxes concerned in programming. Algorithm: Sequential Steps for solving a problem. Flowchart: Diagrammatic representation of the steps involved in solving a problem.
Code C hoose a programming language based on the design and suitablity for the program development. K eep the program simple and avoid complex logic. Program must be so simple that it can be communicated and easily understood by other programmers. Comments are helpful in understanding the program. [Most codes are either compiled or translated based on the programming language.]
What is compilation/ interpretion? Translation of high-level language to machine codes.
Test and Debug Programs may have errors. The programs must be tested and debugged(removing the errors). Types of errors: Syntax errors- error in the syntax of programming language. Runtime errors- error while execution of program. E xample: entering floating point data in int data type. Logic errors- error in the logic of program made by programmer.
Document K eeping the record of all the steps and procedures. Includes algorithms, flowcharts, program mannuals, test reports, bug reports etc. For the portability of the program.(To be used by another progammer.)
Implement and Maintenance Installation of program in users computer. A program should contain documentation which contains: Program verification document. Outlining the checking Testing and Correction procedures along with test data. W hy maintenance? (update) Change in tools that program runs on. E xample: OS update may make a program incompatible.