Question: Side panel CAT 2 Time left 0 : 3 2 : 4 3 Question 1 Not yet answered Marked out of 1 . 0 0

Side panel
CAT 2
Time left 0:32:43
Question 1
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 1Answer
a.
Activity diagram
b.
State diagram
c.
Sequence diagram
d.
Class diagram
Question 2
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 2Answer
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 3
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following statements about classes and objects is correct?
Question 3Answer
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 4
Not yet answered
Marked out of 1.00
Flag question
Question text
In a use case diagram, what does an actor represent?
Question 4Answer
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 5
Not yet answered
Marked out of 1.00
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 5Answer
a.
Package diagram
b.
Object diagram
c.
Deployment diagram
d.
Class diagram
Question 6
Not yet answered
Marked out of 1.00
Flag question
Question text
In a sequence diagram, what do lifelines represent?
Question 6Answer
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 7
Not yet answered
Marked out of 1.00
Flag question
Question text
In a sequence diagram, what do vertical lines represent?
Question 7Answer
a.
Constraints
b.
States of an object
c.
Objects
d.
Messages between objects
Question 8
Not yet answered
Marked out of 1.00
Flag question
Question text
What is the purpose of an activity diagram in UML?
Question 8Answer
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 9
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 9Answer
a.
Dependency
b.
Aggregation
c.
Generalization
d.
Composition
Question 10
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 10Answer
a.
Polymorphism
b.
Abstraction
c.
Encapsulation
d.
Inheritance
Question 11
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 11Answer
a.
Class diagram
b.
State diagram
c.
Use case diagram
d.
Sequence diagram
Question 12
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 12Answer
a.
Sequence diagram
b.
Use case diagram
c.
Class diagram
d.
Activity diagram
Question 13
Not yet answered
Marked out of 1.00
Flag question
Question text
In an activity diagram, what does a diamond shape represent?
Question 13Answer
a.
An object node
b.
A synchronization bar
c.
A decision point
d.
An activity
Question 14
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 14Answer
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 15
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 15Answer
a.
A transition
b.
An initial state
c.
A decision point
d.
A final state
Question 16
Not yet answered
Marked out of 1.00
Flag question
Question text
Which UML diagram is used to illustrate the interactions between objects within a system over time?
Question 16Answer
a.
Use case diagram
b.
Class diagram
c.
State diagram
d.
Sequence diagram
Question 17
Not yet answered
Marked out of 1.00
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 17Answer
a.
Activity diagram
b.
Use case diagram
c.
Class diagram
d.
State diagram
Question 18
Not yet answered
Marked out of 1.00
Flag question
Question text
What does a transition in a state diagram represent?
Question 18Answer
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 19
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 19Answer
a.
A weak dependency between components
b.
A realization relationship
c.
A package import relationship
d.
A strong dependency between components
Question 20
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 20Answer
a.
Sequence diagram
b.
Collaboration diagram
c.
State diagram
d.
Use case diagram
Question 21
Not yet answered
Marked out of 1.00
Flag question
Question text
What is the primary advantage of encapsulation in OOP?
Question 21Answer
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 22
Not yet answered
Marked out of 1.00
Flag question
Question text
What is 'abstraction' in the context of OOP?
Question 22Answer
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 23
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 23Answer
a.
Communication diagram
b.
Timing diagram
c.
Sequence diagram
d.
State diagram
Question 24
Not yet answered
Marked out of 1.00
Flag question
Question text
In OOP, what does 'composition' refer to?
Question 24Answer
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 25
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 25Answer
a.
Encapsulation
b.
Polymorphism
c.
Inheritance
d.
Abstraction
Question 26
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 26Answer
a.
Class diagram
b.
State diagram
c.
Sequence diagram
d.
Use case diagram
Question 27
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 27Answer
a.
Package diagram
b.
Deployment diagram
c.
Object diagram
d.
Class diagram
Question 28
Not yet answered
Marked out of 1.00
Flag question
Question text
What does a deployment diagram in UML typically depict?
Question 28Answer
a.
The structure of classes and their relationships
b.
The interactions between objects in a system
c.
The flow of activities within a system
d.
The physical hardware components and their connections
Question 29
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 29Answer

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 Programming Questions!