Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

APSU CSCI 2010 FINAL EXAM

Document preview thumbnail
Preview 2 out of 6 pages

APSU CSCI 2010 FINAL EXAM...

Content preview

APSU CSCI 2010 FINAL EXAM


Object - ANSWER an instance of a class that are created to use the attributes and
methods of a class



Class - ANSWER Blueprints of an object



UML class diagram - ANSWER describes the structure of a class by displaying the class
name (first row), variables (second row), and methods (third row).



Instance variable - ANSWER a variable defined in a class for which every object of the
class has its own value



Method - ANSWER A block of code that, when called, performs specific actions
mentioned in it



The null constant - ANSWER indicates the null value / has no data type



Void Method - ANSWER Method that does not return a value



Method header - ANSWER Public / void/ writeOutput / ()



Method Body - ANSWER a sequence of statements to execute when the method is
called, and must be surrounded by { and }



this - ANSWER refers to the object that is performing the action specified by the method



Local Variable - ANSWER temporary variable that exist only in a particular function o

, block of statements



Parameter - ANSWER Information that is passed to a method / act as variables inside the
method



Accessor method / Getter - ANSWER Allows access to private variables not inside the
class



Mutator method / Setter - ANSWER Allows changing of a private variable not inside the
class



Information hiding - ANSWER a programmer using a method needs to knowwhat the
method does, not how it does it



Precondition comment - ANSWER states the conditions that must be true before the
method is called.



Postcondition comment - ANSWER describes all of the effects produced by a method
call



Encapsulation - ANSWER the details of a class are hidden if they are notnecessary to
understand how objects of the class are used.



Class interface - ANSWER consists of the headers of the public methods and anypublic
named constants in the class



Implementation - ANSWER consists of the instance variables and method definitions in
the class.



Constructor - ANSWER special method that is called whenever the new keyword is used
/ initializes private instance variables

Document information

Uploaded on
December 20, 2024
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$22.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Easton
3.9
(120)
Sold
585
Followers
221
Items
28043
Last sold
2 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions