Answered step by step
Verified Expert Solution
Link Copied!

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 3
An association where that models whole/part 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 4
0.5
Points
Which of the following statements relating to information hiding in object-oriented programming is FALSE?
Information hiding makes it easier for programmers to extend classes without worrying about who may be accessing class properties/variables.
Information hiding depends on the extensive use of global variables.
Information hiding makes it easier for programmers to re-use Classes without knowing the details of how they work internally.
Information hiding protects the values of variable from being changed inappropriately.
Question 5
0.5
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 6
0.5
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 11
0.5
Points
A class that has more than one constructor can NOT be implemented as aSingleton.
True
False
Question 12
0.5
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 13
0.5
Points
In the abstract factory pattern, the ConcreteFactory is best implemented as:
Singleton
Builder
Factory Method
Another Abstract Factory
Question 14
0.5
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

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

Database Systems An Application Oriented Approach Complete Version

Authors: Michael Kifer, Arthur Bernstein, Richard Lewis

2nd Edition

0321268458, 978-0321268457

Students also viewed these Databases questions