Every time you call a method the address to which the program should return at

Every time you call a method the address to which the

This preview shows page 3 - 6 out of 7 pages.

21.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.heapc.stackb.queued.dumpANS: CPTS:1REF:407COMPLETION1.When a data item is known to all of a program’s modules, it is a(n) ____________________ data item.PTS:1REF:371
2.When the method ends at the ____________________ statement, the locally declared parameter vari-able ceases to exist.PTS:1REF:3783.A(n) ____________________ chart is a tool that identifies and categorizes each item needed within the method as pertaining to input, processing, or output.PTS:1REF:3874.Programmers refer to hidden implementation details as existing in a(n) ____________________.PTS:1REF:4045.Using recursion successfully requires a thorough understanding of ____________________.PTS:1REF:408MATCHINGMatch each term with a statement below.a.Functionally cohesivef.Redeclaredb.Passed by valueg.Return typec.Actual parametersh.Method headerd.Loose couplingi.Tight couplinge.Method1.A program module that contains a series of statements that carry out a task2.The declaration or definition3.A copy of its value is sent to the method and stored in a new memory location accessible to the method4.A new memory location is reserved and named5.The arguments sent to a method in a method call6.Indicates the data type of the value that the method will send back to the location where the method call was made7.When all the operations in a method contribute to the performance of a single task8.Occurs when methods have access to the same globally defined variables9.Occurs when a copy of data that must be shared is passed from one method to anotherPTS:1REF:371PTS:1REF:371PTS:1REF:378PTS:1REF:378PTS:1REF:379PTS:1REF:381-382
PTS:1REF:404PTS:1REF:406PTS:1REF:406SHORT ANSWER1.List the three things you need to know when you call a method from a program or other method.PTS:1REF:3732.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture