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

题目
多选题
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 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 ”相关问题
  • 第1题:

    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

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

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

    正确答案:A,D

  • 第3题:

    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

  • 第4题:

    Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()

    • A、It can be invoked only from the doGet or doPost methods.
    • B、It can be used independently of the getRemoteUser method.
    • C、Can return "true" even when its argument is NOT defined as a valid role name in the deployment descriptor.
    • D、Using the isUserInRole method overrides any declarative authentication related to the method in which it is invoked.

    正确答案:B,C

  • 第5题:

    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

  • 第6题:

    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

  • 第7题:

    单选题
    These are the principles()alone a new world recognizing the brotherhood of man and the fatherhood of God can be established.
    A

    for which

    B

    in which

    C

    upon which


    正确答案: A
    解析: 暂无解析

  • 第8题:

    多选题
    Which two can be used to create a new Thread?()
    A

    Extend java.lang.Thread and override the run method.

    B

    Extend java.lang.Runnable and override the start method.

    C

    Implement java.lang.thread and implement the run method.

    D

    Implement java.lang.Runnable and implement the run method.

    E

    Implement java.lang.Thread and implement the start method.


    正确答案: D,B
    解析: 暂无解析

  • 第9题:

    单选题
    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


    正确答案: A
    解析: 暂无解析

  • 第10题:

    多选题
    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,B
    解析: 暂无解析

  • 第11题:

    单选题
    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


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    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


    正确答案: A
    解析: 暂无解析

  • 第13题:

    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

  • 第14题:

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

    • A、Implement two 8-port switches design with ISLs
    • B、Implement two 16-port switches design with ISLs
    • C、Implement two 8-port switches design without ISLs
    • D、Implement two 16-port switches design without ISLs

    正确答案:C

  • 第15题:

    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

  • 第16题:

    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

  • 第17题:

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

    • A、Inheritance
    • B、Tight coupling
    • C、Low cohesion
    • D、High cohesion
    • E、Loose coupling

    正确答案:B

  • 第18题:

    You are designing the placement of the global catalog servers. You want to use the minimum number of global catalog servers that are required. Which design should you use?()

    • A、One global catalog server in New York.
    • B、Two global catalog servers in New York.
    • C、One global catalog server in Chicago and one global catalog server in New York.
    • D、Two global catalog servers in Chicago and two global catalog servers in New York.
    • E、One global catalog server in Chicago, one global catalog server in New York, and one global catalog server in Boston.

    正确答案:E

  • 第19题:

    单选题
    You are designing the placement of the global catalog servers. You want to use the minimum number of global catalog servers that are required.  Which design should you use?()
    A

     One global catalog server in New York.

    B

     Two global catalog servers in New York.

    C

     One global catalog server in Chicago and one global catalog server in New York.

    D

     Two global catalog servers in Chicago and two global catalog servers in New York.

    E

     One global catalog server in Chicago, one global catalog server in New York, and one global catalog server in Boston.


    正确答案: B
    解析: 暂无解析

  • 第20题:

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


    正确答案: B,D
    解析: 暂无解析

  • 第21题:

    多选题
    You need to configure the WLAN client utility on a new machine.  Which two of the following are true regarding this utility? ()
    A

    The Aironet Desktop Utility (ADU) can be used to enable or disable the adapter radio and to configure LEAP authentication with dynamic WEP.

    B

    In Windows XP environment, a client adapter can only be configured and managed with the Microsoft Configuration Manager.

    C

    The Microsoft Wireless Configuration Manager can be configured to display the Aironet System Tray Utility (ASTU) icon in the Windows system tray.

    D

    The Cisco Aironet Desktop Utility (ADU) and the Microsoft Wirelss Configuration Manager can both be enabled at the same time to setup WLAN client cards.


    正确答案: C,B
    解析: 暂无解析

  • 第22题:

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


    正确答案: D,B
    解析: 暂无解析

  • 第23题:

    多选题
    Which two create an instance of an array?()
    A

    int ia = new int [15];

    B

    float fa = new float [20];

    C

    char ca = “Some String”;

    D

    Object oa = new float[20];

    E

    Int ia = (4, 5, 6) (1, 2, 3)


    正确答案: B,E
    解析: 暂无解析

  • 第24题:

    多选题
    Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()
    A

    It can be invoked only from the doGet or doPost methods.

    B

    It can be used independently of the getRemoteUser method.

    C

    Can return true even when its argument is NOT defined as a valid role name in the deployment descriptor.

    D

    Using the isUserInRole method overrides any declarative authentication related to the method in which it is invoked.


    正确答案: D,C
    解析: 暂无解析