AP Computer Science A: Program Analysis Vocabulary

27 terms by taranir

Create a new folder

Advertisement Upgrade to remove ads

Vocabulary summary for the Program Design and Analysis chapter of Barron's 2009 edition.

software development

writing a program

object-oriented program

uses interacting objects

program specification

description of a task

program design

a written plan, an overview of the soution

program implementation

the code

test data

input to test the program

program maintenance

keeping the program working and up to date

top-down development

implement main classes first, subsidiary classes later

independent class

doesn't use other classes of the program in its code

bottom-up development

implement lowest level, independent classes first

driver class

used to test other classes; contains main method

inheritance relationship

is-a relationship between classes

composition relationship

has-a relationship between classes

inheritance hierarchy

inheritance relationship shown in a tree-like diagram

UML diagram

graphical representation of relationship between classes

data structure

Java construct for storing a data field (e.g., array)

information hiding

using private to restrict access

stepwise refinement

breaking methods into smaller methods

procedural abstraction

using helper methods

stub method

dummy method called by another method being tested

debugging

fixing errors

robust program

screens out bad input

compile-time error

usually a syntax error; prevents program from compiling

syntax error

bad language usage (e.g., missing brace)

run-time error

occurs during execution (e.g., int division by o)

exception

run-time error thrown by Java method

logic error

program runs but does the wrong thing.

Please allow access to your computer’s microphone to use Voice Recording.

Having trouble? Click here for help.

We can’t access your microphone!

Click the icon above to update your browser permissions above and try again

Example:

Reload the page to try again!

Reload

Press Cmd-0 to reset your zoom

Press Ctrl-0 to reset your zoom

It looks like your browser might be zoomed in or out. Your browser needs to be zoomed to a normal size to record audio.

Please upgrade Flash or install Chrome
to use Voice Recording.

For more help, see our troubleshooting page.

Your microphone is muted

For help fixing this issue, see this FAQ.

Star this term

You can study starred terms together

NEW! Voice Recording

Create Set