多选题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 principle

题目
多选题
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?()
A

Looser coupling

B

Tighter coupling

C

Lower cohesion

D

Higher cohesion

E

Weaker 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


参考答案:B

第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?()

  • A、Looser coupling
  • B、Tighter coupling
  • C、Lower cohesion
  • D、Higher cohesion
  • E、Weaker encapsulation
  • F、Stronger encapsulation

正确答案:A,D

第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


参考答案:E

第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?()

  • A、Tight coupling
  • B、Low cohesion
  • C、High cohesion
  • D、Loose coupling
  • E、Weak encapsulation
  • F、Strong encapsulation

正确答案:E

第5题:

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?()

  • A、Looser coupling
  • B、Tighter coupling
  • C、Lower cohesion
  • D、Higher cohesion
  • E、Weaker encapsulation

正确答案:A,D

第6题:

Which of the following is NOT a security feature relating to user accounts?()

  • A、Some commands can be password protected requiring logged in customers to re-enter their password.
  • B、A user account can be disabled automatically, after a specified number of invalid login attempts.
  • C、An account can have multiple valid passwords at the same time, any of which can be used to access the account.
  • D、The password policy feature can allow the system to require passwords to include a minimum number of numeric characters.
  • E、Logged in customers can be logged off of the system after a specified period of inactivity.

正确答案:C

第7题:

A developer is designing the presentation tier for a web application that relies on a complex session bean.The session bean is still being developed and the APIs for it are NOT finalized. Any changes to the sessionbean API directly impacts the development of the presentation tier.  Which design pattern provides a meansto manage the uncertainty in the API?()

  • A、View Helper
  • B、Front Controller
  • C、Composite View
  • D、Intercepting Filter
  • E、Business Delegate

正确答案:E

第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


参考答案:A

第9题:

Which of the following is a benefit of a hot spare?()

  • A、 Lower cost
  • B、 Allows two RAID 1 drives to simultaneously fail without losing any data
  • C、 Enhanced fault tolerance
  • D、 Enhanced performance

正确答案:C

第10题:

A Technical and Delivery Assessment (TDA) is a structured technical inspection of a completed solution design. After the inspection is complete, what deliverable can the customer expect?()

  • A、Verification of the expected performance of the new solution.
  • B、A document used by IBM manufacturing to build and ship the system solution.
  • C、An IBM Quality Assurance Certificate which is supplied to the customer with the system.
  • D、A list of actions that are recommended to reduce risk and create a successful implementation.

正确答案:D

更多相关问题