|
|
|
CH10 TB.rtf
CH10_TB.rtf
Showing 5-6 out of 14
CH10 TB.rtf-ed-Chapter 10: Object-Oriented Design:...
CH10_TB.rtf-ed-Chapter 10: Object-Oriented Design: Principles TRUE/FALSE
CH10 TB.rtf-ed-Chapter 10: Object-O...
CH10_TB.rtf-ed-Chapter 10: Object-Oriented Design: Principles TRUE/FALSE
Page 5
b.
visibility class-name:type-expression {property}
c.
visibility name:initial-value(property)
d.
visibility name:type-expression initial-value (property)
ANS: A
PTS:
1
18.
Given two classes, customer and order, which class would probably have navigational visibility to
which class?
a.
Cannot determine based on the information provided
b.
Bidirectional -- each has visibility to the other
c.
Order to Customer
d.
Customer to Order
ANS: D
PTS:
1
19.
If you are doing detailed design for the use case
Create New Order
, which class should receive the first
input?
a.
OrderTransaction
c.
OrderHandler
b.
Order
d.
Customer
ANS: C
PTS:
1
20.
CRC stands for what?
a.
Collaboration responsibility card
c.
class relationship collaboration
b.
Class responsibility collaboration
d.
collaboration relationship class
ANS: B
PTS:
1
21.
UML provides a technique to extend the standard UML notation to include new symbols.
This
technique is called ________.
a.
extending
c.
prototyping
b.
stereotyping
d.
externalizing
ANS: B
PTS:
1
22.
Which of the following is usually NOT included in a first-cut design class diagram?
a.
Initial value information for attributes
c.
Method signatures
b.
Attribute types
d.
Navigation visibility arrows
ANS: C
PTS:
1
23.
Which of the following is a general guideline for designing navigation visibility?
a.
A superior/subordinate relationship is usually navigated from the superior to the
subordinate class
b.
A superior/subordinate relationship is usually navigated from the subordinate to the
© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Page 6
superior class
c.
Relationships in which objects in one class cannot exist without objects of another class
are usually navigated from the more dependent class to the more independent class
d.
Navigation arrows should not be modified during the design process
ANS: A
PTS:
1
24.
After completing a use-case design using CRC cards, the next step is to _______.
a.
add required utility classes
c.
program the use case
b.
select another use case
d.
update the design class diagram
ANS: D
PTS:
1
25.
In a design class diagram, navigation visibility is identified by ____.
a.
a solid arrow between the classes, pointing to the visible class
b.
a solid arrow between the classes, initiating from the visible class
c.
a dashed arrow between the classes, pointing to the visible class
d.
a solid line between the classes
ANS: A
PTS:
1
26.
Which of the following is true of class-level methods?
a.
They depend on the existence of a particular object.
b.
They cannot access data across all objects.
c.
They are executed by the class instead of a specific object of the class.
d.
There can only be one class method per class.
ANS: C
PTS:
1
27.
Which of the following is the best coupling choice for an input window, domain, and database object
in a system?
a.
The input window is coupled to both the domain and database objects.
b.
The input window is coupled to the domain and the domain is coupled to the database.
c.
The input window and the domain are both coupled to the database object.
d.
All objects are coupled to each other.
ANS: B
PTS:
1
28.
High coupling ____ in a system.
a.
is easier to maintain
b.
reduces ripple effects in a system when changes occur
c.
adds complexity
d.
decreases visibility between classes
ANS: C
PTS:
1
© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
Ace your assessments! Get Better Grades
Browse thousands of Study Materials & Solutions from your Favorite Schools
San Jose State University
San_Jose_State_University
School:
Information_Systems_Design
Course:
Introducing Study Plan
Using AI Tools to Help you understand and remember your course concepts better and faster than any other resource.
Find the best videos to learn every concept in that course from Youtube and Tiktok without searching.
Save All Relavent Videos & Materials and access anytime and anywhere
Prepare Smart and Guarantee better grades
Students also viewed documents
lab 18.docx
lab_18.docx
Course
Course
3
Module5QuizSTA2023.d...
Module5QuizSTA2023.docx.docx
Course
Course
10
Week 7 Test Math302....
Week_7_Test_Math302.docx.docx
Course
Course
30
Chapter 1 Assigment ...
Chapter_1_Assigment_Questions.docx.docx
Course
Course
5
Week 4 tests.docx.do...
Week_4_tests.docx.docx
Course
Course
23
Week 6 tests.docx.do...
Week_6_tests.docx.docx
Course
Course
106