0% found this document useful (0 votes)
94 views

10 Total Mark: 10 X 1 10: NPTEL Online Certification Courses Indian Institute of Technology Kharagpur

UML is a graphical modeling technique used to capture important aspects of software systems. It includes various diagram types that are used at different stages of development. Use case diagrams are typically the first to be created to model external interactions, without revealing internal structure. Subsequent analysis and design models address complexity but do not directly translate to code. Floor plans and pure data views are not part of the standard UML modeling views.

Uploaded by

vit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views

10 Total Mark: 10 X 1 10: NPTEL Online Certification Courses Indian Institute of Technology Kharagpur

UML is a graphical modeling technique used to capture important aspects of software systems. It includes various diagram types that are used at different stages of development. Use case diagrams are typically the first to be created to model external interactions, without revealing internal structure. Subsequent analysis and design models address complexity but do not directly translate to code. Floor plans and pure data views are not part of the standard UML modeling views.

Uploaded by

vit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur

Object Oriented System Development Using UML, Java and Patterns


Assignment- 1
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

For each of the following questions one or more of the given options are correct. Choose the
correct options.

QUESTION 1:

Which of the following sentences is/are FALSE about a UML model?


a. It captures only some important aspects and ignores the rest.
b. It is an effective mechanism to handle complexity.
c. It is a graphical model
d. From the requirements, an analysis model is created.
e. A design model is created from an analysis model.
f. An analysis model can be easily translated to code.

Correct Answer: f. An analysis model can be easily translated to code.


Detailed Solution:

UML model is not used for directly translating to code, rather it is a graphical modelling
technique to capture only important aspects of software system.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 2:

Usually a textual description accompanies a use case diagram. Which of the following are
hallmarks of a poor textual description?
a. Use case description starts with a request from the system to an actor.
b. Use case description ends with the system producing all answers the actor asked
for.
c. Use case description is a narrative essay of the actor inputs and the system
outputs
d. Use case description is written from the actor’s point of view.
e. Use case description details of the internal activities that the system must
perform to produce all the required system responses.

Correct Answer: c. Use case description is a narrative essay of the actor inputs and the system
outputs
e. Use case description details of the internal activities that the system must
perform to produce all the required system responses.
Detailed Solution:

Use case description provides a high-level behaviors of the system, user goals, external entities:
actors.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 3:

Suppose in a course management software, a student during registration can request the course list
to be displayed if he/she needs to consult the course list before making a decision about a course to
register. Which one of the following use cases, correctly models this?

a. A
b. B
c. C
d. D
e. Both C and D

Correct Answer: a. A
Detailed Solution:
Figure A represents the given description. Here, See Course List is a common use case and Register
course is a base use case.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 4:

Consider the following use case factorization.

Which one of the following is implied by the above factoring?


a. Base use case is a generalization of the common use case
b. Common use case is a generalization of the base use case
c. Base use case optionally includes common use case
d. Common use case optionally includes base use case
e. Base use case compulsorily includes common use case

Correct Answer: c. Base use case optionally includes common use case
Detailed Solution:
Base use case may or may not include common use case. Please refer slide 40 of week 1 lecture
material .
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 5:

Which of the following statements are false regarding modelling a system using UML?
a. UML models help handle complexity in the problem
b. All UML models together constitute the design of the system
c. A design is essentially a model of the system
d. An analysis model is constructed from a design model
e. Some constructed UML models are specification of the system

Correct Answer: b. All UML models together constitute the design of the system
d. An analysis model is constructed from a design model

Detailed Solution:

We don’t need all of UML in every problem we solve. Please refer slide 22 of week 1 lecture
material for more information.

QUESTION 6:

Which one of the following UML diagrams is the first to be constructed in a typical object-oriented
software design process?
a. Use case diagram
b. Sequence diagram
c. Class diagram
d. Communication diagram
e. State machine diagram

Correct Answer: a. Use case diagram

Detailed Solution:

Use case diagrams is the first to be constructed in a typical object-oriented software design process.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 7:

Which one of the following are false about a use case?


a. It is a way in which a system can be used by the users to achieve specific goals
b. It corresponds to a non-functional requirement.
c. It defines external behavior without revealing internal structure of system
d. The text description accompanying a use case identifies the classes and their
interactions
e. It is a set of related usage scenarios tied together by a common goal

Correct Answer: b. It corresponds to a non-functional requirement.


d. The text description accompanying a use case identifies the classes and their
interactions.
Detailed Solution:
Use case diagram represents the important functions in a given system. It identifies external
behavior without revealing the internal structure of the system. However, it neither include the non
functional requirements of the system nor does it identify he classes and their interaction.

QUESTION 8:

Suppose a library automation software is to be designed. In this, one of the requirements is that before
a book can be issued, it needs to be checked whether the book has been reserved by any user. Which
one of the following mechanisms is most appropriate to factor the corresponding use case into issue
book and check reservation use cases?
a. Inheritance
b. Dependency
c. Include
d. Extend
e. Composition

Correct Answer: c. Include


Detailed Solution:
Here, check reservation use case is a common use case whereas issue book is a base use case that
includes the common use case.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 9:

UML 1.X was enhanced with additional notational support to largely address modelling which one
of the following types of applications?
a. Embedded computing applications
b. Artificial intelligence applications
c. Data science applications
d. Machine learning application
e. Cloud applications

Correct Answer: a. Embedded computing applications


Detailed Solution:

UML 1.X was enhanced with additional notational support to largely address embedded computing
applications. Please refer slide 14 of week 1 lecture material for more insights.

QUESTION 10:

Which of the following views of a system are not modelled using UML?
a. Users’ view
b. Environmental view
c. Floor plan view
d. Structural view
e. Data view

Correct Answer: c. Floor plan view


e. Data view

Detailed Solution:
Floor plan view and data view are not present in UML modelling. Please refer slide 19 of week 1
lecture material to get different views of UML.

************END***********

You might also like