Chapter 1, Object Oriented Analysis and Design, Object Oriented Programming
A combination of multiple and multilevel inheritance so as to form a lattice structure. a) Single Inheritance b) Multiple Inheritance c) Multilevel Inheritance d) Hierarchical Inheritance e) Hybrid Inheritance
e) Hybrid Inheritance
Class is designed such that its data (attributes) can be accessed only by its class methods and insulated from direct outside access this process called Polymorphism. t F
false
Classes inherit the attributes and methods from the subclasses underneath them. true False
false
Message implement an object's behavior true false
false
The subclass can inherit or derive the attributes and methods of the super-class(es) provided that the super-class allows so and vice versa. t F
false
the distinguishing features of groups of objects are used to form specialized classes from existing classes this refers to generalization t F
false
the mechanism that permits new classes to be created out of existing classes by extending and refining its capabilities. a) Method b) Inheritance c) Encapsulation d) Polymorphism
b) Inheritance
A subclass derives from more than one super-classes. a) Single Inheritance b) Multiple Inheritance c) Multilevel Inheritance d) Hierarchical Inheritance e) Hybrid Inheritance
b) Multiple Inheritance
The overall purpose is identified and then functional decomposition is done for developing the software. a) OOA b) OOD c) OOP d) structured analysis
d) structured analysis
Composition is referred to as a Weak Association. True False
False
The concept that says the same message can be interpreted differently by different classes of objects is called 'encapsulation' true False
False
binary relationship connects objects of three or more classes. True False
False
The complete architecture of the desired system is designed in ..... a) Dynamic modelling b) object design c) object modelling d) system design
d) system design
The functional model shows the processes that are performed within an object and how the data changes as it moves between methods. a) Dynamic modelling b) Functional Modelling c) object modellingy
b) Functional Modelling
Special kind of association and referred to as a Strong Association. a)association b)dependency c)aggregation d)composition
d)composition
A composition indicates that one class belongs to the other. true False
True
Objects in different processes can be involved in message passing. True False
True
...... a way of describing how an individual object responds to events, either internal or external events. a) Dynamic modelling b) Functional Modelling c) object modelling
a) Dynamic modelling
Identify events and analyse the applicability of actions this one of steps..... a) Dynamic modelling b) Functional Modelling c) object modelling
a) Dynamic modelling
Validate the state-transition diagrams drawn this one of steps .... a) Dynamic modelling b) Functional Modelling c) object modelling
a) Dynamic modelling
One of the following focuses on data rather than the procedure. a) OOA b) OOD c) OOP d) structured analysis
a) OOA
The procedure of identifying software engineering requirements and developing software specifications in terms of a software system's object model, which comprises of interacting objects. a) OOA b) OOD c) OOP d) structured analysis
a) OOA
A subclass derives from a single super-class. a) Single Inheritance b) Multiple Inheritance c) Multilevel Inheritance d) Hierarchical Inheritance e) Hybrid Inheritance
a) Single Inheritance
Represents a collection of objects having same characteristic properties that exhibit common behaviour. a) class b)Object c) Message d) method
a) class
The principle of information hiding suggests that only ________________ be published to the user of the module. a) the information required to use a software module b) the class name c) the object's name d) the method e) the common attributes
a) the information required to use a software module
....... is defined as a structural relationship that conceptually means that the two components are linked to each other. a)association b)dependency c)aggregation d)composition
a)association
........ is the final component of object-oriented analysis. a) Dynamic modelling b) Functional Modelling c) object modelling
b) Functional Modelling
Identify all the inputs and outputs this one of steps...... a) Dynamic modelling b) Functional Modelling c) object modelling
b) Functional Modelling
Which statements are not correct about Objects? a) every object has identity that distinguishes it from other objects in the system. b) Objects do not permit encapsulation c) An Object is an instance of a class d) Objects may be physical or intangible
b) Objects do not permit encapsulation
A single object of class A is associated with many objects of class B. a) One-to-One b) One-to-Many c) Many-to-Many
b) One-to-Many
Methods implement an object's __________ a) attributes b) behaviour c) properties d) size
b) behaviour
....... In this phase, a design model is developed based on both the models developed in the system analysis phase and the architecture designed in the system design phase. a) Dynamic modelling b) object design c) object modelling d) system design
b) object design
..allows objects with different internal structures to have a common external interface. a) information hiding b) polymorphism c) encapsulation d) inheritance
b) polymorphism
In system design, the emphasis is on the objects comprising the system rather than the ....... in the system. a) data b) process c) logic d) action
b) process
Fetched or sorted out information from the largest pool- hence the process is referred to : a) method b)abstraction c)encapsulation d)dependency
b)abstraction
A subclass derives from a super-class which in turn is derived from another class and so on. a) Single Inheritance b) Multiple Inheritance c) Multilevel Inheritance d) Hierarchical Inheritance e) Hybrid Inheritance
c) Multilevel Inheritance
...........is a programming paradigm based upon objects (having both data and methods) that aims to incorporate the advantages of modularity and reusability. a) OOA b) OOD c) OOP
c) OOP
When using encapsulation and information hiding, objects are treated like: a) classes b) linked lists c) black boxes d) orthogonal matrices e) one-way flow boxes
c) black boxes
The combining of process and data into a single entity is called: a) aggregation b) abstraction c) encapsulation d) inheritance e) attribution
c) encapsulation
The common characteristics of classes are combined to form a class in a higher level of hierarchy this refers to.. a) Specialization b) inheritance c) generalization
c) generalization
Subclasses __________ the attributes and methods from the superclass above them. a) encapsulate b) translate c) inherit d) defend e) model
c) inherit
........ develops the static structure of the software system in terms of objects. a) Dynamic modelling b) Functional Modelling c) object modelling
c) object modelling
Create user object model diagram this one of steps ..... a) Dynamic modelling b) Functional Modelling c) object modelling
c) object modelling
Define the operations that should be performed on the classes and user object attributes this one of steps.... a) Dynamic modelling b) Functional Modelling c) object modelling
c) object modelling
Identify objects and group into classes this one of steps ..... a) Dynamic modelling b) Functional Modelling c) object modelling
c) object modelling
The design stage includes two main stages : a) object modelling , dynamic modelling b) design modelling , analysis modelling c) system design, object design d) object modelling , object design
c) system design, object design
...... is referred as a "part-of" or "has-a" relationship, with the ability to navigate from the whole to its parts. a)association b)dependency c)aggregation d)composition
c)aggregation
A class has a number of subclasses each of which may have subsequent subclasses, continuing for a number of levels, so as to form a tree structure. a) Single Inheritance b) Multiple Inheritance c) Multilevel Inheritance d) Hierarchical Inheritance e) Hybrid Inheritance
d) Hierarchical Inheritance
Encapsulation is a) Combine process and data into holistic entities. b) process of binding both attributes and methods together within class c) enables the structure of the system to be far more robust d) all of the above e) none of the above
d) all of the above
There is analysis techniques that are used in conjunction with each other for object-oriented analysis: a) Dynamic modelling b) Functional Modelling c) object modelling d) all of the above e) none of the above
d) all of the above
When common sets of attributes and methods are organized into superclasses (or abstract classes) (like Student) and then subclasses (like Business Student) this action is referred to as ______________. a) information hiding b) object methods c) encapsulation d) inheritance e) cohesion
d) inheritance
Is nothing more than an action that an object can perform. a) class b)Object c) Message d) method
d) method
A message is composed of Object identifier, Method name and Arguments. true false
true
Association is one class instance uses the other class instance or vice-versa, or both may be using each other. true False
true
Class is designed such that its data (attributes) can be accessed only by its class methods and insulated from direct outside access this process refers to information hiding. true false
true
Message passing enables all interaction between objects. true false
true
Object oriented Programming follows Bottom-up approach in program design. t F
true
Only the instance that owns an item of data can modify or read it true False
true
The main difference between object-oriented analysis and other forms of analysis is that in object-oriented approach, requirements are organized around objects, which integrate both data and functions. true False
true
The object-oriented models do not easily show the communications between the objects in the system. true false
true