AOOP PRELIM Flashcards
__________ is anything around us. In terms of program, we try to abstract and model these from actual real life objects.
OBJECTS
_________ 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.
MODEL
_______ is a realization of the given model.
INSTANCE
It describes the current characteristics of the specified
ATTRIBUTES OR STATE
These are the possible actions that your object is able to do
BEHAVIOR
_____ is a blueprint of an object.
CLASS
This is represented by variables within our class
ATTRIBUTES
In a java program, it is called as instance field or instance variable
ATTRIBUTES
This represents methods in a program
BEHAVIOR
an optional special method is called when an instance is being created
CONSTRUCTOR
When an instance is being created
INSTANTIATION
When no constructor is defined, the interpreter _________
defines one
This keyword provides us that the purpose of the variable is to be assigned to the field of the instance
this KEYWORD
an object where the main method is defined
RUNNER OR DRIVER
process of restricting the access to data within the object
ENCAPSULATION
An object data manipulation method for data retrieval
ACCESSOR/GETTER
An object data manipulation method for data modification
MUTATOR/SETTER
Sequence of instructions expressed in specific programming language
PROGRAM
Computers native language.
MACHINE LANGUAGE
He received ACM’s Turing Award, the “Nobel Prize of Computing,” in 2003 for Smalltalk, the first complete dynamic OOPL
DR. ALAN KAY
Simplified representation of salient features of something, either tangible or abstract
MODEL
Grammatical rules for forming instructions
SYNTAX
Collection of collaborating components
SYSTEM
Two-step process to translate from Java to machine language
COMPILATION & EXECUTION
meaning/interpretation of instructions
SEMANTICS
5 STEPS OF SOFTWARE DEVELOPMENT
- Analysis
- Design
- Implementation
- Testing
- Maintenance
Who created Java
James Gosling et al. of Sun Microsystems
an imaginary machine that is implemented by emulating software on a real machine
Java Virtual Machine JVM
a special machine language that can be understood by the Java Virtual Machine
Bytecode
responsible for freeing any memory that can be freed. This happens
automatically during the lifetime of the Java program.
Garbage Collection
______ is attained in Java through the implementation of its Java Runtime Environment (JRE)
Code security
runs code compiled for a JVM and performs class loading, code verification, and code execution
Java Runtime Environment (JRE)
responsible for loading all classes needed for the Java program
Class Loader
tests the format of the code fragments and checks the code
fragments for illegal code that can violate access rights to objects
Bytecode verifier
What are the 2 Object Relationships
Association - “Has-a” relationship
Inheritance - “Is-a” relationship
a relation between 2 objects where in one object is being used by another object and/or vice versa.
ASSOCIATION
a relationship where 1 object relies on the existence of the other object.
COMPOSITION
a relationship between 2 independent objects where one can exist without the other
AGGREGATION
an asymmetrical connection between 2 objects depicting “Is-a” relationship.
INHERITANCE
it is the base class to be used. It is also known as “superclass”
Parent
it is the derived class from the parent. It is also known as “subclass”
Child
value of an object types in the default constructor
null
This property states that objects are smart on their own but requires others to tell what it needs to do.
ANTHROPOMORPHIC
It is the concept of hiding details you do not care about as a user
abstraction