Code planning Flashcards
When we create a C program, we follow a sequence of steps called…?
Program Development Cycle
What are the steps of the Program Development Cycle?
- Problem Analysis
- Algorithms or flowcharting
- Implementation of the code
- Testing and Debugging
- Documentation and Maintenance
What is problem analysis?
Analysis of the problem given
What is Algorithm and flowcharting?
Planning the flow of the program through algorithm trace or flowchart
What is algorithm?
A sequence of steps that will solve the problem or program
What are the basic flowchart symbols?
- Stadium
- Arrow
- Parallelogram
- Rectangle
- Diamond
This flowchart symbol signifies the start and end of program
Stadium
This flowchart represents and input and output of the program
Parallelogram
This flowchart shows the assignments or statements executed
Rectangle
This flowchart symbol points to the next activity.
Arrow
This flowchart symbol represents a comparison or decision activity like if - else statements.
Diamond
What is testing?
Identifying the output of the program through a series of test cases
What is debugging
Identifying the errors found in the program
What are the two types of errors?
- Syntactical or Logical errors
2. Compile or run- time errors
This is an error where the program has a syntax error such as a missing semicolon or a misspelled identifier
Syntactical error