Professional Documents
Culture Documents
Software Engineering Questions
Software Engineering Questions
What is UML?
- UML (Unified Modeling Language) is a modeling language used by software developers.
UML can be used to develop diagrams and provide users (programmers) with ready-to-
use, expressive modeling examples.
o Upper Section: The upper section encompasses the name of the class. A class is a
representation of similar objects that shares the same relationships, attributes, operations,
and semantics.
o Middle Section: The middle section constitutes the attributes, which describe the quality of
the class.
o Lower Section: The lower section contain methods or operations. The methods are
represented in the form of a list, where each method is written in a single line.
What is actor?
- In UML, an actor is a model element that interacts with a system. As a model element,
it can be an abstract person (e.g. “customer”) or another external system.
o Abstraction relationships
o Aggregation relationships
o Association relationships
o Association classes
o Binding relationships
o Composition association relationships
o Dependency relationships
o Directed association relationships
o Element import relationships
o Generalization relationships
o Interface realization relationships
o Instantiation relationships
o Package import relationship
o Realization relationships
o Usage relationships
o Control flows: Another name for the connectors that show the flow between
steps in the diagram.
o Start node: Symbolizes the beginning of the activity. The start node is
represented by a black circle.
o End node: Represents the final step in the activity. The end node is represented
by an outlined black circle.
o Goals: The end result of most use cases. A successful diagram should describe the
activities and variants used to reach the goal.
47. Draw one class with all section in class dia. (student class)
Ans: A Class in UML diagram is a blueprint used to create an object or set of objects. The Class
defines what an object can do. It is a template to create various objects and implement their
behavior in the system. A Class in UML is represented by a rectangle that includes rows with
class names, attributes, and operations.
Private − A private member is visible only from within the class. It cannot be accessed from
outside the class. A private member is prefixed by the symbol ‘−’.
Protected − A protected member is visible from within the class and from the subclasses
inherited from this class, but not from outside. It is prefixed by the symbol ‘#’.