Object Interaction Part 1 Flashcards

(10 cards)

1
Q

Abstraction

A

The ability to ignore details of parts, to focus attention on a higher level of a problem

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

Modularization

A

The process of dividing a whole into well-defined parts that can be built and examined separately and that interact in defined ways

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

Class diagram

A

Diagram that shows the classes of an application and the relationships between them. It gives them information about the source code and presents the static view of a program.

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

Object Diagram

A

Diagram that shows the objects and their relationships at one moment in time during the execution of an application. It gives information about objects at runtime and presents the dynamic view of a program

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

Object reference

A

A link to an object. Can be stored in a variable with an appropriate object type

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

Object type

A

A type that refers to an object. Eg a type String that refers to a String object

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

Primitive type

A

In Java, a non-object type such as int, boolean, char, double and long. Types of this kind have no methods.

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

Logic Operator

A

Operator that acts on boolean values (try or false) and produces a new boolean value as a result. Eg include && (and), || (or, and ! (not)

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

Concatenation

A

Joining two String objects into one. In Java, this is done with a + sign. Eg “Java” + “with BlueJ” yields “Javawith BlueJ”

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

Modulo operator

A

Operator (%) that returns the remainder of division between two integers. Eg 7 % 2 returns 1

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