Professional Documents
Culture Documents
1
List down Phases in programming ?
1) Problem identification
(2) Preparing Algorithms and Flowcharts
(3) Coding the program
(4) Translation
(5) Debugging
(6) Execution and testing
(7) Documentation
2
What is an algorithm ?
●
algorithm is a step-by-step procedure to solve a problem.
●
The pictorial representation of an algorithm is known as
flowchart.
3
What are the flowcharting symbols used ?
4
Algorithm and flowchart to find sum and average 3
numbers ?
5
Algorithm and flowchart to find largest among two
numbers
6
What is debugging ?
●
Programming errors are known as 'bugs'.
●
The process of finding and correcting errors is
called debugging.
7
What are the three errors in a program ?
1. Syntax errors:
●
Errors in the syntax of the program is called syntax error.
●
grammar of rule of programming language is called syntax
2. Logical errors:
●
These are logical mistakes in a program.
3. Run-time errors:
●
Errors during program execution is called run time error.
●
Eg:- division by zero
8