Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

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

Beoordeling
-
Verkocht
-
Pagina's
7
Cijfer
A+
Geüpload op
06-01-2021
Geschreven in
2020/2021

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 an argument, whether it is a variable, a named constant, or a literal constant. A method’s return type is part of its signature. A method’s declared return type must match the type of value used in the return statement. Methods with identical names that have identical parameter lists but different return types are ambiguous. All modern programming languages contain many methods that are predefined. In implementation hiding, the calling method needs to understand only the interface to the method that is and it need not know how the method works internally. Most programmers consciously make decisions about cohesiveness for each method they write. Programs that use recursion are error-prone but easy to debug. The last statement in a method is a(n) ____. Variables and constants are ____ within, or local to, only the method in which they are declared. When a data item is known to all of a program’s modules, it is a ____data item. A calling method sends a(n) ____ to a method. A …. method accepts the value of an argument passed to it as its ____. A method’s name and parameter list constitute the method’s ____. You can think of the ____ in a method declaration as a funnel into the method. A variable usually is passed into a method by ____. Each time a method executes, any parameter variables listed in the method header are ____. The variables in the method declaration that accept the values from the actual parameters are ____ parameters. A method can return nothing, in which case the method is a ____ method. Programmers use the term ____ to describe any extra time and resources required by an operation. ____ provide an overview of input to the method, the processing steps that must occur, and the result. When multiple parameters appear in a method header, they constitute a(n) ____. Arrays, unlike simple built-in types, are passed by ____. ____ is the ability of a method to act appropriately depending on the context. When you ____ a method, you write multiple methods with a shared name but different parameter lists. Using implementation hiding means that the ____ is the only part of a method with which the method’s client interacts. ____ refers to how the internal statements of a method serve to accomplish the method’s purpose. ____ is a measure of the strength of the connection between two program methods. ____ occurs when methods excessively depend on each other and makes programs more prone to errors. ____ …….. do not depend on others. ____ occurs when a method is defined in terms of itself. A method that calls itself is a ____. 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 ____.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

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

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
6 januari 2021
Aantal pagina's
7
Geschreven in
2020/2021
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

€9,73
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
perfectgrade Walden University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
227
Lid sinds
5 jaar
Aantal volgers
215
Documenten
180
Laatst verkocht
2 jaar geleden
BEST HOMEWORK HELP AND TUTORING ,ALL KIND OF QUIZ or EXAM WITH GUARANTEE OF A.

Ive specialised in Nursing it being my career and profession,able to help in any exam or problem in this particular course

3,8

17 beoordelingen

5
8
4
4
3
1
2
1
1
3

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen