Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 3 An association where that models whole / part relationship where a part may belong to only one whole, and if the whole is
Question
An association where that models wholepart relationship where a part may belong to only one whole, and if the whole is deleted, so are the parts.
Composition
Aggregation
Inheritance
Polymorphism
Question
Points
Which of the following statements relating to information hiding in objectoriented programming is FALSE?
Information hiding makes it easier for programmers to extend classes without worrying about who may be accessing class propertiesvariables
Information hiding depends on the extensive use of global variables.
Information hiding makes it easier for programmers to reuse Classes without knowing the details of how they work internally.
Information hiding protects the values of variable from being changed inappropriately.
Question
Points
Which of the following is true about deployment diagram?
It shows static relations between software packages.
It shows the details of the component interfaces.
It shows how a user interacts with the software.
It shows the topology of the hardware components where the software components are deployed.
Question
Points
A high value of the Lack of Cohesion of Methods LCOM metric indicates that the given class is:
The class is easy to maintain high maintainability
The class is easy to test high testability
The class is modular.
The class is loosely cohesive, needs refactoring.
Question
Points
A class that has more than one constructor can NOT be implemented as aSingleton.
True
False
Question
Points
What design pattern would you use to make it easy to change the class of the object that a method returns?
Abstract Factory
Factory Method
Builder
Decorator
Question
Points
In the abstract factory pattern, the ConcreteFactory is best implemented as:
Singleton
Builder
Factory Method
Another Abstract Factory
Question
Points
Which of the following BEST matches the following explanation: Focus on problems and solutions associated with how classes and objects are organized and integrated?
Behavioral patterns
Structural patterns
Interface Patterns
Creational patterns
What design pattern should you think of when you want to hide how you construct a complex object?
Singleton
Adapter
Builder
Factory Method
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started