APSU CSCI 2010 Final Exam Review | Practice Questions with Verified
Answers 2026/2027 A+ Grade
Object - (ANSWER)represent real-world objects or abstract concepts.
Class - (ANSWER)specify the attributes of an object and the actions an object can take
UML Diagram - (ANSWER)Can be used to summarize the properties of a class
Instance Variable - (ANSWER)can be accessed outside of the class using the "." operator
Method - (ANSWER)defines an action that an object can perform, it can also be called outside of the
class by using the "." operator
Access Modifiers - (ANSWER)Used to specify how a class, method, or instance variable can be accessed
Public Method or instance variable - (ANSWER)a method that is accessible to another method of any
other class
Private Method or instance variable - (ANSWER)a method that is only accessible to methods in the same
class
Null Constant - (ANSWER)Can be used as a placeholder for a variable that does not refer to an actual
object
Void Method - (ANSWER)Does NOT return a value
Method Header Contains: - (ANSWER)Access Modifier: Public
Return Type: void
Name of method: writeOutput
, APSU CSCI 2010 Final Exam Review | Practice Questions with Verified
Answers 2026/2027 A+ Grade
Parameter list: ()
Method Body - (ANSWER)Sequence of statements that is executed when the method is called,
surrounded by {}
Method can be defined to return a value - (ANSWER)True
When method is called: - (ANSWER)Return value should be stored in a variable
Keyword "this" - (ANSWER)refers to the object that is performing the action specified by the method
Local Variable - (ANSWER)A variable that is declared inside of a method body and cant be accessed
outside of it
Two different local variables declared in different methods CANNOT have the same name -
(ANSWER)False
Any variable declared inside of a block is local to that block and CAN be accessed outside of it -
(ANSWER)False
Parameter - (ANSWER)Variables that are defined in a method header and can be used in method body
Argument - (ANSWER)For each parameter defined in the method header, it must be provided when the
method is called
Accessor method or getter - (ANSWER)used to access the value of a private instance variable
Mutator method or setter - (ANSWER)used to change the values of private instance variables
Answers 2026/2027 A+ Grade
Object - (ANSWER)represent real-world objects or abstract concepts.
Class - (ANSWER)specify the attributes of an object and the actions an object can take
UML Diagram - (ANSWER)Can be used to summarize the properties of a class
Instance Variable - (ANSWER)can be accessed outside of the class using the "." operator
Method - (ANSWER)defines an action that an object can perform, it can also be called outside of the
class by using the "." operator
Access Modifiers - (ANSWER)Used to specify how a class, method, or instance variable can be accessed
Public Method or instance variable - (ANSWER)a method that is accessible to another method of any
other class
Private Method or instance variable - (ANSWER)a method that is only accessible to methods in the same
class
Null Constant - (ANSWER)Can be used as a placeholder for a variable that does not refer to an actual
object
Void Method - (ANSWER)Does NOT return a value
Method Header Contains: - (ANSWER)Access Modifier: Public
Return Type: void
Name of method: writeOutput
, APSU CSCI 2010 Final Exam Review | Practice Questions with Verified
Answers 2026/2027 A+ Grade
Parameter list: ()
Method Body - (ANSWER)Sequence of statements that is executed when the method is called,
surrounded by {}
Method can be defined to return a value - (ANSWER)True
When method is called: - (ANSWER)Return value should be stored in a variable
Keyword "this" - (ANSWER)refers to the object that is performing the action specified by the method
Local Variable - (ANSWER)A variable that is declared inside of a method body and cant be accessed
outside of it
Two different local variables declared in different methods CANNOT have the same name -
(ANSWER)False
Any variable declared inside of a block is local to that block and CAN be accessed outside of it -
(ANSWER)False
Parameter - (ANSWER)Variables that are defined in a method header and can be used in method body
Argument - (ANSWER)For each parameter defined in the method header, it must be provided when the
method is called
Accessor method or getter - (ANSWER)used to access the value of a private instance variable
Mutator method or setter - (ANSWER)used to change the values of private instance variables