Chapter 2 Flashcards
data abstraction
separation of data type’s locical properties from its implementation
information hiding
the practice of hiding details within a module with the goal of controlling access to the details from the rest of the system
abstraction
model that includes only the details essential to the viewer’s perspective
deallocate
return the storagge space for an object to the pool of free memory so it can be reallocated to new objects
instantiation
creating a new object
allocating
setting aside space in memory
data encapsulation
separation of the representation of data from the applications that use the data at a logical level
abstract data type
data type whose properties are specified independently of any particular implementation
abstract methoid
methoid declared in a class or an interface without a method body
signiture
distinguishing features of a method heading (method name and parameters)
overloading
repeated use of a method name with a different signiture
software testing
process of executing a program with data sets designed to discover errors
unit testing
testing a class or method by itself
functional domain
set of vailid input data
black-box testing
testing program/method based on the possible input values (treat code as “black box”)
software validation
process of determining the degree to which software fulfills its intended purpose (is this the correct job for this task?)
software verification
process of determining the degree to which a software fulfills its specifications (are we doing the job correctly and is it running right?)
deskchecking
tracing an execution ofa design or program on paper
walk-through
verification method done by a team to perform manual simulation
inspection
a verification method done by a team to read the program and point out errors
test plan
document showing test cases for program
test driver
a program that calls operations of individual classes
self-referential class
class that has instance varaibles to hold a reference to an object of the same class (can the class reference itself)
collection
obj holds other objects
exceptional situation
unusual event dectectable by software or hardware
unchecked exception
exception that does not need to be handled can happen anywhere in code (ex: div by zero or array out of bounds)
inheritance of interface
when a class inherits an interface it gets its requirements
can have multiple inheritance?
Yes as many as you want, however you can only extend one class
module
mathematical like equations or classes