AOOP PRELIM Flashcards

1
Q

__________ is anything around us. In terms of program, we try to abstract and model these from actual real life objects.

A

OBJECTS

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

_________ is an idea or concept that can be realized. It is able to represent a set of entities. The items per set can be called as instances.

A

MODEL

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

_______ is a realization of the given model.

A

INSTANCE

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

It describes the current characteristics of the specified

A

ATTRIBUTES OR STATE

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

These are the possible actions that your object is able to do

A

BEHAVIOR

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

_____ is a blueprint of an object.

A

CLASS

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

This is represented by variables within our class

A

ATTRIBUTES

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

In a java program, it is called as instance field or instance variable

A

ATTRIBUTES

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

This represents methods in a program

A

BEHAVIOR

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

an optional special method is called when an instance is being created

A

CONSTRUCTOR

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

When an instance is being created

A

INSTANTIATION

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

When no constructor is defined, the interpreter _________

A

defines one

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

This keyword provides us that the purpose of the variable is to be assigned to the field of the instance

A

this KEYWORD

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

an object where the main method is defined

A

RUNNER OR DRIVER

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

process of restricting the access to data within the object

A

ENCAPSULATION

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

An object data manipulation method for data retrieval

A

ACCESSOR/GETTER

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

An object data manipulation method for data modification

A

MUTATOR/SETTER

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

Sequence of instructions expressed in specific programming language

19
Q

Computers native language.

A

MACHINE LANGUAGE

20
Q

He received ACM’s Turing Award, the “Nobel Prize of Computing,” in 2003 for Smalltalk, the first complete dynamic OOPL

A

DR. ALAN KAY

21
Q

Simplified representation of salient features of something, either tangible or abstract

22
Q

Grammatical rules for forming instructions

23
Q

Collection of collaborating components

24
Q

Two-step process to translate from Java to machine language

A

COMPILATION & EXECUTION

25
meaning/interpretation of instructions
SEMANTICS
26
5 STEPS OF SOFTWARE DEVELOPMENT
1. Analysis 2. Design 3. Implementation 4. Testing 5. Maintenance
27
Who created Java
James Gosling et al. of Sun Microsystems
28
an imaginary machine that is implemented by emulating software on a real machine
Java Virtual Machine JVM
29
a special machine language that can be understood by the Java Virtual Machine
Bytecode
30
responsible for freeing any memory that can be freed. This happens automatically during the lifetime of the Java program.
Garbage Collection
31
______ is attained in Java through the implementation of its Java Runtime Environment (JRE)
Code security
32
runs code compiled for a JVM and performs class loading, code verification, and code execution
Java Runtime Environment (JRE)
33
responsible for loading all classes needed for the Java program
Class Loader
34
tests the format of the code fragments and checks the code fragments for illegal code that can violate access rights to objects
Bytecode verifier
35
What are the 2 Object Relationships
Association - "Has-a" relationship Inheritance - "Is-a" relationship
36
a relation between 2 objects where in one object is being used by another object and/or vice versa.
ASSOCIATION
37
a relationship where 1 object relies on the existence of the other object.
COMPOSITION
38
a relationship between 2 independent objects where one can exist without the other
AGGREGATION
39
an asymmetrical connection between 2 objects depicting "Is-a" relationship.
INHERITANCE
40
it is the base class to be used. It is also known as "superclass"
Parent
41
it is the derived class from the parent. It is also known as "subclass"
Child
42
value of an object types in the default constructor
null
43
This property states that objects are smart on their own but requires others to tell what it needs to do.
ANTHROPOMORPHIC
44
It is the concept of hiding details you do not care about as a user
abstraction