Deck 15: Components Reuse

Full screen (f)
exit full mode
Question
Most complex products are built ________.

A) as monolithic objects
B) from independent parts
C) from scratch
D) from inside-out
Use Space or
up arrow
down arrow
to flip the card.
Question
The advancement of technology is ________.

A) revolutionary
B) static
C) incremental
D) dynamic
Question
________ products are made possible only when the availability of what they require, be it tangible or intangible, achieves a critical mass.

A) Complex or revolutionary
B) Simple
C) New
D) Old
Question
Reuse helps with ________.

A) improving productivity
B) managing complexity
C) reducing costs
D) all of the above
Question
Reuse can apply to development activities such as ________.

A) analysis
B) design
C) implementation
D) all of the above
Question
Reuse can apply to any ________ that is required in software development.

A) product
B) experience
C) expertise
D) all of the above
Question
________ is (are) the most obvious, the most reliable and the most effective mechanism for reuse.

A) Components
B) Patterns
C) Inheritance
D) Web services
Question
Patterns encapsulate experience in solving problems and they:

A) are not ready-to-use and must be adapted to the specific problems at hand
B) like components are ready to use
C) are packaged as foolproof
D) can't be reused
Question
________ is a service that provides platform-independent application logic to consumers across the Web.

A) Pattern
B) Inheritance
C) Web services
D) Component reuse
Question
The most obvious, the most reliable, and the most effective mechanism for reuse is ________.

A) patterns
B) refactoring
C) Web services
D) component
Question
________ provide(s) the guidelines for discovering the solution.

A) Methodology
B) Reuse
C) Patterns
D) Technology
Question
Source code reuse is advisable when solving ________.

A) new problems
B) unique problems
C) problems requiring cookbook solutions
D) complex problems
Question
________ is one of the basic concepts of object orientation and is theoretically significant but not very helpful if it cannot be put into practice.

A) Web services
B) The Java language
C) Inheritance
D) Architecture
Question
Implementation inheritance is a mechanism where a(n) ________ can reuse, extend, or override the attributes and the operations of its parent.

A) superclass
B) subclass
C) inheritance
D) Web service
Question
Subclassing is a kind of inheritance in which the subclass inherits not only the features but also the ________ of its superclass.

A) functionality
B) attributes
C) characteristics
D) name
Question
A subclass may add ________ that do not exist in the superclass.

A) attributes
B) operations
C) extensions
D) any of the above
Question
The concept of ________ is used when a superclass can provide specialized services through its subclasses.

A) encapsulation
B) reuse
C) polymorphism
D) components
Question
________ is a mechanism by which multiple classes share one interface but implement that interface independently of each other or of the parent class.

A) Interface inheritance
B) Double interface
C) Reused component
D) Magic interface
Question
In ________ a subclass is responsible for implementing each and every attribute and/or operation of the superclass.

A) polymorphism
B) encapsulation
C) interface inheritance
D) specialization
Question
The purpose of interface inheritance is to arrive at a subclass that ________.

A) performs different services
B) has the same attributes
C) has different attributes
D) performs the same services, but in a different way
Question
A class can implement ________ interfaces shared with other classes.

A) multiple
B) single
C) double
D) none of the above
Question
Which of the following is NOTa reason for creating multiple interfaces?

A) security
B) complexity of services
C) multiple functionality
D) simplicity
Question
The concept of "white-box reuse" that exposes a subclass to the details of its superclass implementation applies to ________.

A) encapsulation
B) inheritance
C) polymorphism
D) patterns
Question
The black-box reuse approach ce, where the internal details of a class are not exposed to subclasses, is also called ________.

A) composition approach
B) decomposition approach
C) aggregation approach
D) polymorphism
Question
Which of the following languages supports multiple inheritance?

A) C++
B) Java
C) C
D) C#
Question
Building products from replaceable, interchangeable, reusable, and well-tested components has proved to ________.

A) be the most effective method to ensure quality
B) make products more customizable
C) reduce costs through economy of scale.
D) all of the above
Question
Building everything from start to finish in one project is called ________ development.

A) vertical
B) horizontal
C) circular
D) inside-out
Question
Component-based software development is generally ________.

A) more expensive than a traditional approach
B) very slow
C) vertical
D) horizontal
Question
In ________, we assemble software from independent units that are limited in scope but are well-defined, can be replaced and, given the right functionality, can be recombined into more than one application and in more than one context.

A) a vertical approach
B) component-based development
C) SDLC
D) a waterfall approach
Question
A component is a(n) ________ unit of software that provides services specified by one or more interfaces.

A) encapsulated
B) independent
C) replaceable
D) all of the above
Question
A component is ________.

A) not language-specific
B) platform-specific
C) binary
D) all of the above
Question
A component is identified by one or more interfaces that act as ________ between the component and its clients.

A) contracts
B) application software
C) an interface
D) a database system
Question
________ properties are those services for which the component was created and are exposed through one or more interfaces.

A) Non-functional
B) Functional
C) Component-specific
D) all of the above
Question
When describing the component itself, the version number, copyright, performance, and security are part of ________.

A) non-functional properties
B) non-specifics properties
C) functional properties
D) machine-specific properties
Question
Components can be modeled as ________.

A) simple icons
B) black boxes
C) class diagrams
D) any of the above
Question
Interfaces lack implementation; they must be supported by ________ classes.

A) concrete
B) abstract
C) super
D) multiple
Question
The relationships between components are modeled through a(n) ________.

A) activity diagram
B) UML diagrams
C) component diagram
D) interface diagrams
Question
Components offer services only through ________.

A) relationships
B) interfaces
C) other objects
D) superclasses
Question
One essential purpose of component-based architecture is to manage ________.

A) the operating system
B) the user interface
C) complexity
D) inheritance
Question
Developing a reusable component for ________ use is more difficult because you have no control over how and where the component will be used.

A) commercial
B) personal
C) enterprise
D) software
Question
A design component is a one that helps build a solution.
Question
Design components emerge from the patterns identified in the analysis phase.
Question
The two major reuse concepts are analysis and design.
Question
Complex products are built as monolithic objects.
Question
We can use the concept of reuse only for developing products.
Question
Reuse in software development is an afterthought of the normal course of development.
Question
Reuse can embrace any method or artifact in software development.
Question
The most obvious, reliable, and effective mechanism for reuse is a component.
Question
Patterns are formed from repeated experience in solving problems.
Question
Like components, patterns are ready-to-use and need not be adapted to specific problems.
Question
A Web service is a service that provides platform-independent application logic to consumers across the Web via standard protocols.
Question
Methodology and patterns are the same and both provide the outline of a solution.
Question
Inheritance is an important mechanism in object-oriented technology.
Question
The concept of inheritance is an abstraction that covers only similar concrete situations.
Question
In software system development, without inheritance, you need to repeat the code that satisfies the requirements wherever it is needed.
Question
A class can implement multiple interfaces, shared with other classes or exclusively its own.
Question
It is usually "service" objects, not business objects, that acquire multiple interfaces.
Question
Inheritance can be applied without the mechanism of inheritance; that is, inheritance is not constrained by technology.
Question
Reuse by composition is static.
Question
Building products from well-tested components increases the costs of development.
Question
A component is a relatively independent, encapsulated, and replaceable unit of software that provides services specified by one or more interfaces.
Question
A component is language-specific.
Question
A component's interface is NOT separate from its implementation.
Question
As with objects, communication with components is conducted by exchanging messages.
Question
Since a component is designed for reuse, it is not replaceable.
Question
Software components are not applications, but they help build applications.
Question
Objects are language-neutral, while components are language-dependent.
Question
Components can be used by any client, be it an application or another component.
Question
Components can be modeled both from the outside or from the inside.
Question
Components can be modeled only as a black box.
Question
A diagram known as a wiring diagram shows how the pieces of the information system are "wired together."
Question
To develop a component-based information system, we first need to develop components.
Question
It is difficult to add or remove services in a component-based system or application.
Question
Design components must be highly generalized to work with all kinds of solutions.
Question
Components must be tested only within the framework that they will be used.
Question
Design decisions and artifacts that concern components arrive from two opposite directions ? architectural and generalization.
Question
In component-based development, delivery of components forms a set of major milestones.
Question
In a component-based system, each component must have its own independent delivery process and event.
Question
The idea that component-based development produces an estimated date for the delivery of the final product that is more realistic and attainable is completely false.
Question
What are the advantages of reuse?
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/99
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 15: Components Reuse
1
Most complex products are built ________.

A) as monolithic objects
B) from independent parts
C) from scratch
D) from inside-out
from independent parts
2
The advancement of technology is ________.

A) revolutionary
B) static
C) incremental
D) dynamic
incremental
3
________ products are made possible only when the availability of what they require, be it tangible or intangible, achieves a critical mass.

A) Complex or revolutionary
B) Simple
C) New
D) Old
Complex or revolutionary
4
Reuse helps with ________.

A) improving productivity
B) managing complexity
C) reducing costs
D) all of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
5
Reuse can apply to development activities such as ________.

A) analysis
B) design
C) implementation
D) all of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
6
Reuse can apply to any ________ that is required in software development.

A) product
B) experience
C) expertise
D) all of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
7
________ is (are) the most obvious, the most reliable and the most effective mechanism for reuse.

A) Components
B) Patterns
C) Inheritance
D) Web services
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
8
Patterns encapsulate experience in solving problems and they:

A) are not ready-to-use and must be adapted to the specific problems at hand
B) like components are ready to use
C) are packaged as foolproof
D) can't be reused
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
9
________ is a service that provides platform-independent application logic to consumers across the Web.

A) Pattern
B) Inheritance
C) Web services
D) Component reuse
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
10
The most obvious, the most reliable, and the most effective mechanism for reuse is ________.

A) patterns
B) refactoring
C) Web services
D) component
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
11
________ provide(s) the guidelines for discovering the solution.

A) Methodology
B) Reuse
C) Patterns
D) Technology
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
12
Source code reuse is advisable when solving ________.

A) new problems
B) unique problems
C) problems requiring cookbook solutions
D) complex problems
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
13
________ is one of the basic concepts of object orientation and is theoretically significant but not very helpful if it cannot be put into practice.

A) Web services
B) The Java language
C) Inheritance
D) Architecture
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
14
Implementation inheritance is a mechanism where a(n) ________ can reuse, extend, or override the attributes and the operations of its parent.

A) superclass
B) subclass
C) inheritance
D) Web service
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
15
Subclassing is a kind of inheritance in which the subclass inherits not only the features but also the ________ of its superclass.

A) functionality
B) attributes
C) characteristics
D) name
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
16
A subclass may add ________ that do not exist in the superclass.

A) attributes
B) operations
C) extensions
D) any of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
17
The concept of ________ is used when a superclass can provide specialized services through its subclasses.

A) encapsulation
B) reuse
C) polymorphism
D) components
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
18
________ is a mechanism by which multiple classes share one interface but implement that interface independently of each other or of the parent class.

A) Interface inheritance
B) Double interface
C) Reused component
D) Magic interface
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
19
In ________ a subclass is responsible for implementing each and every attribute and/or operation of the superclass.

A) polymorphism
B) encapsulation
C) interface inheritance
D) specialization
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
20
The purpose of interface inheritance is to arrive at a subclass that ________.

A) performs different services
B) has the same attributes
C) has different attributes
D) performs the same services, but in a different way
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
21
A class can implement ________ interfaces shared with other classes.

A) multiple
B) single
C) double
D) none of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the following is NOTa reason for creating multiple interfaces?

A) security
B) complexity of services
C) multiple functionality
D) simplicity
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
23
The concept of "white-box reuse" that exposes a subclass to the details of its superclass implementation applies to ________.

A) encapsulation
B) inheritance
C) polymorphism
D) patterns
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
24
The black-box reuse approach ce, where the internal details of a class are not exposed to subclasses, is also called ________.

A) composition approach
B) decomposition approach
C) aggregation approach
D) polymorphism
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
25
Which of the following languages supports multiple inheritance?

A) C++
B) Java
C) C
D) C#
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
26
Building products from replaceable, interchangeable, reusable, and well-tested components has proved to ________.

A) be the most effective method to ensure quality
B) make products more customizable
C) reduce costs through economy of scale.
D) all of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
27
Building everything from start to finish in one project is called ________ development.

A) vertical
B) horizontal
C) circular
D) inside-out
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
28
Component-based software development is generally ________.

A) more expensive than a traditional approach
B) very slow
C) vertical
D) horizontal
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
29
In ________, we assemble software from independent units that are limited in scope but are well-defined, can be replaced and, given the right functionality, can be recombined into more than one application and in more than one context.

A) a vertical approach
B) component-based development
C) SDLC
D) a waterfall approach
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
30
A component is a(n) ________ unit of software that provides services specified by one or more interfaces.

A) encapsulated
B) independent
C) replaceable
D) all of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
31
A component is ________.

A) not language-specific
B) platform-specific
C) binary
D) all of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
32
A component is identified by one or more interfaces that act as ________ between the component and its clients.

A) contracts
B) application software
C) an interface
D) a database system
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
33
________ properties are those services for which the component was created and are exposed through one or more interfaces.

A) Non-functional
B) Functional
C) Component-specific
D) all of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
34
When describing the component itself, the version number, copyright, performance, and security are part of ________.

A) non-functional properties
B) non-specifics properties
C) functional properties
D) machine-specific properties
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
35
Components can be modeled as ________.

A) simple icons
B) black boxes
C) class diagrams
D) any of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
36
Interfaces lack implementation; they must be supported by ________ classes.

A) concrete
B) abstract
C) super
D) multiple
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
37
The relationships between components are modeled through a(n) ________.

A) activity diagram
B) UML diagrams
C) component diagram
D) interface diagrams
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
38
Components offer services only through ________.

A) relationships
B) interfaces
C) other objects
D) superclasses
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
39
One essential purpose of component-based architecture is to manage ________.

A) the operating system
B) the user interface
C) complexity
D) inheritance
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
40
Developing a reusable component for ________ use is more difficult because you have no control over how and where the component will be used.

A) commercial
B) personal
C) enterprise
D) software
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
41
A design component is a one that helps build a solution.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
42
Design components emerge from the patterns identified in the analysis phase.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
43
The two major reuse concepts are analysis and design.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
44
Complex products are built as monolithic objects.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
45
We can use the concept of reuse only for developing products.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
46
Reuse in software development is an afterthought of the normal course of development.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
47
Reuse can embrace any method or artifact in software development.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
48
The most obvious, reliable, and effective mechanism for reuse is a component.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
49
Patterns are formed from repeated experience in solving problems.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
50
Like components, patterns are ready-to-use and need not be adapted to specific problems.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
51
A Web service is a service that provides platform-independent application logic to consumers across the Web via standard protocols.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
52
Methodology and patterns are the same and both provide the outline of a solution.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
53
Inheritance is an important mechanism in object-oriented technology.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
54
The concept of inheritance is an abstraction that covers only similar concrete situations.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
55
In software system development, without inheritance, you need to repeat the code that satisfies the requirements wherever it is needed.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
56
A class can implement multiple interfaces, shared with other classes or exclusively its own.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
57
It is usually "service" objects, not business objects, that acquire multiple interfaces.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
58
Inheritance can be applied without the mechanism of inheritance; that is, inheritance is not constrained by technology.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
59
Reuse by composition is static.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
60
Building products from well-tested components increases the costs of development.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
61
A component is a relatively independent, encapsulated, and replaceable unit of software that provides services specified by one or more interfaces.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
62
A component is language-specific.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
63
A component's interface is NOT separate from its implementation.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
64
As with objects, communication with components is conducted by exchanging messages.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
65
Since a component is designed for reuse, it is not replaceable.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
66
Software components are not applications, but they help build applications.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
67
Objects are language-neutral, while components are language-dependent.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
68
Components can be used by any client, be it an application or another component.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
69
Components can be modeled both from the outside or from the inside.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
70
Components can be modeled only as a black box.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
71
A diagram known as a wiring diagram shows how the pieces of the information system are "wired together."
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
72
To develop a component-based information system, we first need to develop components.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
73
It is difficult to add or remove services in a component-based system or application.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
74
Design components must be highly generalized to work with all kinds of solutions.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
75
Components must be tested only within the framework that they will be used.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
76
Design decisions and artifacts that concern components arrive from two opposite directions ? architectural and generalization.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
77
In component-based development, delivery of components forms a set of major milestones.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
78
In a component-based system, each component must have its own independent delivery process and event.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
79
The idea that component-based development produces an estimated date for the delivery of the final product that is more realistic and attainable is completely false.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
80
What are the advantages of reuse?
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 99 flashcards in this deck.