Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Which UML diagram is used to model the static structure of a system from a deployment perspective, showing nodes and their relationships? Question 1 5

Which UML diagram is used to model the static structure of a system from a deployment perspective, showing nodes and their relationships?
Question 15Answer
a.
Class diagram
b.
Object diagram
c.
Deployment diagram
d.
Package diagram
Question 16
Not yet answered
Marked out of 1.00
Flag question
Question text
What does a transition in a state diagram represent?
Question 16Answer
a.
A method call between objects
b.
A relationship between classes
c.
A message exchange between actors
d.
A change in the internal state of an object
Question 17
Not yet answered
Marked out of 1.00
Flag question
Question text
In a state diagram, what does a filled circle with an arrow pointing to a state represent?
Question 17Answer
a.
A final state
b.
An initial state
c.
A transition
d.
A decision point
Question 18
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following statements about classes and objects is correct?
Question 18Answer
a.
Classes are instances of objects.
b.
Classes are defined by objects.
c.
Objects are defined by classes.
d.
Objects are instances of classes.
Question 19
Not yet answered
Marked out of 1.00
Flag question
Question text
What is the primary advantage of encapsulation in OOP?
Question 19Answer
a.
It ensures that objects can only be accessed through predefined methods
b.
It simplifies the design of complex systems
c.
It improves the performance of the software
d.
It allows for code reusability
Question 20
Not yet answered
Marked out of 1.00
Flag question
Question text
What is the primary purpose of a use case diagram in UML?
Question 20Answer
a.
To model the behavior of a single class
b.
To illustrate the interactions between objects
c.
To describe the functional requirements of a system
d.
To depict the dynamic aspects of a system's functionality
Question 21
Not yet answered
Marked out of 1.00
Flag question
Question text
Which UML diagram is used to represent how objects collaborate to achieve a specific goal or functionality in a system?
Question 21Answer
a.
Collaboration diagram
b.
State diagram
c.
Use case diagram
d.
Sequence diagram
Question 22
Not yet answered
Marked out of 1.00
Flag question
Question text
In a class diagram, what does an association line with an arrow indicate?
Question 22Answer
a.
Generalization
b.
Aggregation
c.
Composition
d.
Dependency
Question 23
Not yet answered
Marked out of 1.00
Flag question
Question text
What is 'abstraction' in the context of OOP?
Question 23Answer
a.
The process of creating multiple instances of a class
b.
The process of hiding the internal details of an object's behavior
c.
The ability to inherit properties and methods from another class
d.
The process of allowing objects to take on many forms
Question 24
Not yet answered
Marked out of 1.00
Flag question
Question text
In a sequence diagram, what do vertical lines represent?
Question 24Answer
a.
Objects
b.
Constraints
c.
States of an object
d.
Messages between objects
Question 25
Not yet answered
Marked out of 1.00
Flag question
Question text
Which OOAD diagram is used to model the dynamic behavior of a system over time?
Question 25Answer
a.
Class diagram
b.
Use case diagram
c.
State diagram
d.
Sequence diagram
Question 26
Not yet answered
Marked out of 1.00
Flag question
Question text
In a sequence diagram, what do lifelines represent?
Question 26Answer
a.
The sequence of method calls within a class
b.
Objects
c.
Messages exchanged between objects
d.
States of an object during its lifetime
Question 27
Not yet answered
Marked out of 1.00
Flag question
Question text
Which OOAD diagram is used to show the interactions between objects and their messages?
Question 27Answer
a.
State diagram
b.
Class diagram
c.
Use case diagram
d.
Sequence diagram
Question 28
Not yet answered
Marked out of 1.00
Flag question
Question text
In a class diagram, what does a dashed line with a hollow diamond at one end indicate?
Question 28Answer
a.
Generalization
b.
Dependency
c.
Aggregation
d.
Composition
Question 29
Not yet answered
Marked out of 1.00
Flag question
Question text
What is the purpose of a communication diagram in UML?
Question 29Answer
a.
To model the behavior of a single class
b.
To illustrate the interactions between objects
c.
To show the flow of activities within a system
d.
To depict the dynamic aspects of a system's functionality
Question 30
Not yet answered
Marked out of 1.00
Flag question
Question text
What is 'inheritance' in object-oriented programming (OOP)?
Question 30Answer
a.
The process of creating multiple instances of an object
b.
The ability of a subclass to inherit attributes and methods from its superclass
c.
The process of creating new instances of classes
d.
The process of hiding the complexity of a class
Question 31
Not yet answered
Marked out of 1.00
Flag question
Question text
Which OOAD diagram is used to show the static structure of a system, including classes, attributes, and relationships?
Question 31Answer
a.
Class diagram
b.
Use case diagram
c.
Sequence diagram
d.
Activity diagram
Question 32
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 classes, attributes, methods, and relationships?
Question 32Answer
a.
Use case diagram
b.
Class diagram
c.
Sequence diagram
d.
State diagram
Question 33
Not yet answered
Marked out of 1.00
Flag question
Question text
In OOAD, what does the term 'aggregation' represent?
Question 33Answer
a.
A form of inheritance where a subclass extends a superclass
b.
A specialized form of association where one class is part of another class
c.
A relationship between classes where objects can belong to multiple classes
d.
A relationship between classes where one class is dependent on another class
Question 34
Not yet answered
Marked out of 1.00
Flag question
Question text
In an activity diagram, what does a diamond shape represent?
Question 34Answer
a.
A decision point
b.
An activity
c.
An object node
d.
A synchronization bar
Question 35
Not yet answered
Marked out of 1.00
Flag question
Question text
Which UML diagram is used to show the timing constraints of messages in a system?
Question 35Answer
a.
Communication diagram
b.
State diagram
c.
Timing diagram
d.
Sequence diagram
Question 36
Not yet answered
Marked out of 1.00
Flag question
Question text
In a use case diagram, what does an actor represent?
Question 36Answer
a.
A state of an object
b.
A specific instance of a class
c.
An external entity that interacts with the system
d.
A sequence of actions within a system
Question 37
Not yet answered
Marked out of 1.00
Flag question
Question text
Which UML diagram is used to depict the dynamic behavior of a system, focusing on the states of objects and transitions between states?
Question 37Answer
a.
State diagram
b.
Sequence diagram
c.
Activity diagram
d.
Class diagram

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Database Systems With Internet And Java Applications

Authors: Greg Riccardi

1st Edition

020161247X, 978-0201612479

More Books

Students also viewed these Databases questions

Question

=+ (c) Show that a ,, converges to some a > 0.

Answered: 1 week ago