Here is the GDB Questions
Do you agree or not that
"Object Oriented Programming basic paradigms like Abstraction, Encapsulation, Aggregation, Composition, Inheritance, Polymorphism, Templates etc are based and works in a same way as human thinks and behave in our daily life?. Justify your answer with very precise and to the point reasons.
Do you agree or not that
"Object Oriented Programming basic paradigms like Abstraction, Encapsulation, Aggregation, Composition, Inheritance, Polymorphism, Templates etc are based and works in a same way as human thinks and behave in our daily life?. Justify your answer with very precise and to the point reasons.
Idea Solution:-
In object-oriented programming (OOP), Inheritance is a way to compartmentalize and reuse code by creating collections of attributes and behaviors called objects which can be based on previously created objects. In classical inheritance where objects are defined by classes, classes can inherit other classes. The new classes, known as Sub-classes (or derived classes), inherit attributes and behavior of the pre-existing classes, which are referred to as Super-classes (or ancestor classes). The inheritance relationship of sub- and superclasses gives rise to a hierarchy. In Prototype-based programming objects can be defined directly from other objects without the need to define any classes.
Another Idea Solution
• Not really -- we think that way with some things ("man" and "woman" are subclasses of "person") but the real world has so many exceptions to basic structure and is so capricious and random that trying to define it all in terms of classes leads to disaster. The Victorians experienced this problem when trying to fit the duck-billed platypus and the echidna into their taxonomic system of latin naming for species: to them, everything should follow the rules they assigned to phylum, genus, family, etc. but these two animals didn't. So the Victorians said they were freaks of nature, whereas what they actually meant was that they were freaks of the Victorian classification system. They'd have loved it if they really could make classes and subclasses of everything... but the universe just doesn't work that way, and the way our brains deal with the universe doesn't, either: to try to get our heads around things we do make patterns - sometimes patterns which aren't really there, hence optical illusions - but in a basic sense, no.
• Disagree. Computers and brains work differently (and I'm talking about the logical differences.)
• Disagree. Computers and brains work differently (and I'm talking about the logical differences.)
Please do make changes in these assignment otherwise every one who copy this assignment as it is will awarded zero marks
NOTE: - These Assignments OR Quiz are just for idea, so kindly don't copy it, after viewing it make your own. Thanks We always try our best to upload 100% correct solution BUT it is requested that you kindly review it before submission, please BEST OF LUCK, Thanks to those students those send me Assignments and quizzes. If you have any Assignment and quiz kindly send at fascobuk@gmail.com
No comments:
Post a Comment