AP® Computer Science A glossary

Program design

Also called: class design

Course: AP® Computer Science A Shows up in: Unit 3: Class Creation

Planning a program's classes, with each class's attributes and behaviors, in natural language or a diagram before writing code.

Appears in the course and exam description (CED): 3.1.A.7

A common plan is a box diagram: the class name, then the attributes with their types (such as - capacity : int), then the behaviors as method headers (such as + freeSpaces() : int). Nouns in a description usually become attributes; verbs become methods.

Learn it properly, with a checkpoint 3.1 Abstraction and Program Design

Related terms

Was this page helpful?

No names are ever shown, and every public comment is checked by us first. Please do not include personal details. To get a reply, email [email protected].

↑ Top

Enlarged view of the selected figure