What is UML? Explain Various UML Diagrams. |
|
University | Amity blog |
Service Type | Assignment |
Course | |
Semester | |
Short Name or Subject Code | OBJECT-ORIENTED DESIGN USING UML |
Product | of Assignment (Amity blog) |
Pattern | Section A,B,C Wise |
Price | Click to view price |
OBJECT-ORIENTED DESIGN USING UML
Question 1. What is Visual Modeling? Explain the Object-oriented Modeling.
Question 2. Write a short note on:
A. Aggregation and Association
B. Generalization and Inheritance
C. Class Diagram
Question 3. What is UML? Explain various UML Diagrams.
Question 4. What is Use Case? How it is different from Actor?
Question 5. Explain State Chart Diagram and Activity Diagram.
Question 6. What is the difference b/w Sequence Diagram and Collaboration Diagram?
Question 7. Explain the Deployment Diagram in details. Solve by www.solvezone.in contact for more details – at 8882309876
Question 8. What is the difference between object oriented and procedure oriented methodologies.
1. Design UML diagrams for Hotel Management System including all of its routine processes.
Answer:
Assignment C
Question No. 1 Marks - 10
Which of the following should be represented on an information flow diagram?
Options
Process
Entity
Forecasting the human resource
Attribute
Question No. 2 Marks -10
What are the most useful UML diagrams and related information that can be used to represent a Web App interaction model?
Options
activity diagrams, class diagrams, state diagrams, interface prototype
activity diagrams, collaboration diagrams, sequence diagrams, state diagrams
use-cases, sequence diagrams, state diagrams, interface prototype
use-cases, sequence diagrams, state diagrams, sequence diagrams
Question No. 3 Marks - 10
A web blueprint depicts--
Options
The layout of the home page
The layout of a sitemap
The layout of an individual web page
The layout of a website
Question No. 4 Marks - 10
Which of the following statements are true for Activity diagrams?
Options
can be used to depict workflow for a particular business activity
can be used to explore/discover parallel activities
do not tell you who does what and are difficult to trace back to object models
all of the above
Question No. 5 Marks - 10
UML depicts information systems as a collection of--
Options
Data entities
Information
Objects
Processes
Question No. 6 Marks - 10
Which statements are true about associations in Class Diagrams?
Options
It is good practice to name every association and most data modelers prefer to name association using a "verb"
Most object modelers prefer to assign role name using a "noun" to association
If there is no name on the role, the implied name is the name of target class
None of the above
Question No. 7 Marks - 10
Which of the following relates to enterprise interoperability?
Options
DFD
XML
Entity Relationship Diagram
Information Flow Diagram
Question No. 8 Marks - 10
What is true about Class diagrams?
Options
Conceptual perspective: The diagrams are interpreted as describing things in the real world.
Specification perspective: The diagrams are interpreted as describing software abstractions or components with specifications and interfaces but with no commitment to a particular implementation.
Implementation perspective: The diagrams are interpreted as describing software implementations in a particular technology and language.
All of the above
Question No. 9 Marks - 10
Which of the following is not a type of navigation system for a web site?
Options
Local
Regional
Contextual
Global National
Question No. 10 Marks - 10
Which of the following statements are true?
Options
Modeling language is a notation, a way you use to express your thinking and others can understand.
Process is "Who is doing what and How" do you organize OOP activities, such as RUP and waterfall process.
Methodology = Process + Notatione.g.Booch Method = Booch Process + Booch Notation
All of the above
Question No. 11 Marks - 10
What should not be part of an acceptable use policy?
Options
Encryption policies
Legal obligations
User Responsibilities
Allowable use of systems
Question No. 12 Marks - 10
Use-case analysis focuses upon--
Options
Objects
Information
Entities
Actors
Question No. 13 Marks - 10
Which of the following statements are false about Activity Diagrams?
Options
From conceptual perspective, an activity is some task that needs to be done, whether automated or manual
From specification perspective, an activity is a method of a class
It is illegal to have an activity followed by another activity
Activity diagrams may contain the following elements: activity, trigger (solid-line with arrow at one end), guard ([condition]), decision (diamond), synchronization bar, start and end point
Question No. 14 Marks - 10
When to use Interaction Diagrams?
Options
When you want to look at the behavior of several objects within a single use case or several use cases
They are good at showing collaborations among objects; they are not so good at conditions and looping
They are good to look at behavior of a single object across many use cases.
All of the above
Question No. 15 Marks - 10
Which of the following is part of a static view of information?
Options
Data flow model
Meta data
Information process model
Logical data model
Question No. 16 Marks - 10
What is true about UML stereotypes?
Options
A stereotype is used for extending the UML language.
A stereotyped class must be abstract.
The stereotype {frozen} indicates that the UML element cannot be changed.
UML Profiles can be stereotyped for backward compatibility
Question No. 17 Marks - 10
A derived class is a--
Options
Child Class
Parent Class
Base Class
Differentiated Classes
Question No. 18 Marks - 10
What is true about a Sequence Diagram?
Options
It describes the behaviour in many Use Cases.
It describes the behaviour in a single Use Case of several objects.
It describes the behaviour of a single object.
None of the above
Question No. 19 Marks - 10
Which of the following statement is true about visibility?
Options
UML uses # for public element
UML uses - for private element
UML uses * for protected element
UML adopts Java's convention
Question No. 20 Marks - 10
Which of the following statements are true for Activity diagrams?
Options
Can be used to depict workflow for a particular business activity
Can be used to explore/discover parallel activities
Do not tell you who does what and are difficult to trace back to object models
All of the above
Question No. 21 Marks - 10
Which statement is correct to test sub typing?
Options
Use "is a" e.g. Silky is a Cat; Cat is an Animal
Cat is a kind of Animal
Animal is a kind of Cat
All of the above
Question No. 22 Marks - 10
Constraints can be represented in UML by--
Options
[ text string ]
{ text string }
notes
constraint
Question No. 23 Marks - 10
Which of the following statement is false?
Options
Aggregation is a special kind of Association.
Both Aggregation and Composition are 'part-of' relationship.
When the whole is deleted, parts in aggregation are also removed
All of the above
Question No. 24 Marks - 10
Which of the following statements is true about an Association Class?
Options
It can contain attributes and operations.
There can be more than one instance between participating objects.
It is designed to support the Historic Mapping pattern.
All of above
Question No. 25 Marks - 10
Which of the following statements describes taxonomy?
Options
A list of equivalent terms
A complex controlled vocabulary showing relationships
A browsable hierarchy
None of the above
Question No. 26 Marks - 10
Which of the following statements about XML schemas is incorrect?
Options
Schemas are defined by XSD tag
They offer more flexibility than DTDs
All XML documents must have a schema
Schemas can specify integer values
Question No. 27 Marks - 10
Class diagrams at conceptual level should include--
Options
Attributes ONLY
Operations ONLY
Both attributes and operations
None of the above
Question No. 28 Marks - 10
29 UML consists of--
Options
Person, places, and things.
Things, relationships, and diagrams
Active and stationary things.
Active things and diagrams.
Question No. 29 Marks - 10
Which of these is a basic type of structure that might be imposed on classes and objects?
Options
Generalization-specialization
Whole-part
Both a and b
None of the above
Question No. 30 Marks - 10
Polymorphism--
Options
Is a Greek word meaning many forms.
Is the capability of a program to have several versions of a method with the same name?
Is also known as method overriding.
All of the above
Question No. 31 Marks - 10
UML diagrams are of two main types--
Options
State and process
Structure and behavioral.
Service and subject.
Class and object.
Question No. 32 Marks - 10
The primary elements of UML are called--
Options
Diagrams.
Relationships.
Things.
Objects.
Question No. 33 Marks - 10
What is a "use case"?
Options
A class
A reusable object
A particular role of a user of the system
A sequence of transactions in a system
Question No. 34 Marks - 10
Which of the following describes the use case relationships--
Options
Communicates, includes, extends, and generalizes
Includes, extends, overrides, and generalizes
Includes, extends, overrides, and overloads
Overrides, overloads, specifies, and generalizes
Question No. 35 Marks - 10
Things that are grouped together into physical subsystems in UML are called--
Options
Packages.
Classes.
Collaborations.
None of the above.
Question No. 36 Marks - 10
Statechart diagrams--
Options
Is another way to determine class methods?
Are also called state transition diagrams.
Are created for a single class.
All of the above.
Question No. 37 Marks - 10
The primary use case--
Options
Is also known as the happy path.
Should be started from the 0-Level diagram.
Describes only the unusual system behaviors.
Never includes the alternative paths.
Question No. 38 Marks - 10
What encapsulates both data and data manipulation functions?
Options
Object
Class
Super Class
Sub Class
Question No. 39 Marks - 10
Activity diagrams--
Options
Use arrows, diamonds, crow's feet, and circles
Show the sequence of activities in a process
Are created for multiple use cases to show their interactions
Use arrows, rectangles, diamonds, and triangles
Question No. 40 Marks - 10
Sequence diagrams--
Options
Show a succession of interactions over time.
Illustrate processing described in use case scenarios.
Are derived from use case analysis.
All of the above.