Busy. Please wait.
or

show password
Forgot Password?

Don't have an account?  Sign up 
or

Username is available taken
show password

why


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Remove Ads
Don't know
Know
remaining cards
Save
0:01
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
Retries:
restart all cards




share
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

APCS Ch. 2 Vocab

Object-Oriented Programming vocab.

TermDefinition
Encapsulation The process by which one portion of a program is isolated from other portions with access limited to a number of methods.
Class A mechanism used in object-oriented programming to encapsulate a block of code and/or data.
Method The general term used to describe a single service provided by a class.
Interface The collection of all methods provided by a class.
Programming By Contract The idea that interfaces are specified in terms of contracts wherein a class that provides a service agrees to provide particular services for clients provided that the client first provides certain data.
Precondition The stipulations put on the data provided to a method. Unless the stipulations are met, the method is not obligated to correctly function.
Postcondition A description of the results of a method invocation.
Information Hiding The idea that someone who uses a block of code needs to know what the code does, but not how the code does it. Promotes re-usability of code.
Algorithm A step-by-step process for solving a problem.
Inheritance A component of object-oriented programming that permits data, methods, and/or algorithms to be shared among related classes.
Run-time Polymorphism A component of object-oriented programming that causes each object in a system to behave in a specialized manner.
Public A description of data and/or methods that a class provides for use by software from outside of the class.
Private A description of data and/or methods that a class provides for use only within that class.
Protected A description of data and/or methods that that a class provides for use only within itself and any of its subclasses.
Cohesion The degree to which a portion of a program can be viewed as an independent entity that performs a single task.
Coupling The degree to which one portion of a program depends upon how another portion of the program does its job.
Created by: VanilliteFTW