Question 1 3 pts (TCO 6) A design class must be fully specified: all attributes
ID: 3701454 • Letter: Q
Question
Question 1
3 pts
(TCO 6) A design class must be fully specified:
all attributes must be complete
all operations must be complete
all attributes and operations (including return types and parameter lists) must be complete
None of these
Question 2
3 pts
(TCO 6) Design models are made up of:
design subsystems and design classes;
interfaces;
use case realizations – design and deployment diagram.
All of these
None of these
Question 3
3 pts
(TCO 6) Analysis views are invaluable for:
introducing new people to the project;
understanding the system months or years after delivery;
understanding how the system satisfies user requirements;
All of these
None of these
Question 4
3 pts
(TCO 6) With design classes, you have to specify exactly how each class will fulfill its responsibilities. To do this, you must do the following:
complete the set of attributes and fully specify them including name, type, visibility, and (optionally) a default value;
complete the set of operations and fully specify them including name, parameter list, and return type.
Both a and b
None of these
Question 5
3 pts
(TCO 6) Inheritance has certain undesirable characteristics.
It is the strongest form of coupling possible between two or more classes.
Encapsulation is weak within a class hierarchy.
It is a very inflexible type of relationship.
All of these
None of these
Question 6
3 pts
(TCO 6) With interface realization you get:
an interface – a set of public operations, attributes and relationships that have no implementation.
interface – the public operations of the base classes;
implementation – the attributes, relationships, protected and private operations of the base classes.
All of these
None of these
Question 7
3 pts
(TCO 6) Nested classes allow:
you define a class inside another class;
the nested class exists in the namespace of the outer class – only the outer class can create and use instances of the nested class;
nested classes are known as inner classes in Java, and are used extensively for event handling in GUI classes.
All of these
None of these
Question 8
3 pts
(TCO 6) There are pertinent levels of encapsulation that we need to address in class and method design.
Level 0 encapsulation is the encapsulation realized by each line of code, which is basically none, or zero encapsulation.
Level 1 encapsulation is the level of encapsulation achieved by combining the individual lines of code into a method.
Level 2 encapsulation is the level of encapsulation achieved by grouping attributes and operations into a class.
All of these
None of these
Question 9
3 pts
(TCO 6) Cohesion is one of the most desirable features of a(n) _____.
inheritance
method
object
class
Question 10
3 pts
(TCO 6) The system architecture is compromise when coupling is between ________.
interactions
objects
data
subsystems
Explanation / Answer
1).All attributes and operations (including return types and parameter lists) must be complete.
2).All of these
Interface permits to duple a system which is capable to eveolve in parallel.
3).All of these
It is also invaluable for Offering the needs tracebility .
4).Both a and b
5).All of these
6).An interface – a set of public operations, attributes and relationships that have no implementation.
[ interface – the public operations of the base classes;
implementation – the attributes, relationships, protected and private operations of the base classes.... are related to the inheritance concepts ]
7).All of these
8).All of these
9).class
Cohesion classes are usually simple to comprehend and sustain.
10).subsystems
coupling is a power of province in a system.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.