Term
|
Definition
Is a techinique for formally proving the correctness of a program.
You develop the correctness proof of the program as you are wirting the code.
Give input I the output should be "o" |
|
|
Term
|
Definition
Carefully crafted tests cases, if the program works correctly for all of the cases,
Three Steps:Unit Testing, Integretion Testing, Black Box Testing |
|
|
Term
|
Definition
As we finish each program unit, we thoroughly test it with chosen set of data.
-Flow Path
-Clear Box Testing |
|
|
Term
|
Definition
A unique execution sequence throuhg a program unit |
|
|
Term
|
Definition
Means we can look inside the code to decide what test cases are needed. |
|
|
Term
|
Definition
You test the correctness of a group of routines working together |
|
|
Term
|
Definition
Rather than selecting test data on the basis of the structure, we place the program into a realistic environment and then run it |
|
|
Term
Inheritance of Implementation |
|
Definition
-Each subclass may override a method
-Superclass specifies what and how
-Models an IS-A Relationship
-Specialization and Extension
|
|
|
Term
|
Definition
-Interface refers to what operations can be performed on an object.
-Used just to define a set of operations that a subclass must implement |
|
|
Term
|
Definition
-the superclass defines the behavior that is implemented in the subclass, but not in the superclass.
-The subclass inherits the specification of its superclass's behavior
-What the subclass must do, but not how to do it |
|
|
Term
|
Definition
The subclass is a specialized form of the superclass, but satisfies the specification of the parent class.
-is a relationship
-Subclass is more specialized
-both behavior and implementation |
|
|
Term
|
Definition
A subclass removes a behavior |
|
|
Term
|
Definition
Subclass exhibits more than one |
|
|
Term
InterFace vs Abstract Class |
|
Definition
Abstract: there are fields that all subclasses will need
-At least one method can be given an implementation that some subclasses can inherit.
Interface: a small number of methods define a role many different kinds of objects can play
-when the role may be mixed in with other roles |
|
|