Question: What does a deployment diagram in UML typically depict? Question 1 Answer a . The physical hardware components and their connections b . The structure

What does a deployment diagram in UML typically depict?
Question 1Answer
a.
The physical hardware components and their connections
b.
The structure of classes and their relationships
c.
The flow of activities within a system
d.
The interactions between objects in a system
Question 2
Not yet answered
Marked out of 1.00
Flag question
Question text
Which concept in OOP allows a class to inherit properties and methods from another class?
Question 2Answer
a.
Polymorphism
b.
Abstraction
c.
Encapsulation
d.
Inheritance
Question 3
Not yet answered
Marked out of 1.00
Flag question
Question text
In a component diagram, what does a dependency arrow with a dashed line indicate?
Question 3Answer
a.
A weak dependency between components
b.
A package import relationship
c.
A strong dependency between components
d.
A realization relationship
Question 4
Not yet answered
Marked out of 1.00
Flag question
Question text
Which UML diagram is used to show the structure of a system, including packages and the dependencies between them?
Question 4Answer
a.
Package diagram
b.
Object diagram
c.
Class diagram
d.
Deployment diagram
Question 5
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following best describes an 'object' in object-oriented analysis and design (OOAD)?
Question 5Answer
a.
A variable in a programming language
b.
A physical entity in the real world
c.
A collection of functions
d.
An instance of a class with its own state and behavior
Question 6
Not yet answered
Marked out of 1.00
Flag question
Question text
Which concept in OOP allows objects to be treated as instances of their parent class rather than their actual class?
Question 6Answer
a.
Encapsulation
b.
Abstraction
c.
Polymorphism
d.
Inheritance
Question 7
Not yet answered
Marked out of 1.00
Flag question
Question text
What is the purpose of an activity diagram in UML?
Question 7Answer
a.
To depict the dynamic aspects of a system's functionality
b.
To show the flow of activities within a system
c.
To illustrate the interactions between objects
d.
To model the behavior of a single class
Question 8
Not yet answered
Marked out of 1.00
Flag question
Question text
In a class diagram, what does a solid line with a hollow arrowhead indicate?
Question 8Answer
a.
Generalization
b.
Dependency
c.
Composition
d.
Aggregation
Question 9
Not yet answered
Marked out of 1.00
Flag question
Question text
Which UML diagram is used to depict the interactions between components within a system and with external systems?
Question 9Answer
a.
Use case diagram
b.
Statechart diagram
c.
Component diagram
d.
Communication diagram
Question 10
Not yet answered
Marked out of 1.00
Flag question
Question text
In OOP, what does 'composition' refer to?
Question 10Answer
a.
A relationship between classes where objects can belong to multiple classes
b.
The ability of one object to acquire the properties of another object
c.
A specialized form of association where one class is part of another class
d.
The process of creating multiple instances of an object

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!