Ch. 6 Deeper Look Flashcards

1
Q

Modules

A

Experience has shown that the best way to contruct and maintain a large program is to construct it from small simple pieces or MODULES.

Can use divide and conquer technique to do so.

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

Java API

Java Application Programming Interface

A

has predefined methods and classes

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

Method Overloading

A

Methods of the same name can be declared in the same class, as long as they have different sets of parameters.

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

A method is invoked with a ______

A

Method call

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

A variable known only within the method in which its declared is called a _____

A

Local Variable

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

The _____ of a declaration is the portion of a program taht can refer to the entitiy in the declaration by name

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

VARIABLE

A
  • Variable is a placeholder
  • You can place a value in a variable for use later or even change it but once changed the previous value is lost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

TYPE”

A
  • The “type” of a variable describes the kind of value that the variable is allowed to store
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

MODULAR DESIGN

A

Methods called functions or procedures help you modularize a program by seperating its task into self contained units

One method used is divide and conqure,

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