____ occurs when methods excessively depend on each other and makes programs more prone to errors.


  • Q33:

    ____ refers to how the internal statements of a method serve to accomplish the method's purpose. A) Coupling B) Cohesion C) Bonding D) Binding

  • Q34:

    When the method ends at the ____________________ statement,the locally declared parameter variable ceases to exist.

  • Q35:

    ____ occurs when a method is defined in terms of itself. A) Referential integrity B) Repeatability C) Dependence D) Recursion

  • Q36:

    ____ occurs when methods do not depend on others. A) Tight coupling B) Loose coupling C) Data coupling D) Abstract coupling

  • Q37:

    ____ is the ability of a method to act appropriately depending on the context. A) Cohesion B) Chameleon C) Integrity D) Polymorphism

  • Q39:

    Using implementation hiding means that the ____ is the only part of a method with which the method's client interacts. A) argument list B) interface to the method C) parameter list D) internal detail

  • Q40:

    Every time you call a method,the address to which the program should return at the completion of the method is stored in a memory location called the ____. A) heap B) queue C) stack D) dump

  • Q41:

    Match each term with a statement below. a.functional cohesion b.passed by value c.actual parameters d.loose coupling e.method f.overload a method​ g.passed by reference h.method header i.tight coupling j.polymorphism -When the method receives the actual memory address of the array and has access to the actual values in the array elements

  • Q42:

    Match each term with a statement below. a.functional cohesion b.passed by value c.actual parameters d.loose coupling e.method f.overload a method​ g.passed by reference h.method header i.tight coupling j.polymorphism -​Multiple methods with a shared name but different parameter lists

  • Q43:

    Match each term with a statement below. a.functional cohesion b.passed by value c.actual parameters d.loose coupling e.method f.overload a method​ g.passed by reference h.method header i.tight coupling j.polymorphism -The ability of a method to act appropriately according to the context

21.____ occurs when methods excessively depend on each other and makes programs more prone toerrors.a.Late couplingc.Tight couplingb.Loose couplingd.Weak couplingANS: CPTS:1REF:389

22.____ occurs when methods do not depend on others.PTS:1REF:389

Get answer to your question and much more

23.____ occurs when a method is defined in terms of itself.PTS:1REF:390

Get answer to your question and much more

24.A method that calls itself is a ____.PTS:1REF:390

Get answer to your question and much more

25.Every time you call a method, the address to which the program should return at the completion of themethod is stored in a memory location called the ____.a.heapc.stackb.queued.dumpANS: CPTS:1REF:391

COMPLETION1.When a data item is known to all of a program’s modules, it is a(n) ____________________ data item.

Get answer to your question and much more

PTS:1REF:3562.When the method ends at the ____________________ statement, the locally declared parametervariable ceases to exist.

Get answer to your question and much more

PTS:1REF:3623.A(n) ____________________ chart is a tool that identifies and categorizes each item needed withinthe method as pertaining to input, processing, or output.

What happens when you call a method and the method ends?

A variable declared within a method ceases to exist when the method ends. It goes out of scope. A method can also return "nothing" also known as a void method. A method can return a value when it ends.

Is a measure of the strength of the connection between to program methods?

In computer programming, cohesion refers to the degree to which the elements inside a module belong together. In one sense, it is a measure of the strength of relationship between the methods and data of a class and some unifying purpose or concept served by that class.

When you a method you write multiple methods with a shared name but different parameter lists?

Method overloading means two or more methods have the same name but have different parameter lists: either a different number of parameters or different types of parameters.

What are methods with identical names that have identical parameter lists but different return types?

Methods with identical names that have identical parameter lists but different return types are ambiguous.