BlackBox Programming Flashcards
What is a Black Box
The person inputting knows what the output is, but they don’t know how the program achieved that output.
Precondition
A condition that must be true in order for the method to work as expected
Postcondition
A condition that is guaranteed to be true after a method is called, given that the preconditions were met
What does API stand for
Application Program Interface
What does an API do?
Allows applications to interact with another piece of software
Abstraction
Underlying code from software accessed from an API is not shown
Libraries
The collection of code that implements the API
Package
Group of related classes and interfaces, allow for easy access to classes that provide a certain type of functionality
Example: java.util package