APSU CSCI 2010 Final Exam Exam Coverage
Exam coverage for the APSU CSCI 2010 Final Exam includes the fundamental
concepts, principles, and practical applications of computer science and
programming typically covered throughout the course. It focuses on problem-
solving methodologies, algorithm development, program design, data types,
variables, operators, control structures, functions, and object-oriented
programming concepts. The exam also evaluates understanding of software
development practices, debugging techniques, program testing, and code
analysis.
Class specify the attributes of an object and the actions an object can take
UML Diagram Can be used to summarize the properties of a class
Instance Variable can be accessed outside of the class using the "." operator
Method defines an action that an object can perform, it can also be called outside of
the class by using the "." operator
Access Modifiers Used to specify how a class, method, or instance variable can be accessed
Public Method or instance variable a method that is accessible to another method of any other class
Private Method or instance variable a method that is only accessible to methods in the same class
Object represent real-world objects or abstract concepts.
Null Constant Can be used as a placeholder for a variable that does not refer to an actual
object
Void Method Does NOT return a value
Method Header Contains: Access Modifier: Public
Return Type: void
Name of method: writeOutput
Parameter list: ()
, APSU CSCI 2026-2027 Final Exam
Method Body Sequence of statements that is executed when the method is called,
surrounded by {}
Method can be defined to return a value True
When method is called: Return value should be stored in a variable
Keyword "this" refers to the object that is performing the action specified by the method
Local Variable A variable that is declared inside of a method body and cant be accessed
outside of it
Two different local variables declared in different False
methods CANNOT have the same name
Any variable declared inside of a block is local to that False
block and CAN be accessed outside of it
Parameter Variables that are defined in a method header and can be used in method
body
Argument For each parameter defined in the method header, it must be provided when
the method is called
Accessor method or getter used to access the value of a private instance variable
Mutator method or setter used to change the values of private instance variables
A method CAN contain a can contain a call to another True
method
If the method being called is in the same class, the True
receiving object does not need to be specified
Information Hiding programmer using a method needs to know what the method does, not how it
does it
Comments Specify what a method does
Precondition comment states the conditions that must be true before the method is called
postcondition comment describes all of the effects produced by a method call