[{"id":189595,"question":"An abstract class is useful when","choices":[{"text":"We do not derive any class from it.","value":"A"},{"text":"There are multiple paths from one derived class to another.","value":"B"},{"text":"We do not want to instantiate its object","value":"C"},{"text":"You want to defer the declaration of the class.","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":189594,"question":"The mechanism of selecting function at run time according to the nature of calling object is called,","choices":[{"text":"late binding","value":"A"},{"text":"static binding","value":"B"},{"text":"virtual binding","value":"C"},{"text":"None of the given options","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":189593,"question":"Two important STL associative containers are _______ and _______.","choices":[{"text":"set,map","value":"A"},{"text":"sequence,mapping","value":"B"},{"text":"setmet,multipule","value":"C"},{"text":"sit,mat","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":189592,"question":"When the base class and the derived class have a member function with the same name, you must be more\r\nspecific which function you want to call (using ___________). ","choices":[{"text":"  scope resolution operator","value":"A"},{"text":"dot operator","value":"B"},{"text":"null operator","value":"C"},{"text":"Operator overloading ","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":189591,"question":"When a subclass specifies an alternative definition for an attribute or method of its superclass, it is _______ the\r\ndefinition in the superclass.\r\n","choices":[{"text":"overload","value":"A"},{"text":"overriding","value":"B"},{"text":"copy riding","value":"C"},{"text":"none of given","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":189590,"question":"Which of the following operators always takes no argument if overloaded?","choices":[{"text":"/","value":"A"},{"text":"-","value":"B"},{"text":"+","value":"C"},{"text":"++","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":189589,"question":"When a variable is define as static in a class then all object of this class,","choices":[{"text":"Have different copies of this variable","value":"A"},{"text":"Have same copy of this variable","value":"B"},{"text":"Can not access this variable","value":"C"},{"text":"None of given","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":189588,"question":"Consider the code below,\r\nclass Fred {\r\npublic:\r\nFred();\r\n...\r\n};\r\nint main()\r\n{\r\nFred a[10];\r\nFred* p = new Fred[10];\r\n...\r\n}\r\nSelect the best option","choices":[{"text":"Fred a[10]; calls the default constructor 09 times\r\nFred* p = new Fred[10]; calls the default constructor 10 times","value":"A"},{"text":"Produce an error","value":"B"},{"text":"Fred a[10]; calls the default constructor 11 times\r\nFred* p = new Fred[10]; calls the default constructor 11 times","value":"C"},{"text":"Fred a[10]; calls the default constructor 10 times\r\nFred* p = new Fred[10]; calls the default constructor 10 times","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":189587,"question":"Consider a class named Vehicle, which of the following can be the instance of class Vehicle?\r\n1. Car\r\n2. Computer\r\n3. Desk\r\n4. Ahmed\r\n5. Bicycle","choices":[{"text":"1, 4, 5","value":"A"},{"text":"2, 5, 6","value":"B"},{"text":"1, 2, 3, 6","value":"C"},{"text":"1, 5, 6","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":189586,"question":"In case of multiple inheritance a derived class inherits,","choices":[{"text":"Only the public member functions of its base classes","value":"A"},{"text":"Only the public data members of its base classes","value":"B"},{"text":"Both public data members and member functions of all its base classes","value":"C"},{"text":"Data members and member functions of any two base classes","value":"D"},{"value":"E"}],"correctAnswer":3}]