Rédigé par des étudiants ayant réussi Disponible immédiatement après paiement Lire en ligne ou en PDF Mauvais document ? Échangez-le gratuitement 4,6 TrustPilot
logo-home
Document preview thumbnail
Aperçu 2 sur 8 pages
Examen

APSU CSCI 2010 - MIDTERM REVIEW EXAM Questions & Answers | Latest Already Graded A+ UPDATE 2025|2026 EXAM

Document preview thumbnail
Aperçu 2 sur 8 pages

APSU CSCI 2010 - MIDTERM REVIEW EXAM Questions & Answers | Latest Already Graded A+ UPDATE 2025|2026 EXAM

Aperçu du contenu

APSU CSCI 2010 - MIDTERM REVIEW

1. Void method re- False
turns a value

2. Method header Access modifier: public
contains: return type: void
Name of method: writeOutput
Parameter list: ()

3. method body Contains sequences of statements to execute when the method is called, and must
be surrounded by { and }.

4. Method can be True
defined to return
a value?

5. When the return value should be stored in a variable
method is called

6. Keyword "this": refers to the object that is performing the action specified by the method

7. Local variable: Only be accessed within the function that defines it

8. Parameter: A named variable to import arguments into a function

9. A method body True
can contain a
call to another
method

10. If the method be- True
ing called is in the
same class, the
receiving object

1/8

, APSU CSCI 2010 - MIDTERM REVIEW

does not need to
be specified

11. Information hid- A programmer using a method needs to know what the method does, not how it
ing: does it.

12. Comments: specify what a method does

13. Precondition states the conditions that must be true before the method is called.
comment:

14. Postcondition Describes all of the effects produced by a method call.
comment:

15. Encapsulation: Means that the details of a class are hidden if they are not necessary to understand
how objects of the class are used.

16. Class interface: Consists of the headers of the public methods and any public named constants in
the class.

17. Implementation Consists of the instance variables and method definitions in the class.
of a class:

18. Well encapsulat- if changes to the implementation can be made without altering the class interface
ed:

19. Constructor: Special method that is called whenever the new keyword is used.

20. Constructors are True
used initialize
private instance
variables

21. Takes no arguments

2/8

Infos sur le Document

Publié le
15 septembre 2025
Nombre de pages
8
Écrit en
2025/2026
Type
Examen
Contenu
Questions et réponses
$15.49

Mauvais document ? Échangez-le gratuitement Dans les 14 jours suivant votre achat et avant le téléchargement, vous pouvez choisir un autre document. Vous pouvez simplement dépenser le montant à nouveau.
Rédigé par des étudiants ayant réussi
Disponible immédiatement après paiement
Lire en ligne ou en PDF

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
SKILLED
4.7
(434)
Vendu
5969
Abonnés
10
Éléments
3155
Dernière vente
2 semaines de cela



Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Vous travaillez sur vos références ?

Créez des citations précises en APA, MLA et Harvard avec notre générateur de sources gratuit.

Vous travaillez sur vos références ?

Foire aux questions