Tight coupling
Low cohesion
High cohesion
Loose coupling
Weak encapsulation
Strong encapsulation
第1题:
Which two are true?()
第2题:
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?()
第3题:
After upgrading a server motherboard to the latest firmware revision, configuring LAN access in the SSU (System Setup Utility) fails. Which action should be taken FIRST to correct this problem?()
第4题:
Which methods from the String and StringBuffer classes modify the object on which they are called?()
第5题:
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?()
第6题:
A company that makes Computer Assisted Design (CAD) software has, within its application, some utilityclasses that are used to perform 3D rendering tasks. The company’s chief scientist has just improved theperformance of one of the utility classes’ key rendering algorithms, and has assigned a programmer toreplace the old algorithm with the new algorithm. When the programmer begins researching the utilityclasses, 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 carefulthat her changes adhere strictly to the class’s API. Once testing has begun, the programmer discovers thatother classes that use the class she changed are no longer working properly. What design flaw is mostlikely the cause of these new bugs?()
第7题:
You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a new control that will be used on multiple forms in the app.You need to ensure that the control meets the following requirement (1)It retrieves data from a MSSQL Server 2008 database instance. (2)It uses WPF classes to display data. (3)It uses user-customizable actions when the control is first painted on the form. What should you do?()
第8题:
Inheritance
Tight coupling
Low cohesion
High cohesion
Loose coupling
第9题:
Looser coupling
Tighter coupling
Lower cohesion
Higher cohesion
Weaker encapsulation
Stronger encapsulation
第10题:
The charAt() method of the String class.
The toUpperCase() method of the String class.
The replace() method of the String class.
The reverse() method of the StringBuffer class.
The length() method of the StringBuffer class.
第11题:
Inheritance
Tight coupling
Low cohesion
High cohesion
Loose coupling
Object immutability
第12题:
Create a new custom class for the control that is derived from the Control class.
Create a new custom class for the control that is derived from the UserControl class.
Create a new custom class for the control that is derived from the ContentControl class.
Create a new custom class for the control that is derived from the ContentPresenter class.
第13题:
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?()
第14题:
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?()
第15题:
What is the difference between the CUoD and Utility Capacity On Demand?()
第16题:
A class design requires that a member variable cannot be accessible directly outside the class. Which modifier should be used to obtain the access control?()
第17题:
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?()
第18题:
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?()
第19题:
public
no modifier
protected
private
第20题:
Tight coupling
Low cohesion
High cohesion
Loose coupling
Weak encapsulation
第21题:
Tight coupling
Low cohesion
High cohesion
Loose coupling
Weak encapsulation
Strong encapsulation
第22题:
Looser coupling
Tighter coupling
Lower cohesion
Higher cohesion
Weaker encapsulation
Stronger encapsulation
第23题:
Update the service reference with the Generate asynchronous operations option.
Create a partial class for the previously generated proxy and include the new asynchronous methods.
Create a class with the same name as the previously generated proxy and add the new asynchronous methods. Add the new class to a namespace that is different from the original proxy.
Create a class with the same name as the previously generated proxy and add the new asynchronous methods as partial methods. Add the new class to a namespace that is different from the original proxy.