[{"id":189555,"question":"A range is often supplied to an algorithm by two _______ values.","choices":[{"text":"italic","value":"A"},{"text":"iteration","value":"B"},{"text":"iterator","value":"C"},{"text":"None of given","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":189554,"question":"The specialization pattern <t*> after the name says that this specialization is to be used for every,</t*>","choices":[{"text":"data type","value":"A"},{"text":"meta type","value":"B"},{"text":"virtual type","value":"C"},{"text":"pointer type","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":189553,"question":"Function templates should be used where code and behavior must be identical.","choices":[{"text":"True","value":"A"},{"text":"False","value":"B"},{"text":"Not Sure","value":"C"},{"value":"D"},{"value":"E"}],"correctAnswer":1},{"id":189552,"question":"When we write a class template the first line must be:","choices":[{"text":"template &lt; class class_name&gt;","value":"A"},{"text":"template &lt; class data_type&gt;","value":"B"},{"text":"templete&lt; class T &gt;<div>Here T can be replaced with any name but it is preferable</div>","value":"C"},{"text":"class class-name()\r\nclass template<class_name></class_name>","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":189551,"question":"Which type of inheritance is being represented by the following statement,\r\nclass X : public A, public B { ... ... };","choices":[{"text":"Single inheritance","value":"A"},{"text":"Multiple inheritance","value":"B"},{"text":"Double inheritance","value":"C"},{"text":"None of the given options","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":189550,"question":"Which is not the Advantage of inheritance?","choices":[{"text":"avoiding the rewriting of code.","value":"A"},{"text":"providing class growth through natural selection.","value":"B"},{"text":"providing a useful conceptual framework.","value":"C"},{"text":"facilitating class libraries","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":189549,"question":"If you define a vector v with the default constructor, and define another vector w with a one-argument\r\nconstructor to a size of 11, and insert 3 elements into each of these vectors with push_back(), then\r\nthe size() member function will return ______ for v and _____ for w.","choices":[{"text":"11 for v and 3 for w.","value":"A"},{"text":"0 for v and 0 for w.","value":"B"},{"text":"0 for v and 3 for w.","value":"C"},{"text":"3 for v and 11 for w","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":189548,"question":"The copy() algorithm returns an iterator to  ","choices":[{"text":"the last element copied from","value":"A"},{"text":"the last element copied to. ","value":"B"},{"text":"the element one past the last element copied from. ","value":"C"},{"text":" the element one past the last element copied to.  ","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":189547,"question":"Non Template Friend functions of a class are friends of ________instance/s of","choices":[{"text":"All","value":"A"},{"text":"One specific","value":"B"},{"text":"All instances of one date type","value":"C"},{"text":"None of the given options","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":189546,"question":"A copy constructor is invoked when","choices":[{"text":"a function do not returns by value.","value":"A"},{"text":"an argument is passed by value","value":"B"},{"text":"a function returns by reference.","value":"C"},{"text":"an argument is passed by reference.","value":"D"},{"value":"E"}],"correctAnswer":2}]