Home » Software Engineering

MCQ | UML views and UML diagrams

Here, we have a set of multiple-choice questions and answers (quiz) on UML views and UML diagrams in software engineering. For any help, you can refer to the previous articles on the same topic.
Submitted by Monika Sharma, on November 09, 2019

Q1. How many views of the software can be represented through the Unified Modeling Language (UML)?

  1. Four
  2. Five
  3. Nine
  4. None of the above

Answer: b. Five

Explanation:

There are 5 views that can be represented through the UML: User's view, Behavioral View, Structural View, Environmental View, implementation view.


Q2. Which of the following UML diagrams represent the structural View of the software?

  1. Class diagram
  2. Object diagram
  3. Both a. and b.
  4. None of the above

Answer: c. Both a. and b.

Explanation:

There are 2 UML diagrams that represent the structural view of the software: Class diagrams and the object diagrams.


Q3.Which of the following is not a UML diagram?

  1. Class diagram
  2. Object Diagram
  3. Interface diagram
  4. Use case model

Answer: c. Interface diagram

Explanation:

There is no UML diagram such as interface diagram.


Q4. Which of the following statements is true?

  1. There are 5 views that are represented through the Unified Modelling Language (UML).
  2. These 5 views in UML are represented through 9 UML diagrams.
  1. Only i is true
  2. Only ii is true
  3. Both i and ii are true
  4. None of them is true

Answer: c. Both i and ii is true

Explanation:

Both the stated statements are true because there are 5 views of the UML namely: User's view, Behavioral View, Structural View, Environmental View, implementation view. And these views are represented through 9 UML diagrams which are as follows: Use case diagram, Sequence Diagram, Collaboration Diagram, State chart Diagram, Activity Diagram, Class Diagrams, Object Diagrams, Deployment diagram, Component Diagram.


Q5. Which of the following views represents the interaction of the user with the software but tells nothing about the internal working of the software?

  1. Use case diagram
  2. Activity diagram
  3. Class diagram
  4. All of the above

Answer: a. Use case diagram

Explanation:

Use case diagram is the one in which the user’s part of interaction with the software is defined. No internal working of the software is defined in this model.







Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.