Program Design and Analysis Vocabulary

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/27

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

28 Terms

1
New cards
software development
Writing a program that performs a specific task
2
New cards
object-oriented program
The idea of using interacting object that work with each other to achieve a goal
3
New cards
program specification
Given description of a task
4
New cards
program design
A written plan, an overview of the solution
5
New cards
program implementation
The actual writing of the code
6
New cards
test data
The input that is used to test the code
7
New cards
program maintenance
The action of keeping the program running and up-to-date as time goes by
8
New cards
top-down development
The strategy of implementing main classes first, and subsidiary classes later
9
New cards
independent class
A class that doesn’t rely on others in its code in order to perform its task
10
New cards
bottom-up development
Implement lowest level, independent classes first before the main classes
11
New cards
driver class
A main method classes that are used to test other classes
12
New cards
inheritance relationship
is-a relationship between classes
13
New cards
composition relationship
has-a relationship between classes
14
New cards
inheritance hierarchy
Inheritance relationship shown in a tree-like diagram (usually an UML diagram)
15
New cards
UML diagram
Tree-like representation of a relationship between classes
16
New cards
data structure
Java construct for storing a data field (Array, int, boolean)
17
New cards
data encapsulation
Hiding data field and methods in a class by making them private
18
New cards
stepwise refinement
Breaking large methods into smaller methods by using helpers
19
New cards
procedural abstraction
Using separate methods to encapsulate each task
20
New cards
algorithm
Step-by-step process that solves a problem
21
New cards
stub method
Dummy method called by another method being tested, to test if it works
22
New cards
debugging
Fixing errors within the code
23
New cards
robust program
A program that screens out bad inputs
24
New cards
compile-time error
An error that prevents programs form compiling, usually a syntax error.
25
New cards
syntax error
Bad language usage (missing braces)
26
New cards
run-time error
Error that occurs during execution (int division by zero, index out of bounds)
27
New cards
exception
A run-time error thrown by Java method
28
New cards
logic error
Program runs but does the wrong thing (incorrect writing of code)