100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
MIS 505 Final Exam Review 2 Questions & Answers. Chapter 9: Advanced Modularization Techniques $10.49   Add to cart

Exam (elaborations)

MIS 505 Final Exam Review 2 Questions & Answers. Chapter 9: Advanced Modularization Techniques

 27 views  0 purchase
  • Course
  • Institution

MIS 505 Final Exam Review 2 Questions & Answers. Chapter 9: Advanced Modularization Techniques You can invoke or call a method from another program or method. When methods must share data, you can pass the data into and return the data out of methods. A method could … using any numeric value as a...

[Show more]

Preview 2 out of 7  pages

  • January 6, 2021
  • 7
  • 2020/2021
  • Exam (elaborations)
  • Questions & answers
avatar-seller
MIS 505 Final Exam Review 2 Questions & Answers.
Chapter 9: Advanced Modularization Techniques
TRUE/FALSE

1. You can invoke or call a method from another program or method.

ANS: T PTS: 1 REF: 371

2. When methods must share data, you can pass the data into and return the data out of methods.

ANS: T PTS: 1 REF: 373

3. A method could be called using any numeric value as an argument, whether it is a variable, a
named constant, or a literal constant.

ANS: T PTS: 1 REF: 378

4. Most programmers consciously make decisions about cohesiveness for each method they write.

ANS: F PTS: 1 REF: 405

5. Programs that use recursion are error-prone but easy to debug.

ANS: F PTS: 1 REF: 410


MULTIPLE CHOICE

1. The last statement in the body is a(n) ____.
a. begin statement c. exit statement
b. return statement d. end statement
ANS: B PTS: 1 REF: 371

2. Variables and constants are ____ within, or local to, only the method in which they are declared.
a. in scope c. out of scope
b. out of bounds d. limited
ANS: A PTS: 1 REF: 371

3. A calling method sends a(n) ____ to a called method.
a. parameter c. object
b. interface d. argument
ANS: D PTS: 1 REF: 374

4. A called method accepts the value of an argument passed to it as its ____.
a. parameter c. baseline
b. reference d. argument
ANS: A PTS: 1 REF: 374

, 5. You can think of the ____ in a method declaration as a funnel into the method.
a. braces c. parentheses
b. brackets d. commas
ANS: C PTS: 1 REF: 377

6. A variable passed into a method is passed by ____.
a. reference c. insinuation
b. inference d. value
ANS: D PTS: 1 REF: 378

7. Each time a method executes, any parameter variables listed in the method header are ____.
a. examined c. referenced
b. redeclared d. copied
ANS: B PTS: 1 REF: 378

8. The variables in the method declaration that accept the values from the actual parameters are ____
parameters.
a. defined c. formal
b. proper d. actual
ANS: C PTS: 1 REF: 379

9. When multiple parameters appear in a method header, they comprise a(n) ____.
a. parameter list c. action list
b. input list d. variable list
ANS: A PTS: 1 REF: 381

10. A method’s name and parameter list constitute the method’s ____.
a. header c. contract
b. interface d. signature
ANS: D PTS: 1 REF: 381

11. A method can return nothing, in which case the method is a ____ method.
a. null c. nul
b. void d. nil
ANS: B PTS: 1 REF: 382

12. Programmers use the term ____ to describe any extra time and resources required by an operation.
a. excess c. elegance
b. overhead d. cohesion
ANS: B PTS: 1 REF: 384

13. Arrays, unlike simple built-in types, are ____.
a. passed by deference c. passed by reference
b. passed by value d. passed by configuration
ANS: C PTS: 1 REF: 391

14. ____ is the ability of a method to act appropriately depending on the context.
a. Cohesion c. Integrity

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller perfectgrade. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

72841 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.49
  • (0)
  Add to cart