What is the formal definition of an algorithm?

1. What is the formal definition of an algorithm?2. Define the three constructs used in structured programming.3. How is a UML diagram related to an algorithm?4. How is pseudocode related to an algorithm?5. What is the purpose of a sorting algorithm?6. What are the three basic sorting algorithms discussed in the textbook?7. What is the purpose of a searching algorithm?8. What are the two basic searching algorithms discussed in the chapter?9. Give a definition and an example of an iterative process.10. Give a definition and an example of a recursive process.