Inheritance is an example of which type of hierarchy
Class Structure
Object Structure
Both
None of the mentioned
Browse topic-based Object Oriented System Design practice sets.
73 practice sets · Page 2 of 4
Inheritance is an example of which type of hierarchy
Class Structure
Object Structure
Both
None of the mentioned
Dependencies among files can then be asserted using the macro
#define
#undef
#include
#endif
Callback is an operation provided by
Inheritance
Encapsulation
Modularity
Abstraction
Which of the following programming language are object oriented in nature
Smalltalk and Simula
FORTRAN and ALGOL
C and Ada
Perl and Python
Object oriented technology is built upon a sound engineering foundation, whose elements are collectively called as _________
Von Neumann Model
Object Model
Structured Model
Programming Model
What is that concept in type theory in which a single name may denote objects of many different classes that are related by some common super class referred to ______
Monomorphism
Type Checking
Polymorphism
Generalization
Which of the following statements about Persistence is correct?
It is the enforcement of the class of an object, such that objects of different types may not be interchanged, or at the most they may be interchanged only in very restricted ways.
It is the property of an object through which its existence transcends time and/or space.
It is the property that distinguishes an active object from one that is not active.
All of the mentioned
In which of the following mechanisms, types of all variables and expressions are not known until runtime
Strong Typing
Weak Typing
Static Binding/ early binding
Dynamic Binding/ late binding
In which of the following mechanisms, types of all variables and expressions are fixed at compilation time.
Strong Typing
Weak Typing
Static Binding/ early binding
Dynamic Binding/ late binding
Single inheritance, Multiple inheritance, and Aggregation comes under _______
Modularity
Typing
Hierarchy
None of the mentioned
The process of compartmentalizing the elements of an abstraction that constitute its structure and behavior is called as
Hierarchy
Encapsulation
Modularity
Entity Abstraction
Abstraction is classified into _______ types
4
3
2
1
The essential characteristics of an object that distinguish it from all other kinds of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer is called:
Encapsulation
Modularity
Hierarchy
Abstraction
What is the programming style of the object oriented conceptual model?
Invariant relationships
Algorithms
Classes and objects
Goals, often expressed in a predicate calculus.
The method of design encompassing the process of object oriented decomposition and a notation for depicting both logical and physical and as well as static and dynamic models of the system under design is known as:
Object- Oriented Programming
Object- Oriented Design
Object- Oriented Analysis
None of the mentioned
'Whitespace' in Java language may be?
A space
A new line
A tab
All of the mentioned
Which of the following is used to name class, method and variables?
Identifiers
Keywords
Both
None of the mentioned
Which of the following 'Seperator' is most commonly used in Java program?
Parenthesis
Braces
Comma
Semicolon
Which of the following is readable by both Computer and Human?
Single-line comment
Multi-line comment
Documentation comment
All of the mentioned
What are the types of comments defined by Java?
Single-line comment
Multi-line comment
Documentation comment
All of the mentioned