- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies
UML Interview Questions & Answers - Learning Mode

UML Interview Questions & Answers - Learning Mode

The Unified Modeling Language (UML) is a general-purpose, developmental, modeling language in the field of software engineering, that is intended to provide a standard way to visualize the design of a system. UML is actually a combination of several notations: Object-Oriented Design, Object Modeling Technique, and Object-Oriented Software Engineering. The Unified Modeling Language uses the strengths of these approaches to present a more consistent methodology that's easier to use.

Try UML Interview Questions & Answers - Exam Mode

1 2 Next

Sort By : Latest First | Oldest First | By Rating

UML Interview Questions & Answers - Learning Mode
Try UML Interview Questions & Answers - Exam Mode
Question: What is modeling? What are the advantages of creating a model?

Answer: Modeling is a proven and well-accepted engineering technique which helps build a model. Model is a simplification of reality; it is a blueprint of the actual system that needs to be built. Model helps to visualize the system. Model helps to specify the structural and behavior of the system. Model helps make templates for constructing the system. Model helps document the system. Source:
Question: What are the different views that are considered when building an object-oriented software system?

Answer: Normally there are 5 views. Use Case view - This view exposes the requirements of a system. Design View - Capturing the vocabulary. Process View - modeling the distribution of the systems processes and threads. Implementation view - addressing the physical implementation of the system. Deployment view - focus on the modeling the components required for deploying the system. Source:
Question: Detail the meaning of association?

Answer: There are five types of association but importance is given to only two they are Bidirectional and unidirectional. It represents a family of links. Binary associations are represented by two ends and they are connected to class box. Higher order associations can have more than two ends. Source:
Question: What are diagrams?

Answer: Diagrams are graphical representation of a set of elements most often shown made of things and associations. Source:
Question: Explain about package diagram?

Answer: Package diagram shows different logical groups and depicts the dependencies among these diagrams. Package diagrams are designed to increase internal coherence and minimize external coherence. This can also give a good idea about the work flow structure. Source:
Question: What are Messages?

Answer: A message is the specification of a communication, when a message is passed that results in action that is in turn an executable statement. Source:
Question: What is an Use Case?

Answer: A use case specifies the behavior of a system or a part of a system, óse cases are used to capture the behavior that need to be developed. It involves the interaction of actors and the system. Source:
Question: Explain about aggregation?

Answer: Aggregation gives a much more detail than association. In aggregation you can name it and it can have same adornments. It may not be involved with more than two classes. It can have a collection of classes but its classes are not dependent on the life cycle. It`s contents are not destroyed even when its classes are destroyed. Source:
Question: Explain about dynamical behavior view?

Answer: Dynamical behavior view plays a very important in determining relationships and behavior of the system. This view depicts collaboration among objects and the effective changes to the internal states of objects. This includes activity, sequence and state machine diagrams. Source:
Question: What are Dynamic Diagrams?

Answer: (Also called Behavioral Diagrams): Use Case Diagram, Sequence Diagram, Collaboration Diagram, Activity diagram, Statechart diagram. Source:
Question: Explain about realization and its relationships?

Answer: Realization is represented as a dashed line with empty arrow pointing towards the supplier on the diagram editor. It forms a relationship between interfaces, packages and components. It shows the relationships offered by the interface. Source:
Question: Explain about dependency?

Answer: This form of relationship exists when a change to a certain element changes the definition and structure of the other element as well. This is indicated by a pointing arrow from the dependent side to the independent side. This form of relationship can exist between classes and inheritance.
Question: What are Static Diagrams?

Answer: Static Diagram also called Structural Diagram: Class diagram, Object diagram, Component Diagram, Deployment diagram. Source:
Question: Explain about the static structural view presented by UML?

Answer: Static structural view determines the static structure of the system. It uses attributes, relationships, objects and operations. Static structural view includes composite structure and class diagrams. Source:
Question: What is Architecture?

Answer: Architecture is not only taking care of the structural and behavioral aspect of a software system but also taking into account the software usage, functionality, performance, reuse, economic and technology constraints. Source:
Question: Explain about executable UML?

Answer: Executable does not use full functionality and standards as present in UML. Although there are many constructs present in UML all of them are not used for designing, executable UML uses only limited number of constructs. Source:
Question: Mention the different kinds of modeling diagrams used?

Answer: Modeling diagrams that are commonly used are, there are 9 of them. Use case diagram, Class Diagram, Object Diagram, Sequence Diagram, statechart Diagram, Collaboration Diagram, Activity Diagram, Component diagram, Deployment Diagram. Source:
Question: Explain about composition?

Answer: Composition has a stronger variant and is represented by a diamond. It has a strong life cycle dependency. When a container is destroyed elements or classes present in the container are also destroyed although you will have the facility to remove the classes from the relationship. Source:
Question: What are the major three types of modeling used?

Answer: Major three types of modeling are structural, behavioral, and architectural. Source:
Question: What are Relationships?

Answer: There are different kinds of relationships: Dependencies, Generalization, and Association. Dependencies are relations ships between two entities that that a change in specification of one thing may affect another thing. Most commonly it is used to show that one class uses another class as an argument in the signature of the operation. Generalization is relationships specified in the class subclass scenario, it is shown when one entity inherits from other. Associations are structural relationship Source:

1 2 Next

India News Network
Latest 20 Questions
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
"Holiday Packages" announced as an advertisement are an example of _________: (a) Offer (b) Counter Offer (c) Invitation to Offer (d) None of the above
A match fixing contract between a player and a broker is a: (a) Valid Contract (b) Unenforceable Contract (c) Void Contract (d) Illegal Contract
When a bookseller sells a book on cash payment then it is called as ___________: (a) Unilateral Contract (b) Bilateral Contract (c) Executed Contract (d) Executory Contract
____________ agreements are created by situation: (a) Written (b) Oral (c) Void (d) Implied
Cache = 0.282227 Seconds