Program Design And Analysis Flashcards

(29 cards)

1
Q

Object oriented program

A

Uses interacting objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Program specification

A

Description of a task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Program design

A

A written plan, an overview of the solution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Program implementation

A

The code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Test data

A

Input to test the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Program maintenance

A

Keeping the program working and up to date

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Top down development

A

Implement main classes first, subsidiary classes later

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Independent class

A

Doesn’t use other classes of the program in its code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Bottom up development

A

Implement lowest level, independent classes first

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Driver class

A

Used to text other classes; contains main method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Inheritance relationship

A

Is-a relationship between classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Composition relationship

A

Has-a relationship between classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Inheritance hierarchy

A

Inheritance relationship shown in a tree-like diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

UML diagram

A

Tree-like representation of relationship between classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Data structure

A

Java construct for storing a data field (ex. Array)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Encapsulation

A

Combining data fields and methods in a class

17
Q

Information hiding

A

Using private to restrict access

18
Q

Stepwise refinement

A

Breaking methods into smaller methods

19
Q

Procedural abstraction

A

Using helper methods

20
Q

Algorithm

A

Step by step process that solves a problem

21
Q

Stub method

A

Dummy method called by another method being tested

22
Q

Debugging

A

Fixing errors

23
Q

Robust program

A

Screens out bad input

24
Q

Compile time error

A

Usually a syntax error; prevents program from compiling

25
Syntax error
Bad language usage (ex. Missing brace)
26
Run time error
Occurs during execution (ex. Int division by 0)
27
Exception
Run time error thrown by Java method
28
Logic error
Program runs but does the wrong thing
29
Software development
Writing a program