Understanding the Program Development Cycle Flashcards
This cycle includes these steps:
Understand the problem
Plan the logic
Code the program
Use software (a compiler or interpreter) to translate the program into machine language
Test the program
Put the program into production
Maintain the program
Program development cycle
One of the most difficult aspects of programming
Understanding the Problem
People for whom program is written
Users or end users (Understanding the Problem)
Supporting paperwork for a program
Documentation (Understanding the Problem)
Heart of the programming process
Planning the Logic
Most common planning tools
Flowcharts
Pseudocode
(Planning the Logic)
Walking through a program’s logic on paper before you actually write the program
Desk-checking (Planning the Logic)
- Hundreds of programming languages are available
Choose based on features
Alike in their basic capabilities - Easier than planning step
Coding the Program
- Compiler or interpreter
- Changes the programmer’s English-like high-level programming language into the low-level machine language
Translator program (Using Software to Translate the Program into Machine Language)
What type of error is this?
- Misuse of a language’s grammar rules
- Programmer corrects listed syntax errors
- Might need to recompile the code several times
Using Software to Translate the Program into Machine Language
Syntax error
- Use a syntactically correct statement but use the wrong one for the current context
Logical error (Testing the Program)
Execute the program with some sample data to see whether the results are logically correct
Test (Testing the Program)
TRUE OR FALSE: Programs should be tested with many sets of data
TRUE
Process depends on program’s purpose
- May take several months
Putting the Program into Production
Entire set of actions an organization must take to switch over to using a new program or set of programs
Conversion (Putting the Program into Production)
Making changes after program is put into production
Maintenance (Maintaining the Program)
Common first programming job
- Maintaining previously written programs
Maintaining the Program
Make changes to existing programs
- Repeat the development cycle
Maintaining the Program
English-like representation of the logical steps it takes to solve a problem
Pseudocode (Using Pseudocode Statements and Flowchart Symbols)