Home
Explore
Exams
Search for anything
Search for anything
Login
Get started
Home
Engineering
AP Computer Science A
Unit 5: Writing Classes
Program Design and Analysis Vocabulary
Studied by 1 person
0.0
(0)
Add a rating
Learn
A personalized and smart learning plan
Practice Test
Take a test on your terms and definitions
Spaced Repetition
Scientifically backed study method
Matching Game
How quick can you match all your cards?
Flashcards
Study terms and definitions
1 / 27
Earn XP
Description and Tags
Computer Science
AP Computer Science A
Unit 5: Writing Classes
10th
Add tags
28 Terms
View all (28)
Star these 28
1
software development
Writing a program that performs a specific task
New cards
2
object-oriented program
The idea of using interacting object that work with each other to achieve a goal
New cards
3
program specification
Given description of a task
New cards
4
program design
A written plan, an overview of the solution
New cards
5
program implementation
The actual writing of the code
New cards
6
test data
The input that is used to test the code
New cards
7
program maintenance
The action of keeping the program running and up-to-date as time goes by
New cards
8
top-down development
The strategy of implementing main classes first, and subsidiary classes later
New cards
9
independent class
A class that doesn’t rely on others in its code in order to perform its task
New cards
10
bottom-up development
Implement lowest level, independent classes first before the main classes
New cards
11
driver class
A main method classes that are used to test other classes
New cards
12
inheritance relationship
is-a relationship between classes
New cards
13
composition relationship
has-a relationship between classes
New cards
14
inheritance hierarchy
Inheritance relationship shown in a tree-like diagram (usually an UML diagram)
New cards
15
UML diagram
Tree-like representation of a relationship between classes
New cards
16
data structure
Java construct for storing a data field (Array, int, boolean)
New cards
17
data encapsulation
Hiding data field and methods in a class by making them private
New cards
18
stepwise refinement
Breaking large methods into smaller methods by using helpers
New cards
19
procedural abstraction
Using separate methods to encapsulate each task
New cards
20
algorithm
Step-by-step process that solves a problem
New cards
21
stub method
Dummy method called by another method being tested, to test if it works
New cards
22
debugging
Fixing errors within the code
New cards
23
robust program
A program that screens out bad inputs
New cards
24
compile-time error
An error that prevents programs form compiling, usually a syntax error.
New cards
25
syntax error
Bad language usage (missing braces)
New cards
26
run-time error
Error that occurs during execution (int division by zero, index out of bounds)
New cards
27
exception
A run-time error thrown by Java method
New cards
28
logic error
Program runs but does the wrong thing (incorrect writing of code)
New cards