Busy. Please wait.
Log in using Clever

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever

Username is available taken
show password


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.
Your email address is only used to allow you to reset your password. See 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.
Didn't know it?
click below
Knew it?
click below
Don't know
Remaining cards (0)
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.

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



Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!

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