What are the parts of a deployment diagram? Brief explanation of all elements in activity diagrams. Explain types of diagrams are there in UML. What is the difference between Activity and sequence diagrams? What are the advantages of using UML?