Ans) mathematicians trace the origin of the word algorithm to a
famous arab mathematician, abu jafar Mohammed. The word algorithm
is derived from his last name, it is a step by step procedure to solve a
problem
Translation
Ans) translation is the process of converting a program written in high
level language into its equivalent version in machine language.
2) Advantages of flowchart
Ans) better communication , effective analysis , effective synthesis , efficient
coding.
3) Entry controlled and exit controlled loop
Ans) entry controlled loop
. condition is checked before execution of the body
. body may never be executed
. suitable when skipping of the body from being executed is required
Ans) exit controlled loop
. condition is checked after execution of the body
. body will surely be executed at least once
. suitable when normal execution of the body is to be ensured
4) What is documentation , execution , testing.
Ans) documentation
. documentation is an ongoing process that starts in with the problem study phase of the system and
continues till its implementation and operation.
Ans) execution and testing
. when the compiled version of the program is formed , it should be executed for testing. The purpose of
testing is to determine whether the results are correct
5) Components of a loop
Ans) initialization , condition , update , loop body
6) Write an algorithm for sum and average of three numbers
7) Explain flowchart symbols