Looser coupling
Tighter coupling
Lower cohesion
Higher cohesion
Weaker encapsulation
Stronger encapsulation
第1题:
A company that makes Computer Assisted Design (CAD) software has, within its application, some utility classes that are used to perform 3D rendering tasks. The company‘s chief scientist has just improved the performance of one of the utility classes‘ key rendering algorithms, and has assigned a programmer to replace the old algorithm with the new algorithm. When the programmer begins researching the utility classes, she is happy to discover that the algorithm to be replaced exists in only one class. The programmer reviews that class‘s API, and replaces the old algorithm with the new algorithm, being careful that her changes adhere strictly to the class‘s API. Once testing has begun, the programmer discovers that other classes that use the class she changed are no longer working properly.What design flaw is most likely the cause of these new bugs?()
A.Inheritance
B.Tight coupling
C.Low cohesion
D.High cohesion
E.Loose coupling
F.Object immutability
第2题:
A team of programmers is reviewing a proposed API for a new utility class.After some discussion, they realize that they can reduce the number of methods in the API without losing any functionality.If they implement the new design, which two principles will they be promoting?()
第3题:
A team of programmers is involved in reviewing a proposed design for a new utility class. After some discussion, they realize that the current design allows other classes to access methods in the utility class that should be accessible only to methods within the utility class itself.What design issue has the team discovered?()
A.Tight coupling
B.Low cohesion
C.High cohesion
D.Loose coupling
E.Weak encapsulation
F.Strong encapsulation
第4题:
A team of programmers is involved in reviewing a proposed design for a new utility class, After some discussion, they realize that the current design allows other classes to access methods in the utility class that should be accessible only to methods within the utility class itself. What design issue has the team discovered?()
第5题:
A company needs to connect seven of their Windows-based servers to a DS4000 storage server. The DS4000 only has two host-side connections, and each server has two HBAs. Which of the following is the lowest cost solution to provide no single points of failure?()
第6题:
In which of the following phases can you ensure that the new Cisco Unified Communications solution is integrated without disrupting the existing network()
第7题:
A team of programmers is reviewing a proposed API for a new utility class. After some discussion, theyrealize that they can reduce the number of methods in the API without losing any functionality. If theyimplement the new design,which two OO principles will they be promoting?()
第8题:
A team of programmers is reviewing a proposed API for a new utility class. After some discussion,they realize that they can reduce the number of methods in the API without losing any functionality.If they implement the new design, which two OO principles will they be promoting?()
A.Looser coupling
B.Tighter coupling
C.Lower cohesion
D.Higher cohesion
E.Weaker encapsulation
F.Stronger encapsulation
第9题:
Which of the following is a benefit of a hot spare?()
第10题:
Which two are benefits of fully encapsulating a class?()