OOPEXAM Flashcards
Sequence of instructions expressed in specific programming language.
System
Model
Computer
Program
Program
Computers native language.
Assembly language
Machine language
System
Programming 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 Key
Dr. Allan K
Dr. Alan Kay
Blaise Pascal
Dr. Alan Kay
Simplified representation of salient features of something, either tangible or abstract
Model
Program
System
Syntax
Model
Grammatical rules for forming instructions.
Semantics
Syntax
Model
System
Syntax
Collection of collaborating components
Syntax
System
Model
Semantics
System
Two-step process to translate from Java to machine language:
Execution
Semantics
Syntax
Compilation
Execution
Compilation
In OOP, objects are considered anthropomorphic. anthropomorphic meaning ____
Reliable
Fast
Smart
Easy
Smart
Gathering and analyzing the needs and requirements of the stakeholders.
Requirement Analysis
Creating the architecture and design for the software based on the requirements.
Design
Writing the actual code and developing the software according to the design specifications.
Implementation
Java was developed by Sun Microsystems and it is meant to run on many “platforms” without change, from desktop to cell phones
T/F
T
Identify the validity of the given statements.
I. A default constructor is provided when constructors are defined in a class.
II. To encapsulate an object, fields must be publicly available.
Both statements are True
Neither statment is True
Only statement II is True
Only statment I is True
Neither statment is True
These are methods that retrieves field values.
private
public
accessor
setters
accessor
Identify the validity of the given statements.
I. Runner program is not an object.
II. Method parameters must have different names from the class fields.
Only statement I is True
Both statements are True
Neither statement is True
Only statement II is True
Neither statement is True
Identify the validity of the given statements.
I. All instances has the same attribute values.
II. All instances has the same methods.
Neither statement is True
Both statements are True
Only statement I is True
Only statement II is True
Only statement II is True
Identify the validity of the given statements.
I. Constructors can be overloaded.
II. Support methods are public.
Neither statement is True
Only statement II is True
Only statement I is True
Both statments are True
Only statement I is True
It is the blueprint of an object.
Class
Behavior
Attributes
Method
Class
It is the abstraction of a real world concept into programming.
Class
Object
Interface
Inheritance
Object
It is the representation of object characteristics on Java programming.
Attributes
Instance Fields
Behavior
Methods
Attributes
What is the value of an object types in the default constructor?
null
0
false
empty character
null
Identify the validity of the given statements.
I. Constructors has the same name as the class.
II. Void return type does not provide any value.
Only statement II is True
Neither statement is True
Both statements are True
Only statement I is True
Both statements are True
It is the concept of hiding details you do not care about as a user.
Abstraction
Antrophomorphic
Objects
Black Box
Abstraction