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 Answer
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
Not yet answered
Marked out of
Flag question
Question text
Which concept in OOP allows a class to inherit properties and methods from another class?
Question Answer
a
Polymorphism
b
Abstraction
c
Encapsulation
d
Inheritance
Question
Not yet answered
Marked out of
Flag question
Question text
In a component diagram, what does a dependency arrow with a dashed line indicate?
Question Answer
a
A weak dependency between components
b
A package import relationship
c
A strong dependency between components
d
A realization relationship
Question
Not yet answered
Marked out of
Flag question
Question text
Which UML diagram is used to show the structure of a system, including packages and the dependencies between them?
Question Answer
a
Package diagram
b
Object diagram
c
Class diagram
d
Deployment diagram
Question
Not yet answered
Marked out of
Flag question
Question text
Which of the following best describes an 'object' in objectoriented analysis and design OOAD
Question Answer
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
Not yet answered
Marked out of
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 Answer
a
Encapsulation
b
Abstraction
c
Polymorphism
d
Inheritance
Question
Not yet answered
Marked out of
Flag question
Question text
What is the purpose of an activity diagram in UML?
Question Answer
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
Not yet answered
Marked out of
Flag question
Question text
In a class diagram, what does a solid line with a hollow arrowhead indicate?
Question Answer
a
Generalization
b
Dependency
c
Composition
d
Aggregation
Question
Not yet answered
Marked out of
Flag question
Question text
Which UML diagram is used to depict the interactions between components within a system and with external systems?
Question Answer
a
Use case diagram
b
Statechart diagram
c
Component diagram
d
Communication diagram
Question
Not yet answered
Marked out of
Flag question
Question text
In OOP, what does 'composition' refer to
Question Answer
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
