As a number of aspirants have been asking me to share complete MCQs and other materials of Computer Knowledge which I have, here I am sharing all the pdf files I have. What is a super-class? The sum total constitutes a drama. When you are designing a generic class to contain or otherwise manage objects of other types, when the format and behavior of those other types are unimportant to their containment or management, and particularly when those other types are unknown (thus the genericity) to the designer of the container or manager class. The default access level assigned to members of a class is private. 17. 0000002021 00000 n What is inheritance ? It should start with “colon-colon,” however. What is cin and cout? 0000091100 00000 n Not all buildings are assets. 27. It’s okay to discuss the notational differences between the two idioms. 13. In the later, the message “+ 5.1” is sent to the same integer object. What is your reaction to this line of code? It is not unusual for C and C++ programmers to be unfamiliar with setjmp/ longjmp. Please see the attached file along with this.. What is a message? 0000003906 00000 n Const is a keyword used in C++ to specify that an object’s value cannot be changed. They should not, however, be considered representative of the entire scope of the test in either content or difficulty. A message is a signal from one object to another requesting that a computation take place. Some real-estate holdings are buildings. You should know about mangled function names and type-safe linkages. A specialized class “is a” specialization of another class and, therefore, has the ISA relationship with the other class. (This is analogous to user defined data types in procedural languages.) 0000003201 00000 n Believe it or not, many programmers think that a C++ struct is just like a C struct, while a C++ class has inheritance, access specifiers, member functions, overloaded operators, and so on. The programmer can change the internal workings of an object but this transparent to other interfacing programs as long as the interface remains unchanged. 0000008395 00000 n Your answer should reflect an understanding of the behavior described in the answer just given. 202 0 obj <> endobj A good programmer will insist that the statement is never to be used if the class is to be used by other programmers and instantiated as static, extern, or automatic objects. Second, when an object commits suicide this way, the using program might not know about its demise. 19. The super class ‘is not a’ sub-class as the sub- class is more specialized and may contain additional members as compared to the super class. Expert Teachers at KSEEBSolutions.com has created Karnataka 1st PUC Computer Science Question Bank with Answers Solutions, Notes, Guide Pdf Free Download of 1st PUC Computer Science Textbook Questions and Answers, Model Question Papers with Answers, Study Material 2020-21 in English Medium and Kannada Medium are part of 1st PUC Question Bank with Answers. 6. Reply ... can i get pDF of all the papers to take printout. Internally, however, it knows that it must treat the two types of objects differently in order to obtain the same overall response. Others might not, and that’s acceptable. What differs is the type of object on the right-hand side of these messages. Name the components of CPU Ans. 22. It is a language used to model OO problem spaces and solutions. A destructor? Click to Get updated NTA UGC NET CS Test Series Study Material for UGC NET Computer Science- 2019 29. The DeleteMe function would then use “delete this.” What are instance variables? What is a conversion constructor? You can write overloaded assignment operators that take arguments of other classes, but that behavior is usually implemented with implicit conversion constructors. First the characters are defined with their attributes and personalities.