Chapter 2

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

b1. Objects can be thought of as little modules the encapsulate _____.

Techniques for system


A. development
Data and
B. processes
Other
C. objects

System
D
specifications
.
Business
E. operations

a2. The distinction between a class and an object is _____________________.


A class is a template for creating objects, while an object is
A. an instance of a class
An object is a template for creating objects, while a class is
B. an instance of an object
Classes can be instantiated from objects, while the opposite
C. is not true

Classes and objects both are templates only, but classes


D
provide a more complete template
.
Neither a class nor an object is a template, but objects are
E. better suited for system development

a3. ________ implement an object's behavior.


Metho
A. ds
Messag
B. es
Procedure
C. s

Other
D
objects
.
Attributes
E.

e4. According to the principle of inheritance, ________________________.


A superclass inherits methods and attributes from its
A. subclass
A subclass inherits messages and data from its
B. superclass
A superclass inherits messages and data from its
C. subclass

A class can inherit methods and attributes from every other


D
class
.
A subclass inherits methods and attributes from its
E. superclass

c5. _____ means that the same message can be interpreted differently by different
classes of objects.

Inheritance
A.
Encapsulatio
B. n
Polymorphis
C. m

Information
D
Hiding
.
Dynamic
E. Binding

b6. In dynamic binding, the specific method that is used by the program must be
determined at ____________
Compile
A. time
Run
B. time
The time of
C. development

D The time of specification of the system


.
None of the
E. above

b7. A ___________ models the interaction of the information system with its end-
users and other external systems.
Implementation
A. plan.
Use case
B. diagram.
Class
C. diagram.

Package
D
diagram.
.
Database
E. diagram.

e8. ________ allow the analyst to model the processes in an information system.
Package
A. diagrams
Deployment
B. diagrams
Component
C. diagrams

Class
D
diagrams
.
Activity
E. diagrams
d9. _________ diagrams represent the things, concepts or ideas that are contained in
an application.
Interaction
A. diagrams
Deployment
B. diagrams
Sequence
C. diagrams

Class
D
diagrams
.
Activity
E. diagrams

a10. _____ groups UML elements together to form higher level constructs.
Package
A. diagrams
Deployment
B. diagrams
Sequence
C. diagrams

Class
D
diagrams
.
Activity
E. diagrams

a11. An abstract class is primarily used as a template for defining other classes, and
no instances can be created from abstract classes.
Tru
A. e

False
B.

a12. UML provides a common vocabulary of object-oriented terms and diagramming


techniques which help model information system projects from analysis through
implementation.
Tru
A. e

False
B.

a13. For a client-server system, a component diagram is useful in showing which


packages are placed on the client computers versus which ones are placed on the
server.
Tru
A. e

False
B.

a14. An individual use-case and its details can be modeled using an activity diagram.
Tru
A. e

False
B.

a15. Sequence diagrams depict the time-based ordering of activity that takes place
among a set of collaborating objects.
Tru
A. e

False
B.

b16. Communication diagrams emphasize/depict the time-based ordering of an


activity, while sequence diagrams emphasize/depict the messages that are
passed between collaborating objects.
Tru
A. e
False
B.

b17. In UML model diagrams, only classes are allowed to have stereotypes, since
there is no need for stereotypes for other UML elements such as use cases and
relationships.
Tru
A. e

False
B.

b18. Functional view of a system describes the internal behavior of the object-
oriented system, while dynamic view specifies the external behavior of the
system.
Tru
A. e

False
B.

a19. UML structure and behavioral diagrams are one of the deliverables of the
inception phase of the Unified Process.
Tru
A. e

False
B.

a20. Project management workflow is the only workflow that truly spans across all
phases of the Unified Process.
Tru
A. e

False
B.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy