Terms Flashcards

1
Q

Method overloading

A

when two methods have the same name but different parameters

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

method overriding

A

when a method in the subclass has the same signature(name and parameters) as a method in the superclass

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

partial overriding

A

when the overriding method code includes a call to super.method()

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

wrapper classes

A

Allows primitive types to act as objects/reference types

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

Wrapper class examples

A

Integer and Doubles (capital first letter so they are objects)

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

Math class constants

A

PI and E

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

Waterfall model development

A

Analysis->Design -> code->debug (linear, does not jump back and forth between planning and implementing)

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

Object oriented program design

A

Identify classes-> identify behaviors ->write interfaces ->implement methods (jumps back and forth between planning and coding)

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

Assertions

A

precise statements about a program at a given point

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

precondition

A

true immediately before a block of code

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

postcondition

A

true immediately after a block of code

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

big O

A

a quantitative way to evaluate efficiency of a algorithm, describes worst case scenario

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

Source Code

A

A collection of programming commands

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

Attribute

A

Characteristic of an object

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

behavior

A

action an object can do (methods)

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

instantiate

A

call the constructor to create the object

17
Q

state

A

the attributes of an object that are represented by its instance variable

18
Q

package

A

a collection of similar classes

19
Q

psuedocode

A

a plain language description of the step in an algorithm