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

A

PROGRAM

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

A

MODEL

22
Q

Grammatical rules for forming instructions

A

SYNTAX

23
Q

Collection of collaborating components

A

SYSTEM

24
Q

Two-step process to translate from Java to machine language

A

COMPILATION & EXECUTION

25
Q

meaning/interpretation of instructions

A

SEMANTICS

26
Q

5 STEPS OF SOFTWARE DEVELOPMENT

A
  1. Analysis
  2. Design
  3. Implementation
  4. Testing
  5. Maintenance
27
Q

Who created Java

A

James Gosling et al. of Sun Microsystems

28
Q

an imaginary machine that is implemented by emulating software on a real machine

A

Java Virtual Machine JVM

29
Q

a special machine language that can be understood by the Java Virtual Machine

A

Bytecode

30
Q

responsible for freeing any memory that can be freed. This happens
automatically during the lifetime of the Java program.

A

Garbage Collection

31
Q

______ is attained in Java through the implementation of its Java Runtime Environment (JRE)

A

Code security

32
Q

runs code compiled for a JVM and performs class loading, code verification, and code execution

A

Java Runtime Environment (JRE)

33
Q

responsible for loading all classes needed for the Java program

A

Class Loader

34
Q

tests the format of the code fragments and checks the code
fragments for illegal code that can violate access rights to objects

A

Bytecode verifier

35
Q

What are the 2 Object Relationships

A

Association - “Has-a” relationship
Inheritance - “Is-a” relationship

36
Q

a relation between 2 objects where in one object is being used by another object and/or vice versa.

A

ASSOCIATION

37
Q

a relationship where 1 object relies on the existence of the other object.

A

COMPOSITION

38
Q

a relationship between 2 independent objects where one can exist without the other

A

AGGREGATION

39
Q

an asymmetrical connection between 2 objects depicting “Is-a” relationship.

A

INHERITANCE

40
Q

it is the base class to be used. It is also known as “superclass”

A

Parent

41
Q

it is the derived class from the parent. It is also known as “subclass”

A

Child

42
Q

value of an object types in the default constructor

A

null

43
Q

This property states that objects are smart on their own but requires others to tell what it needs to do.

A

ANTHROPOMORPHIC

44
Q

It is the concept of hiding details you do not care about as a user

A

abstraction