Sunday, July 26, 2009

Computer Science Questions!!!?

An object is a





(A) single instance of a given data structure template


(B) collection of promitive data types


(C) user-defined data types


(D) data structure template or blue print





only answer if you are sure! plz and thanks!

Computer Science Questions!!!?
An object is A - a single instance of a given data structure template.





That's a weird way to put it, but that's the answer. A class (data structure template) lays out everything an object needs, subtract the data. When a class is instantiated, it is called an object.
Reply:If everyone ahead of me didn't put A, I would be so sure it was C %26gt;.%26lt;
Reply:Hi,





The answer is A.





Instance of a given data structure template. Because a object can't only be of a Class. Object is an instance which contains a set of attributes (programattically data members) and some functions/methods to work/manipulate on these attributes.





C answer is not write as it sounds matching a little bit, but as A answer is there (which is more defining the word object) so no way to choose C.





Any data structure template can a create a instance (object) from it. So definitely A is the correct answer.





Thanks %26amp; Regards


Sakti Prasad Mishra
Reply:I'm going with A
Reply:I don't like answering computer question on the spot. I like to give u some definition and from there u can pretty much see it urself I guarantee u. u won't never forget it.











An object is a component of a program that knows how to perform certain actions and to interact with other pieces of the program.











There is a very important distinction between an object and an instance of an object. An object is actually a definition, or a template for instances of that object. An instance of an object is an actual thing that can be manipulated. I believe you can find your answer, however if you can't then I'll tell you but I want to see u try





Do you have more question on Computer Science because that's gonna be my major at ASU pretty soon. I'd like to answer as many as I can. .
Reply:an object is an instance because it exists and many others just like it of the same class (template) can exist as well.


No comments:

Post a Comment