[{"id":189575,"question":"A template provides a convenient way to make a family of","choices":[{"text":"variables and data members","value":"A"},{"text":"functions and classes","value":"B"},{"text":"classes and exceptions","value":"C"},{"text":"programs and algorithms","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":189574,"question":"When the base class and the derived class have a member function with the same name, you must be\r\nmore specific 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":189573,"question":"What is true about function templates?\r\n","choices":[{"text":"The compiler generates only one copy of the function template","value":"A"},{"text":"The compiler generates a copy of function respective to each type of data ","value":"B"},{"text":"The compiler can only generate copy for the int type data","value":"C"},{"text":"non of the given","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":189572,"question":"Which of the following may not be an integral part of an object?","choices":[{"text":"State","value":"A"},{"text":"Behaviour","value":"B"},{"text":"Protected data members","value":"C"},{"text":"All of given","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":189571,"question":"__________, which means if A declares B as its friend it does NOT mean that A can access private data\r\nof B. It only means that B can access all data of A.","choices":[{"text":"Friendship is one way only","value":"A"},{"text":"Friendship is two way only","value":"B"},{"text":"NO Friendship between classes","value":"C"},{"text":"Any kind of friendship","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":189570,"question":"An STL container can not be used to,","choices":[{"text":"hold objects of class employee.","value":"A"},{"text":"store elements in a way that makes them quickly accessible","value":"B"},{"text":"compile c++ programs","value":"C"},{"text":"organize the way objects are stored in memory","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":189569,"question":"Encapsulation means","choices":[{"text":"Extending the behaviour of class in another class","value":"A"},{"text":"Data and behaviour are tightly coupled within an entity","value":"B"},{"text":"One entity takes all the attributes and operations of the other","value":"C"},{"text":"Taking out the common features and put those in a separate class","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":189568,"question":"The sub-object’s life is not dependant on the life of master class in __________.","choices":[{"text":"Separation","value":"A"},{"text":"Composition","value":"B"},{"text":"Aggregation","value":"C"},{"value":"D"},{"value":"E"}],"correctAnswer":3},{"id":189567,"question":"How the information hidden within an object can be accessed?","choices":[{"text":"Through its interface","value":"A"},{"text":"Through its private data members","value":"B"},{"text":"Through its private member functions","value":"C"},{"text":"Through both public and private members","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":189566,"question":"The type that is used to declare a reference or pointer is called its -------","choices":[{"text":"default type","value":"A"},{"text":"static type","value":"B"},{"text":"abstract type","value":"C"},{"text":"reference type","value":"D"},{"value":"E"}],"correctAnswer":2}]