2: Introduction to UML

Q.1. How to denote Collaboration?
Ans. Collaboration can be denoted by an ellipse with dashed line, usually including only its name.

Comments

  1. Roll no. 3809,3818,3822,3833
    Q.1)What is UML?
    Ans.) The Unified Modeling Language is a visual language for specifying, constructing and documenting the artifacts of systems.
    Q.2) Define Active class.
    Ans.) An active class is a class whose objects own one or more processes or threads and therefore, can initiate control activity.
    Q.3) State any two kinds of relationships on UML.
    Ans.) 1)Dependency
    2)Association
    3)Generalization
    4)Realization
    Q.4) Give names of any two initial researchers of UML.
    Ans.) Grady Booch(Rational software corporation)
    Ivar Jacobson(Objectory)
    James Rumbaugh(General Electric)
    Q.5)Define model.
    Ans.) A model can be defined as “an abstraction of something before it is actually developed.
    Q.6) What are the three types of modeling in UML?
    Ans.) 1)Structural
    2)Behavioral
    3)Architectural
    Q.7) Give the features of UML.
    Ans.) 1)Comprehensive
    2)Language independent
    3)Syntax only
    4)Tool independent
    5)Process independent
    6)Well documented
    Q.8)What are the ways to apply UML?
    Ans.)There are three ways to apply UML:
    1)UML as a Sketch
    2)UML as Blueprint
    3)UML as Programming Language
    Q.9) What do you mean by association?
    Ans.) An association is a structural relationship that describes a set of links, and a link is connection between objects.
    Q.10) UML supports both static and dynamic modeling. State true or false justify.
    Ans.) True, Static modeling shows the standalone static view and dynamic modeling shows the changing behavior view of the business system.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Roll no. 3856 (shravani Potphode )

    Q1) What is UML Architecture?
    Takes care structural and behavioral aspect of a software system.
    Includes software usage, functionality, performance, reuse, economic and technology constraints.

    Q2)What are UML Messages?
    ->Specification of a communication

    Q3)What are the different views in UML?
    ->Use Case view - Presents the requirements of a system.
    -> Design View - Capturing the vocabulary.
    ->Process View - Modeling the systems processes and threads.
    -> Implementation view - Addressing the physical implementation of the system
    ->Deployment view - Model the components required for deploying the system.

    Q4)Difference between Activity and Sequence Diagram.
    a. Activity diagram: captures the process flow. They are used for functional modeling.

    b. Sequence diagram: the track the interaction between the objects. They are used for dynamic modeling.

    Q5)Define modeling in UML and it advantages.
    ->Model is a simplification of reality.
    -> Blueprint of the actual system.
    -> Specify the structural and behavior of the system.
    -> Templates for designing the system.
    ->Helps document the system.

    Q6)Identify the wrong pair of symbol-visibility scope
    A. +public
    B. #protected
    C. !package
    D. -private

    Ans-> C
    Q7) Which of the following is not valid in the context of component diagrams?
    A) initial node, final node
    B) ports and connectors
    C) blck box and while box view
    D) provided and required interfaces

    Ans-> A

    ReplyDelete
  4. Roll no:-3828,3817,3806
    Q.1) What is the full form of UML?
    Ans.-: United Modeting Language.

    Q.2) What are the aim of UML?
    Ans-: a) Visualization
    b) Specifying
    c) Constructing
    d) Documenting

    Q.3) Where can the UML used?
    Ans-: a) Enterprise information system
    b) Banking and financial services
    c) Tally communication
    d) Transportation
    e) Defence or Aerospace

    Q.4) What are the different kinds of relationships?
    Ans-: a) Dependencies
    b) Association
    c) Generalization
    d) Realization

    Q.5) State different types of diagrams in UML.
    Ans-: a) Class diagram
    b) Object diagram
    c) Use case diagram
    d) Sequence diagram
    e) Collaboration diagram
    f) State chart diagram

    Q.6) State any two features of UML.
    Ans-: a) Not difficult to understand and to use.
    b) Addressing all the views. It is needed to develope and the deploy such system.
    c) Very expressive language.

    Q.7) What are the elements of UML?
    Ans-: a) UML's basic building blocks.
    b) The rules that specifies how this building blocks may be put together.
    c) Some mechanism that apply throughout the language.

    Q.8) What are the goals of UML?
    Ans-: a) To model system form concept to executable artifact using object oriented technology.
    b) To address the issues of scale inherit in complex mission critical system.
    c) To create a modelling language i.e. usable by both human and machine.

    Q.9) What are the architectural views of software system?
    Ans-: a) Use case view
    b) Design view
    c) Process view
    d) Implementation view
    e) Deployment view

    Q.10) What are the Basic Building Blocks of UML?
    Ans-: a)Things.
    b) Relationships in UML.
    c) Diagrams in UML.

    Q.11) What are the different types of things?
    Ans-: a) Structural things
    b) Behavioral things
    c) Grouping things
    d) Annotational things.

    ReplyDelete
  5. Roll no:-3836,3840,3843,3844

    Q.1)What are goals of UML?
    Ans-i)To model systems from concept to executable artifact used in object oriented technology.
    ii)To address the issues of scale inherit in complex,mission critical systems.
    iii)To create a modelling language that is usable by both human and machine.

    Q.2)What is concept of UML?
    Ans-It is a standard language for writing software blueprint.

    Q.3)What are features of UML?
    Ans-i)Very expressive language.
    ii)Addressing all the views.It is needed to develop and then deploy such system.
    iii)Not difficult to understand and to use.

    Q.4)Where can the UML be used?
    Ans-i)Telecommunication
    ii)Transportation
    iii)Defence or aerospace
    iv)Medical electronics
    v)Banking and financial services.
    vi)Distributed web based services.

    Q.5)What are basic building blocks of UML?
    Ans-i)Things
    ii)Relationships
    iii)Diagrams.

    Q.6)What are advantages of UML?
    Ans-i)Specialization mechanism.
    ii)Static and dynamic modelling.
    iii)Growth of old tool markets.
    iv)Best practise and methodology.
    v)Communication between project team.

    Q.7)What are Aims of UML?
    Ans-i)Visualizing
    ii)Specifying
    iii)Constructing
    iv)Documenting.

    Q.8)What are different types of things?
    Ans-i)Structural things
    ii)Behavioural things
    iii)Grouping things
    iv)Annotational things.

    Q.9)What are architectural views of software system?
    Ans-i)Usecase view
    ii)Design view
    iii)Process view
    iv)Implementation view
    v)Deploymant view.

    Q.10)What is dependency?
    Ans-It is a sementic relationship between two things in which a change to one thing may effect the sementic of other things.

    Q.11)What are different types of realtionships?
    Ans-i)dependency
    ii)association
    iii)Generalization
    iv)Realization.

    ReplyDelete
  6. Rno-3802,15,24,27,51

    1)Give any two uses of UML
    Ans: a)Telecommunications
    b)Medical elwctronics
    2)which are three building blacks of UML?
    Ans:
    a)Things
    b)Relationships
    C)Diagrams
    3)what are the kinds of things in UML?
    Ans:
    a)structural things
    b)Behavioral things
    c)grouping things
    d)Annotational things
    4)How to Denote use case view?
    Ans:
    It is denoted by an ellipse with solid lines,usually including only its name.
    5)Define Aggregation
    Ans:
    Aggregation is a special kind of association representing a structural relationship between a whole and its parts
    6) list the types of view
    Ans:
    use case view,design view,process view,implementation view,deployment view
    7)Give advantages of UML
    Ans:
    a)Provide a formal basis for understanding the modeling language
    b) integrate beat practices and methodologies
    8) state true or false, UML supports both static and dynamic modeling
    Ans:
    True
    9)Define state machine
    Ans:
    a behaviour that specifies the sequences of state of an object is called state machine
    10) state the languages of UML
    Ans:
    a)visualizing
    b)Specifying
    c)constructing
    d)Documenting

    ReplyDelete
  7. Roll no. 3816,3850
    Q.1)What is UML?
    Ans. The Unified Modeling Language is a visual language for specifying, constructing and documenting the artifacts of systems.
    Q.2) which views are present in UML?
    Ans. 1. User model view
    2. Structural model view
    3. Behavioral model view
    4. Implementation model view
    5. Environment model view
    Q.3) What are basic building blocks of UML?
    Ans. 1)things
    2) relations
    3) diagrams
    Q.4) What are the different types of diagrams in UML?
    Ans. 1. Class diagram
    2. Object diagram
    3. Use case diagram

    ReplyDelete
  8. 3827
    Q1-
    What are advantages of UMl
    And:- 1) it is a formal language
    2) it is concise
    3) it is comprehensive
    4) it is scalable
    5) it is standard

    ReplyDelete
  9. Roll no:3825,3819

    Que:What is achieved through modeling?
    Ans:1)Models help us to visualize a system as it is or as we want it to be.
    2)Models documents the decisions we have made.

    Que:Which are three building blocks of UML?
    Ans:1)Things
    2)Realationships
    3)Diagrams

    Que:State the uses of Use Case Diagrams.
    Ans:1) Model the context of the system.
    2) Model requirements of the system.

    Que:State the different types of views.
    Ans:1) Design/structural view
    2) Implemention view
    3) Process/behavioral view
    4) Deployment view

    Que:What is the concept of realization?
    Ans: A realization is a semantic relationship between classifiers,wherein one classifier specifies a contract that another classifier guarantee to carry out.

    Que:What are four kinds of things in UML?
    Ans:1) Structural things
    2) Behavioral things
    3) Grouping things
    4) Annotational things

    ReplyDelete
  10. Roll no.3839,47,45,41.
    Q.1) why uml is universal language?
    Ans.Because it can be applied in many areas of software development.

    Q.2) wha is multiplicity in uml?
    Ans. Multiplicity is active logical active logical Association when the cardinality of a class in relation to another in being depicted.

    Q.3) write ways of uml applied.
    Ans. 1)sketch 2) blueprint
    3) programming languages.

    Q.4) write one disadvantage of UML?
    UML places much emphasis on design which can be problematic for some developers and companies.

    Q.5) which term include in
    Design at UML?
    Ans. The design include class, interface and collaboration.

    Q.6) what is term generalisation In UML?
    Ans. Generalisation is relation between general things i.e super class or parent class and specifying things i.e child or sub classes.

    Q.7) Graphically how show generalization?
    Ans. It show at solid line with hollow arrowhead that pointing
    parent.

    Q.8) which users to use real world system?
    Ans. 1 developers,
    2 testers,
    3 business people,
    4 analysts.

    Q.9) what is specifying in UML?
    Ans. Specifying means building models that are exact,
    unambiguous and complete.

    Q.10) what is constructing in UML?
    Ans. It is related to actually implementation of design into coding.

    ReplyDelete

Post a Comment