- 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 Dynamic Diagrams?

Answer: (Also called Behavioral Diagrams): Use Case Diagram, Sequence Diagram, Collaboration Diagram, Activity diagram, Statechart diagram. 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 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 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:
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: How are the diagrams divided?

Answer: The nine diagrams are divided into static diagrams and dynamic diagrams. Source:
Question: Explain about the difficulties of interchange format of UML?

Answer: XML standard should allow interchange of UML models but it is not the case scenario practically. Portability of the language from one format to another format is not possible and lack of information can be possible in the course. It also lacks sufficient details which make it impossible for interchange between modeling tools. 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: What are the basic notational elements which can make up a diagram?

Answer: 1)Filled circle denotes the initial state
2)Hollow circle depicts the final state
3)Rounded rectangle is like a class and below it are the functions or activities.
4)Transitions are indicated by a arrow
5)Horizontal lines denote join or relationship between two parts 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 SDLC?

Answer: SDLC is Software Development Life Cycle. SDLC of a system included processes that are Use case driven, Architecture centric and Iterative and Incremental. This Life cycle is divided into phases. Phase is a time span between two milestones. The milestones are Inception, Elaboration, Construction, and Transition. Process Workflows that evolve through these phase are Business Modeling, Requirement gathering, Analysis and Design, Implementation, Testing, Deployment. Supporting Workflows are Configur 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 the three different view of a system model?

Answer: UML diagrams present three different view of a system they are: -
* Functional requirements view
* Static structural view
* Dynamic behavior view
Models can be interchanges among UML by the use of XMI interchange format. Source:
Question: Explain about the methods in UML?

Answer: UML was created to support the methods of its era, but gradually UML also evolved in nature thus paving a better support to object oriented methods. Rational unified process and many UML supported methods such as Dynamic systems method and Abstraction methods have been designed to provide solutions. 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: 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: State some benefits of iterative development?

Answer: Some of the benefits offered by iterative development are as follows: -
1) Mitigation of risks in an earlier stage
2) Visibility of progress
3) Feedback, adaptation and engagement.
4) Complexity management
5) Iteration management can improve the overall process of the project because it details and explains the various steps present in it. Source:
Question: State some of the criticisms present with UML?

Answer: Some of the disadvantages presented by UML are as follows
1) Language bloat: - This language is very long in length and complex to understand. Infrequent and redundancy elements are present in UML which retards the learning of the subject.
2) Confusion is overwhelming when using UML due to lack of proper abstract notation. Source:

1 2 Next

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
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
Cache = 0.265625 Seconds