Question: Side panel CAT 2 Time left 0 : 4 5 : 1 6 Question 1 Not yet answered Marked out of 1 . 0 0
Side panel
CAT
Time left ::
Question
Not yet answered
Marked out of
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 Answer
a
Activity diagram
b
State diagram
c
Sequence diagram
d
Class 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 physical entity in the real world
b
A collection of functions
c
An instance of a class with its own state and behavior
d
A variable in a programming language
Question
Not yet answered
Marked out of
Flag question
Question text
Which of the following statements about classes and objects is correct?
Question Answer
a
Objects are instances of classes.
b
Classes are defined by objects.
c
Classes are instances of objects.
d
Objects are defined by classes.
Question
Not yet answered
Marked out of
Flag question
Question text
In a use case diagram, what does an actor represent?
Question Answer
a
A sequence of actions within a system
b
An external entity that interacts with the system
c
A specific instance of a class
d
A state of an object
Question
Not yet answered
Marked out of
Flag question
Question text
Which UML diagram is used to model the static structure of a system from a deployment perspective, showing nodes and their relationships?
Question Answer
a
Package diagram
b
Object diagram
c
Deployment diagram
d
Class diagram
Question
Not yet answered
Marked out of
Flag question
Question text
In a sequence diagram, what do lifelines represent?
Question Answer
a
States of an object during its lifetime
b
Objects
c
The sequence of method calls within a class
d
Messages exchanged between objects
Question
Not yet answered
Marked out of
Flag question
Question text
In a sequence diagram, what do vertical lines represent?
Question Answer
a
Constraints
b
States of an object
c
Objects
d
Messages between objects
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 illustrate the interactions between objects
b
To model the behavior of a single class
c
To show the flow of activities within a system
d
To depict the dynamic aspects of a system's functionality
Question
Not yet answered
Marked out of
Flag question
Question text
In a class diagram, what does a dashed line with a hollow diamond at one end indicate?
Question Answer
a
Dependency
b
Aggregation
c
Generalization
d
Composition
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
Polymorphism
b
Abstraction
c
Encapsulation
d
Inheritance
Question
Not yet answered
Marked out of
Flag question
Question text
Which OOAD diagram is used to model the dynamic behavior of a system over time?
Question Answer
a
Class diagram
b
State diagram
c
Use case diagram
d
Sequence diagram
Question
Not yet answered
Marked out of
Flag question
Question text
Which OOAD diagram is used to show the static structure of a system, including classes, attributes, and relationships?
Question Answer
a
Sequence diagram
b
Use case diagram
c
Class diagram
d
Activity diagram
Question
Not yet answered
Marked out of
Flag question
Question text
In an activity diagram, what does a diamond shape represent?
Question Answer
a
An object node
b
A synchronization bar
c
A decision point
d
An activity
Question
Not yet answered
Marked out of
Flag question
Question text
What is the primary purpose of a use case diagram in UML?
Question Answer
a
To illustrate the interactions between objects
b
To describe the functional requirements of a system
c
To depict the dynamic aspects of a system's functionality
d
To model the behavior of a single class
Question
Not yet answered
Marked out of
Flag question
Question text
In a state diagram, what does a filled circle with an arrow pointing to a state represent?
Question Answer
a
A transition
b
An initial state
c
A decision point
d
A final state
Question
Not yet answered
Marked out of
Flag question
Question text
Which UML diagram is used to illustrate the interactions between objects within a system over time?
Question Answer
a
Use case diagram
b
Class diagram
c
State diagram
d
Sequence diagram
Question
Not yet answered
Marked out of
Flag question
Question text
Which UML diagram emphasizes the flow of control within a system and is often used to model workflows and business processes?
Question Answer
a
Activity diagram
b
Use case diagram
c
Class diagram
d
State diagram
Question
Not yet answered
Marked out of
Flag question
Question text
What does a transition in a state diagram represent?
Question Answer
a
A message exchange between actors
b
A relationship between classes
c
A method call between objects
d
A change in the internal state of an object
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 realization relationship
c
A package import relationship
d
A strong dependency between components
Question
Not yet answered
Marked out of
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 Answer
a
Sequence diagram
b
Collaboration diagram
c
State diagram
d
Use case diagram
Question
Not yet answered
Marked out of
Flag question
Question text
What is the primary advantage of encapsulation in OOP?
Question Answer
a
It allows for code reusability
b
It ensures that objects can only be accessed through predefined methods
c
It improves the performance of the software
d
It simplifies the design of complex systems
Question
Not yet answered
Marked out of
Flag question
Question text
What is 'abstraction' in the context of OOP?
Question Answer
a
The process of creating multiple instances of a class
b
The ability to inherit properties and methods from another class
c
The process of hiding the internal details of an object's behavior
d
The process of allowing objects to take on many forms
Question
Not yet answered
Marked out of
Flag question
Question text
Which UML diagram is used to show the timing constraints of messages in a system?
Question Answer
a
Communication diagram
b
Timing diagram
c
Sequence diagram
d
State diagram
Question
Not yet answered
Marked out of
Flag question
Question text
In OOP, what does 'composition' refer to
Question Answer
a
A specialized form of association where one class is part of another class
b
A relationship between classes where objects can belong to multiple classes
c
The process of creating multiple instances of an object
d
The ability of one object to acquire the properties of another object
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
Encapsulation
b
Polymorphism
c
Inheritance
d
Abstraction
Question
Not yet answered
Marked out of
Flag question
Question text
Which UML diagram is used to show the structure of a system, including classes, attributes, methods, and relationships?
Question Answer
a
Class diagram
b
State diagram
c
Sequence diagram
d
Use case diagram
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
Deployment diagram
c
Object diagram
d
Class diagram
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
