Sir,
There ten questions on which i have doubts.
Those questions and my answers are given ahead.
please give me the right solution for the same.
According to me the answers are :-
Data Hiding: Data Hiding the Hiding data(instavce variables) and making them private and accessible through only methods
Encapsulation: Encapsulation refers to the bundling of data with the methods that operate on that data (Logically same as Data Hiding)
Abstraction : Data Abstraction the hiding implemetation details from outside environment
Data Binding : Data Binding is used in XMLs. data binding refers to the process of representing the information in an XML document as an object in computer memory
1.The design of classes in the way that hides the details of implementation details from the user is:-
1.Encapsulation
2.Information Hiding (Answer) 3.Data Abstraction
4.All of the above.
But then Encapsulation implies information hiding??
according to answer 6, it should be Encapsulation as well as Info hiding??
What if i have to select one of them??
2.The Object Oriented Technology's __________ Concept means that a small change in users's requirement should not require large changes to be made to the system:-
1.Abstraction (Answer) 2.Modularity
3.Encapsulation
4.Modeling.
According to me this concept is of low coupling or modelling??
3.The Abilitity to reuse objects already defined ,perhaps for a different purpose with modification appropriate to the new purpose is
referred to as ___________:-
1.Information Hiding
2.Inheritance (Answer) 3.Redefination
4.Overloading
4.___________ means that both data and methods which may access it are defined together in the same unit:-
1.Data Hiding
2.Encapsulation (Answer) 3.Data Binding
4.none of the above
5.The term given to the process of hiding all details of an object that do not contribute to its essential characteristics is called ________:-
1.Data Hiding (Answer) 2.Packaging
3.Encapsulation
4.Grouping
6.Encapsulation is:-
1.Information hiding
2.Data binding
3.Both (Answer) 4.None
But then for 4 question, answer should be all the three??
7.The Object Oriented technology's use of_______ facilitates the reuse of code and architecture and its _______ feature provides system with stability as a small change in requirements does not require massive change in systems:-
1.encapsulation,inheritance
2.inheritance,polymorphism (Answer) 3.inheritance,encapsulation
4.polymorphism,abstraction
According to Q3 and Q2, the respective answers to both the blanks should be inheritance and abstraction??
8.OOP allows for extension of object function or class function,this ability within OOP is called __________:-
1.Extensibility (Answer) 2.Expansion capacity
3.Virtual Expansion
4.Scalability
9.The ability to send a common message to different classes and for each subclass object to respond to the message in a manner appropriate to it's own properties is called __________:-
1.Adaptability
2.Expansion Capacity
3.Virtual Extension (Answer) 4.Scalability.
10.An ___________ denotes Essential Characteristics of objects that distinguishes it from all other kinds of Objects.:-
1.Aggregation.
2.Abstraction. (Answer) 3.Modularity.
4.None of the above.
Thanks a Lot,
-Pankaj Shet.
[ June 19, 2008: Message edited by: Campbell Ritchie ]