You are on page 1of 1

A Batch B Batch

Part -A Part - A

1 Write an algorithm to find smallest among three numbers. 2 1 What is an Algorithm


Write an algorithm to accept two numbers, compare the sum
and print the result. 2Write an algorithm two accept to numbers, compute the sum
and print the result
3 Define an iterative statement.
3 Write an pseudo-code to two accept to numbers, add the
4 List the symbol used in drawing the flowchart . numbers and print the result

5 Give the python code to find the minimum among the list of 4 How will you analyze the efficiency of algorithm ?
10 numbers
5 What is the use of algorithm ? Flowchart and Pseudo code in
6 Distinguish between algorithm and program the perspective of problem solving

7 Write an algorithm to find the minimum number in the given 6 What are the factors used to judge the quality of an
list of number. algorithm ?

7 What is control flow? List and define the ways of execution


of control.

Part – B
Part-B
1.Draw a flowchart to find the sum of the series 1+2+3…..+100
1.Draw flowchart to accept three distinct numbers and find the
greatest, print the result. 2. State the Tower of Hanoi problem. Outline the solution to
the Tower of Hanoi problem with relevant diagram
2. Explain the strategies for developing an algorithm with
example. 3. Draw flowchart to print the first n prime numbers

3. Write an algorithm to insert a card into a list of sorted cards

You might also like