How are algorithm and flowchart related to one another.

Q3. How are algorithm and flowchart related to one another? Ans. A flowchart not only pictorially depicts the sequence in

Define coding, execution.

Q2. Define coding, execution. Ans. Coding Translating an algorithm into a programming language. Execution The action of a computer performing

Define algorithm, flowchart.

Q1. Define algorithm, flowchart. Ans. Algorithm Logical sequence of discrete steps that describe a complete solution to a given problem.

Flowchart for computing factorial N (N!).

Q7. Draw a flowchart for computing factorial N (N!).               Where N1 = 1*2*3* …. N. Ans.

Flowchart to find sum of first 50 natural numbers.

Q6. Draw a flowchart to find the sum of first 50 natural numbers. Ans.

Flowchart to find largest of three number.

Q5. Draw a flowchart to find the largest of three number A, B and C. Ans.

Algorithm for prime number or not.

Q4. Write an algorithm to find whether a given number is prime or not. Ans. Integer number, quotient, remainder, mid,

Algorithm to find a number is odd or even.

Q3. Write an algorithm to find whether a given number is odd or even. Ans. Integer number, quotient, remainde; print