Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving

Students can Download Chapter 3 Principles of Programming and Problem Solving Questions and Answers, Plus One Computer Application Chapter Wise Questions and Answers helps you to revise the complete Kerala State Syllabus and score more marks in your examinations.

Kerala Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving

Plus One Computer Application Principles of Programming and Problem Solving 1 Mark Questions and Answers

Question 1.
The process of writing program is called _______.
Answer:
programming or coding.

Question 2.
One who writes program is called ______.
Answer:
Programmer.

Question 3.
The step by step procedure to solve a problem is known as ______.
Answer:
Algorithm.

Question 4.
Diagrammatic representation of an algorithm is known as ______.
Answer:
Flow .

Question 5.
Program errors are known as ______.
Answer:
bugs.

Question 6.
Process of detecting and correcting errors is called ________.
Answer:
debugging .

Question 7.
Mr. Ramu represents an algorithm by using some symbols. This representation is called ______.
Answer:
Flow Chart.

Question 8.
Your computer teacher asked you that which symbol is used to indicate beginning or ending flow chart? What is your answer?
a) Parallelogram
b) Rectangle
c) Oval
d) Rhombus
Answer:
c) Oval.

Question 9.
You are suffering from stomach ache. The doctor prescribes you for a scanning. This process is related in a phase in programming. Which phase is this ?
Answer:
Problem identification.

Question 10.
Your friend asked you a doubt that to draw a flow chart parallelogram is used for what purpose?
Answer:
input /output.

Question 11.
Mr. Anil wants to perform a multiplication which symbol is used to represent in a flow chart.
Answer:
It is a processing so rectangle is used.

Question 12.
Mr. George wants to check a number is greater than zero and to perform an operation while drawing a flow chart which symbol is used for this?
Answer:
Rhombus

Question 13.
ANSI means ______.
Answer:
American National Standards Institute.

Question 14.
To indicate the flow of an operation which symbol is used to draw a flow chart.
Answer:
Flow lines with arrow heads .

Question 15.
Mr. Johnson is drawing a flow chart but it is not fit in a single page. Which symbol will help him to complete the flow chart?
Answer:
Connectors.

Question 16.
Mr. Ravi developed a S/W student information system, He wants to protect the s/w from unauthorized copying. There is an act what is it?
Answer:
Copy right act.

Question 17.
Odd man out.
a) Parallelogram
b) Oval
c) Rectangle
d) Star
Answer:
d) Star, others are flowchart symbols.

Question 18.
Odd man out.
(a) Oval
(b) Rhombus
(c) Connector
(d) Triangle
Answer:
Triangle, Others are flowchart symbols.

Question 19.
Raju wrote a program and he wants to check the errors and correct if any? What process he has to do for this?
Answer:
process, debugging.

Question 20.
Odd one out.
a) Problem identification
b) Translation
c) debugging
d) copy right
Answer:
d) Copy right, others are phases in programming.

Question 21.
Odd man out.
a) syntax error
b) logical error
c) Runtime error
d) printer error
Answer:
d) Printer error, Others are different types of errors.

Question 22.
A computerized system is not complete after the execution and testing phase? What is the next phase to complete the system?
Answer:
Documentation.

Question 23.
Mr. Sathian takes a movie DVD from a CD library and he copies this into another DVD without per-mission. This process is called ______.
Answer:
Piracy.

Question 24.
Mr. Santhosh purchased a movie DVD and he takes several copies without permission. He is a _______.
a) Programmer
(b) Administrator
c) Pirate
(d) Organizer
Answer:
c) Pirate.

Question 25.
The symbol used for copy right is a _____.
a) &
(b) Copy
(c) #
(d) ©
Answer:
d)©

Question 26.
Following are the advantages of flowcharts one among them is wrong. Find it.
a) Better communication
b) Effective analysis
c) proper program documentation
d) Modification easy
Answer:
d) Modification easy, It is a disadvantage.

Question 27.
Which flow chart symbol has one entry flow and two exit flows?
Answer:
Diamond.

Question 28.
Which flow chart.symbol is always used in pair?
Answer:
connector.

Question 29.
Program written in HLL is called ______.
Answer:
Source code.

Question 30.
Some of the components in the phases of programming are given below. Write them in order of their occurrence.
a) Translation
b) Documentation
c) Problem identification
d)Coding of a program
Answer:
The chronological order is as follows
1) c) Problem Identification
2) d) Coding of a program
3) a) Translation
4) b) Documentation

Question 31.
a) ________ is the stage where programming errors are discovered and corrected.
Answer:
Debugging or compiling.

Question 32.
compilation and execution there were no errors. But he got a wrong output. Name the type of error he faced.
Answer:
Logical Error.

Question 33.
Pick out the software which rearranges the scattered files in the hard disk and improves the performance of the system.
a) Backup software
b) File compression software
c) Disk defragmenter 1
d) Anti virus software
Answer:
Disk defragmenter.

Question 34.
Some phases in programming are given below.
1) Source coding
2) Execution
3) Translation
4) Problem study
These phases should follow a proper order.
Choose the correct order from the following:
a) 4 —> 2 —> 3 —> 1
b) 1 —> 3 —> 2 —> 4
c) 1 —> 3 —> 4 —> 2
d) 4 —> 1 —> 3 —> 2
Answer:
d)4 —> 1 —> 3 —> 2

Question 35.
Which one of the following errors is identified at the time of compilation?
a) Syntax error
b) Logical error
c) Run-time error
d) All of these
Answer:
a) Syntax error.

Question 36.
Pick the odd one out and give a reason for your finding:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 1
Answer:
c) This has one entry flow and more than one exit flow
OR
b) Used for both input and output..

Plus One Computer Application Principles of Programming and Problem Solving 2 Marks Questions and Answers

Question 1.
A debate on ‘Whether Free Software is to be promoted’ is planned in your class. You are asked to present points in support of Free Software. What would be your arguments, (at least three)?
Answer:
Freedom to use Comparatively cheap Freedom to modify and redistribute.

Question 2.
Mr. Roy purchased a DVD of a movie and he found that on the cover there is a sentence copy right reserved and a mark ©. What is it? Briefly explain?
Answer:
It is under the act of copy right and the trade mark is © copy right is the property right that arises automatically when a person creates a new work by his own and by Law it prevents the others from the unauthorized or intentional copying of this without the permission of the creator.

Question 3.
Can a person who knows only Malayalam talk to a person who knows only Sanskrit normally consider the corresponding situation in a computer program and justify your answer?
Answer:
Normally it is very difficult to communicate. But it is possible with the help of a translator. Translation is the process of converting programs written in High Level Language into Low Level Language (machine Language). The compiler or interpreter is used for this purpose. It is a program.

Question 4.
Define the term, debugging. Write the names of two phases that are included in debugging.
OR
Define the different types of errors that are encountered during the compilation and running of a program
Answer:
Debugging :- The program errors are called ‘bugs’ and the process of detecting and correcting errors is called debugging.
Compilation and running are the two phases.
OR
In general there are two types of errors syntax errors and logical errors. When the rules or syntax of the language are not followed then- syntax errors occurred and it is displayed after compilation. When the logic of a program is wrong then logical errors occurred and it is not displayed after compilation but it is displayed in the execution and testing phase.

Question 5.
Write an algorithm to input the scores obtained in three unit tests and find the average score.
OR
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 2
Explain the flow chart and predict the output.
Answer:
Step 1 : Start
Step 2 : Read S1, S2, S3
Step 3 : avg = S1 + S2 + S3/3
Step 4 : Print avg
Step 5 : Stop.
OR
This flowchart is used to print the numbers as 1,2,3, ……… 30

Question 6.
Differentiate between top down design and bottom up design in problem solving
Answer:
Bottom up design : Here also larger programs are divided into smaller ones and the smaller ones are again subdivided until the lowest level of detail has been reached. We start solving from the lowest module onwards. This approach is called Bottom up design.

Question 7.
Answer any one question from 5 (a) and 5 (b).
Draw a flowchart for the following algorithm.
Step 1 : Start
Step 2 : Input N
Step 3 : S=0, K=1
Step 4 : S = S +K
Step 5 : K = K +1
Step 6 : If K < = N Then Go to Step 4
Step 7 : Print s
Step 8 : Stop
OR
Name the two stages in programming where debugging process is involved. What kinds of errors are removed in each of these stages?
Answer:
a)
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 3
b) The two stages are compile time and run time. In the debugging process can remove syntax . error, logical error and runtime error.

Question 8.
Answer any one question from 7(a) and 7(b) .
a) Observe the following portion of a flowchart. Fill in the blank symbols with proper instructions to get 321 as the output.
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 4
b) The following flowchart can be used to print the numbers from 1 to 100. Identify another problem that can be solved using this flowchart and write the required instructions in the symbols.
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 5
Answer:
The following flowchart can be used to store another problem such as used to print odd numbers less than 200.
a)
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 6
b) The following flowchart can be used to store another problem such as used to print odd numbers less than 200.
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 7

Question 9.
Write an alogorithm to print the numbers upto 100 in reverse order, That is the output should be as 100, 99, 98, 97,… .1
OR
Draw a flow chart to check whether the given number is positive, negative or zero.
Answer:
Step 1 : Start
Step 2 : Set i < — 100
Step 3 : if i<=0 then go to step 6
Step 4 : Print i.
Step 5 : Set i < — i – 1 go to step 3
Step 6 : Stop
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 8

Plus One Computer Application Principles of Programming and Problem Solving 3 Marks Questions and Answers

Question 1.
When you try to execute a program, there are chances of errors at various stages, Mention the types of errors and explain.
Answer:
1) syntax error :
eg : 5=x
2) Logic error. If the programmer makes any logical mistakes, it is known as logical error.
Eg: To find the sum of values A and B and store it in a variable C you have to write C=A+B. Instead of this if you write C=A*B, it is called logic error.
3) Runtime error : An error occured at run time due to inappropriate data.
Eg: To calculate A/B a person gives zero to B. There is an error called division by zero error during run time.

Question 2.
Following is a flow chart to find and display the largest among three numbers. Some steps are missing in the flowchart. Redraw the flow chart by adding necessary.steps and specify its purpose. How can this flow chart be modified without using a fourth variable?
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 9
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 10

Question 3.
A flow chart is given below.
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 11
a) What will be the output of the above flow chart ?
b) How can you modify the above flow chart to display the even numbers upto 20, starting from 2.
Answer:
a) 1,2,3,4,5.
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 12

Question 4.
Write an algorithm to check whether the given number is even or odd.
Answer:
step 1 : Start
Step 2 : Read a number to N
Step 3 : Divide the number by 2 and store the remainder in R.
Step 4 : If R = O Then go to Step 6
Step 5 : Print “N is odd” go to step 7
Step 6 : Print “N is even”
Step 7 : Stop

Question 5.
Write an algorithm to find the largest of 2 numbers?
Answer:
Step 1 : Start
Step 2 : Input the values of A, B
Step 3 : Compare A and B. If A> B then go to step 5
Step 4 : Print” B is largest” go to Step 6.
Step 5 : Print “A is largest”
Step 6 : Stop

Question 6.
Write an algorithm to find the sum of n natural numbers and average?
Answer:
Step 1 : Start
Step 2 : Set i 1, S 0
Step 3 : Read a number and set to n
Step 4 : Computer i and n if i>n then go to step 7.
Step 5 : Set S <— S+ i
Step 6 : i <— i+1 go to step 4
Step 7 : avg 4<— S/n Step 8 : Print “Sum = S and average = avg” Step 9 : Stop Question 7. Write an algorithm to find the largest of 3 numbers.
Answer:
step 1 : Start
Step 2 : Read 3 numbers and store in A,B,C
Step 3 : Compare A and B. lfA>B then go to Step 6
Step 4 : Compare B and C if C>B then go to Step 8
Step 5 : print “B is largest” go to Step 9
Step 6 : Compare A and C if Q>A then go to Step 8
Step 7 : Print” A is largest” go to Step 9
Step 8 : Print “C is largest”
Step 9 : Stop

Question 8.
Write an algorithm to calculate the simple interest (I =P*N*R/100)
Answer:
Step 1 : Start
Step 2 : Read 3 values for P,N,R
Step 3 : Calculate I <— P*N*R/100
Step 4 : Print “The simple interest = I
Step 5  : Stop

Question 9.
Write an algorithm to calculate the compound interest (C. I = Px(1 +r/100)n – P)
Answer:
Step 1 : Start
Step 2 : Read 3 number for p,n,r
Step 3 : Calculate Cl = p x(1+r/100)n – p
Step 4 : Print “The compound Interest = C.I”
Step 5 : Stop

Question 10.
Write an algorithm to find the cube of first n natural numbers .(eg:1,8,27 …….. n3)
Answer:
Step 1 : Start
Step 2 : Set i <— 1
Step 3 : Read a number and store in n
Step 4 : Compare rand n if i>n then go to step 7
Step 5 : Print i*i*i
Step 6 : i <— i+1 go to step 4
Step 7 : Stop

Question 11.
Write an algorithm to read a number and find its factorial (n!=n*(n-1)*(n-2) * …..3*2*1)
Answer:
Step 1 : Start
Step 2 : Fact <—1
Step 3 : Read a number and store in n
Step 4 : If n=0 then go to step 7
Step 5 : Fact <— Fact *n
Step 6 : n <— n-1 go to step 4
Step 7 : Print “Factorial is fact”
Step 8 : Stop.

Question 12.
Draw a flow chart to find the sum of n natural numbers and average.
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 13

Question 13.
Draw a flow chart to find the largest of three numbers.
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 14

Question 14.
Draw a flow chart to find the largest of two numbers.
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 15

Question 15.
Draw a flow chart to check whether the given number is even or odd.
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 16

Question 16.
Draw a flow chart to calculate the simple interest.
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 17

Question 17.
Draw a flow chart to calculate compound interest.
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 18

Question 18.
Draw a flow chart to find the cube of n natural numbers (1,8,27 …….n3)
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 19

Question 19.
Draw a flow chart to read a number and find its factorial.
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 20

Question 20.
Mr. Vimal wants to represent a problem by using a flowchart, which symbols are used for this. Explain.
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 21
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 22
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 23
These symbols will help us to complete the flow chart, which is not fit in a single page. A connector symbol is represented by a circle and a letter or digit is placed within the circle to indicate the link.

Question 21.
Jeena uses algorithm to represent a problem while Neena uses flowchart which is better? Justify your answer?
Answer:
Flow chart is better. The advantages of flow chart is given below.
1. Better communication:- A flow chart is a pictorial representation while an algorithm is a step By step procedure to solve a program. A programmer can easily explain the program logic using a flow chart.
2. Effective analysis :- The program can be analyzed effectively through the flow chart.
3. Effective synthesis :- If a problem is big it can be divided into small modules and the solution for each module is represented in flow chart separately and can be joined together to get the final system design.
4. Proper program documentation :- A flow chart will help to create a document that will help the company in the absence of a programmer.
5. Efficient coding :- With the help of a flow chart it is easy to write program by using a computer language.

Question 22.
A flow chart is a better method to represent a program. But it has some limitation what are they?
Answer:
The limitations are given below
1) To draw a flowchart, it is time consuming and laborious work.
2) If any change or modification in the logic we . may have to redraw a new flow chart.
3) No standards to determine how much detail can include in a flow chart.

Question 23.
Match the following,
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 24
Answer:
1 – e
2 – a
3 – d
4 – f
5 – b
6 – c

Question 24.
Alvis executes an error – free program but he got an error. Explain different types of error in detail.
Answer:
There are two types of errors in a program before execution and testing phase.They are syntax error and logical error. When the programmer violates the rules or syntax of the programming language then the syntax error occurred.
Eg: It involves incorrect punctuation. Key words are used for other purposes, violates the structure etc. It detects the compiler and displays an error message that include the line number and give a clue of the nature of the error. When the programmer makes any mistakes in the logic, that types of errors are called logical error. It does not detect by the compiler but we will get a wrong output.
The program must be tested to check whether it is error free or not. The program must be tested by giving input test data and check whether it is right or wring with the known results. The third type of errors are Runtime errors, this may be due to the in appropriate data while execution. For example consider B/C. If the end user gives a value zero for c, the execution will be interrupted because division by zero is not possible. These situation must be anticipated and must be handled.

Question 25.
The following are the phases in programming. The order is wrong rearrange them in correct order.
1. Debugging
2. Coding
3. Derive the steps to obtain the solution
4. Documentation
5. Translation
6. Problem identification
7. Execution and testing
Answer:
The correct order is given below.
1. Problem identification
2. Derive the steps to obtain the solution
3. Coding
4. Translation
5. Debugging
6. Execution and testing
7. Documentation

Question 26.
Draw a flow chart to input ten different numbers and find their average. ‘
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 25

Question 27.
Draw the flow chart to find the sum of first N natural numbers.
Answer:
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 26

Question 28.
Make a flow chart using the given labelled symbols, for finding the sum of all even numbers upto ‘N’
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 27
Answer:
Draw flowchart in any of the following order
e, c, d, f, i, h, a, b, g
e, d,c, f, i, h, a, b, g
e, c, d, a, f, i, h, b, g
e, d, c, a, f, i, h, b, g
Step 1 : Start
Step 2 : Input n
Step 3 : i = I
Step 4 : if i<=n/2 then repeat step 5 & 6
Step 5 : if n%i = = 0 print i
Step 6 : i = i + I
Step 7 : Stop

Question 29.
List the two approaches followed in problem solving or programming. How do they differ?
Answer:
Approaches in problem solving Top down design : Larger programs are divided into smaller ones and solve each tasks by performing simpler activities. This concept is known as top down design in problem solving Bottom up design : Here also larger programs are divided into smaller ones and the smaller ones are again subdivided until the lowest level of detail has been reached: We start solving from the lowest module onwards. This approach is called Bottom up design. Phases in Programming

1) Problem identification : This is the first phase in programming. The problem must be identified then only it- can be solved, for this we may have to answer some questions. During this phase we have to identify the data, its type, quantity and formula to be used as well as what activities are involved to get the desired out put is also identified for example if you are suffering from stomach ache and consult a Doctor. To diagnose the disease the Doctor may ask you some question regarding the diet, duration of pain, previous occurrences etc, and examine some parts of your body by using stethoscope X-ray, scanning etc.

2) Deriving the steps to obtain the solution: There are two methods, Algorithm and flowchart, are used for this.
a) Algorithm :- The step-by-step procedure to solve a problem is known as algorithm. It comes from the name of a famous Arab mathematician Abu Jafer Mohammed Ibn Musaa Ai-Khowarizmi, The last part of his name Al-Khowarizmi was corrected to algorithm.
b) Flowchart :- The pictorial or graphical representation of an algorithm is called flowchart.

Question 30.
Write an algorithm to find the sum of the squares of the digits of a number. (For example, if 235 is the input, the output should be 22+32+52=38)
Answer:
Step 1 : Start
Step 2 : Set S = O
Step 3 : Read N
Step 4 : if N > O repeat step 5, 6 and 7
Step 5 : Find the remainder. That is rem =N%10
Step 6 : S = S + rem * rem
Step 7 : N = N/10
Step 8 : Print S
Step 9 : Stop

Question 31.
Consider the following algorithm and answer the following questions:
Step 1 : Start
Step 2 : N=2, S=0
Step 3 : Repeat Step 4, Step 5 while N<=10
Step 4 : S=S+N
Step 5 : N=N+2
Step 6 : Print S
Step 7 : Stop
a) Predict the output of the above algorithm.
b) Draw a flowchart for the above algorithm
Answer:
a) The output is 30
Plus One Computer Application Chapter Wise Questions Chapter 3 Principles of Programming and Problem Solving 28

Question 32.
“It is better to give proper documentation within the program”. Give a reason.
Answer:
It is the last phase in programming. A computerized system must be documented properly and it is an ongoing process that starts, in the first phase and continues till its implementation. It is helpful for the modification of the program later.

Plus One Computer Application Principles of Programming and Problem Solving 5 Marks Questions and Answers

Question 1.
Mr. Arun wants to develop a program to computerize the functions of super market. Explain different phases he has to under go is detail.
OR
Briefly explain different phases in programming.
Answer:
The different phases in programming is given below:
1) Problem identification : This is the first phase in programming. The problem must be identified then only it can be solved, for this we may have to answer some questions.
During this phase we have to identify the data, its type, quantity and formula to be used as well as what activities are involved to get the desired out put is also identified for example if you are suffering from stomach ache and consult a Doctor. To diagnose the disease the Doctor may ask you some question regarding the diet, duration of pain, previous occurrences etc, and examine some parts of your body by using stethoscope X-ray, scanning etc.

2) Deriving the steps to obtain the solution. There are two methods, Algorithm and flowchart, are used for this.
a) Algorithm :- The step-by-step procedure to solve a problem is known as algorithm. It comes from the name of a famous Arab mathematician Abu Jafer Mohammed Ibu Musaa Al-Khowarizmi, The last part of his name Al-Khowarizmi was corrected to algorithm.
b) Flowchart:- The pictorial or graphical representation of an algorithm is called flow-chart.

3) Coding The dummy codes (algorithm)or flow-chart is converted into program by using a computer language such s Cobol, Pascal, C++, VB, Java etc.

4) Translation The computer only knows ma-chine language. It does not know HLL, but the human beings HLL is very easy to write pro. grams. Therefore a translation is needed to convert a program written in HLL into machine code. (object code). During this step, the syntax errors of the program will be displayed. These errors are to be corrected and this process will be continued till we get “No errors” message. Then
it is ready for execution.

5) Debugging The program errors are called ‘bugs’ and the process of detecting and correcting errors is called debugging. In general there are two types of errors syntax errors and logical errors. When the Riles or syntax of the language are not followed then syntax errors occurred and it is displayed after compilation. When the logic of a program is wrong then logical errors occurred and it is not displayed after compilation but it is displayed in the execution and testing phase.

6) Execution and Testing In this phase the program will be executed and give test data for testing the purpose of this is to determine whether the result produced by the program is correct or not. There is a chance of another type of error, Run time error, this may be due to in-appropriate data.

7) Documentation It is the last phase in programming. A computerized system must be documented properly and it is an ongoing process that starts in the first phase and continues till its implementation. It is helpful for the modification of the program later.

Question 2.
Briefly explain the characteristic of an algorithm.
Answer:
The following are the characteristics of an algorithm
1) It must starts with ‘start’ statement and ends with ‘stop’ statement.
2) it should contains instructions to accept input and these are processed by the subsequent instructions.
3) Each and every instruction should be precise and must be clear. The instructions must be possible to carry out, for example consider the examples the instruction “Go to market” is precise and possible to carried out but the instruction “Go to hell” is also precise and can not be carried out.
4) Each instruction must be carried out in finite time by a person with paper and pencil.
5) The number of repetition of instructions must be finite.
6) The desired results must be obtained after the algorithm ends.