Algorithm and Flowchart Questions
Algorithm and Flowchart Questions
• Prob. 1.Write an algorithm and draw a flowchart to print the square of all numbers from LOW to
HIGH. Test with LOW=1 and HIGH=10.
• Prob. 2. Write an algorithm and draw a flowchart to print the SUM of numbers from LOW to
HIGH. Test with LOW=3 and HIGH=9.
• Prob. 3. Write an algorithm and draw a flowchart to print all numbers between LOW and HIGH
that are divisible by NUMBER.
• Prob. 4. Write an algorithm and draw a flowchart to find out the maximum number between
three numbers
• Prob. 5. Write an algorithm and draw a flowchart to print all the prime numbers between LOW
and HIGH. Test with LOW=1 and HIGH=100.
• Prob. 6. Write an algorithm and draw a flowchart to count and print all numbers from LOW to
HIGH by steps of STEP. Test with LOW=0 and HIGH=100.
• Prob. 7. Write an algorithm and draw a flowchart to count and print all numbers from HIGH to
LOW by steps of STEP. Test with HIGH=100 and LOW=0.
• Prob. 9.Write an algorithm and draw a flowchart to print the complete multiplication table for
1's. through 12's.
---- 1 1 = 1, 1 2 = 2, … 1 12 = 12
---- 2 1 = 2, 2 2 = 4, … 2 12 = 24
… …
• Prob. 10. Write an algorithm and draw a flowchart to arrange N values read from the input in
ascending order.
• Prob. 11. Write an algorithm and draw a flowchart that will find and print the product of 3
numbers.
• Prob. 12.Write an algorithm and draw a flowchart that will find and print The factorial of
NUMBER is FACTORIAL. Test the flowchart for NUMBER=5.
• Prob. 13.Write an algorithm and draw a flowchart that will find and print the number of vowels
in a given set of characters and print there number of occurrences.
• Prob. 14. Write an Algorithm and draw flowchart to find out the solution of quadratic equation.
• Prob. 15. Advantages and Disadvantages of Flowchart and Pseudo Code