daa lab questions
DESCRIPTION
DAA Lab QuestionsTRANSCRIPT
DESIGN & ANALYSIS OF ALGORITHMS1. Calculate the area and circumference of 10 circles by supplying the corresponding radii, one-by-one. Draw the flow chart and write an algorithm.2. Draw the flowchart and write an algorithm of the Overtime calculation example.3. Develop a flow chart and write an algorithm to convert any temperature from Centigrade to Fahrenheit, using the relation C / 5 = F-32 / 9.4. Develop a flow chart and write an algorithm to calculate the area of a triangle and circumference of a circle using the relations Area = p r2 and circumference = 2p r5. Develop a flow chart and write an algorithm to prepare the marksheet for the students of a class.6. Develop a flow chart and write an algorithm to prepare salary for the employees and calculate the tax on salary based.7. Develop a flow chart and write an algorithm to solve a quadratic equation.8. Develop a flow chart and write an algorithm to check whether any given year is Leap or not.9. Develop a flow chart and write an algorithm to check prime and unprimed numbers.10. Develop a flow chart and write an algorithm to calculate the factorial of any positive number using recursive function.11. Develop a flow chart and write an algorithm to calculate the bill amount for the book shop.12. Develop a flow chart and write an algorithm to find the product of two matrices.13. Write an algorithm for DFS.