[{"id":190381,"question":"UNIX has been developed in ________ language","choices":[{"text":"JAVA","value":"A"},{"text":"B","value":"B"},{"text":"C","value":"C"},{"text":"FORTRAN","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":190380,"question":"The return type of a function that do not return any value must be ________.","choices":[{"text":"float","value":"A"},{"text":"int","value":"B"},{"text":"void","value":"C"},{"text":"double","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":190379,"question":"If there is more than one statement in the block of a for loop, which of the following must be placed at the beginning and the ending of the loop block?","choices":[{"text":"parentheses ( )","value":"A"},{"text":"braces { }","value":"B"},{"text":"brackets [ ]","value":"C"},{"text":"arrows &lt; &gt;","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190378,"question":"If it is required to copy an array to another array then.","choices":[{"text":"Both arrays must be of the same size and data type","value":"A"},{"text":"Both arrays may be of different size","value":"B"},{"text":"Both arrays may be of different data type","value":"C"},{"text":"Both arrays may be of different size and type","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":190377,"question":"New and Delete are also used with ___________ and data types as well.","choices":[{"text":"Class, Objects","value":"A"},{"text":"Structures, Pointers","value":"B"},{"text":"Both Class and structures","value":"C"},{"text":"None of above","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":190376,"question":"When an object of a class is defined inside another class then,","choices":[{"text":"Destructor of enclosing class will be called first","value":"A"},{"text":"Destructor of inner object will be called first","value":"B"},{"text":"Constructor and Destructor will be called simultaneously","value":"C"},{"text":"None of the given options","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190375,"question":"New operator is used to allocate memory from the free store during","choices":[{"text":"Compile Time","value":"A"},{"text":"Run Time","value":"B"},{"text":"Link Time","value":"C"},{"text":"None of the given options","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190374,"question":"What purpose do classes serve?","choices":[{"text":"Data encapsulation","value":"A"},{"text":"Providing a convenient way of modeling real-world objects","value":"B"},{"text":"Simplifying code reuse","value":"C"},{"text":"All of the given options","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":190373,"question":"The default value of a parameter can be provided inside the ________________","choices":[{"text":"function prototype","value":"A"},{"text":"function definition","value":"B"},{"text":"both function prototype or function definition","value":"C"},{"text":"none of the given options","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":190372,"question":"If there is a symbol (&amp; sign) used with the variable name followed by data type then it refers to _____ and if &amp; is being used with variable name then it refers to _____.","choices":[{"text":"Address of variable, reference variable","value":"A"},{"text":"Reference variable, value of variable","value":"B"},{"text":"Reference variable, address of variable","value":"C"},{"text":"Address of variable, value of variable","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":190371,"question":"What will be the correct syntax to access the value of fourth element of an array using pointer ptr?","choices":[{"text":"ptr[3]","value":"A"},{"text":"(ptr+3)","value":"B"},{"text":"*(ptr+3)","value":"C"},{"text":"Both 1and 3","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":190370,"question":"What will be the correct syntax to assign an array named arr of 5 elements to a pointer ptr?","choices":[{"text":"*ptr = arr ;","value":"A"},{"text":"ptr = arr ;","value":"B"},{"text":"*ptr = arr[5] ;","value":"C"},{"text":"ptr = arr[5] ;","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":190369,"question":"Overloaded new operator function takes parameter of type size_t and returns","choices":[{"text":"void (nothing)","value":"A"},{"text":"void pointer","value":"B"},{"text":"object pointer","value":"C"},{"text":"int pointer","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190368,"question":"The statement cin.get (); is used to,","choices":[{"text":"Read a string from keyboard","value":"A"},{"text":"Read a character from keyboard","value":"B"},{"text":"Read a string from file","value":"C"},{"text":"Read a character from file","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190367,"question":"What does (*this) represents?","choices":[{"text":"The current function of the class","value":"A"},{"text":"The current pointer of the class","value":"B"},{"text":"The current object of the class","value":"C"},{"text":"A value of the data member","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":190366,"question":"*.doc is _____________ by type.","choices":[{"text":"Sequential File","value":"A"},{"text":"Random Access File","value":"B"},{"text":"Data File","value":"C"},{"text":"Record File","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190365,"question":"Memory allocated at run time is a system resource and it is the responsibility of _____ to de-allocate the memory.","choices":[{"text":"System","value":"A"},{"text":"Programmer","value":"B"},{"text":"User of program","value":"C"},{"text":"None of given options","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":190364,"question":"The code is written to __________ the program.","choices":[{"text":"implement","value":"A"},{"text":"design","value":"B"},{"text":"analysis","value":"C"},{"text":"none of the given options","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":190363,"question":"The return type of the operator function for &lt;&lt; operator is __________.","choices":[{"text":"class for which we overload operator","value":"A"},{"text":"reference of ostream class (ostream&amp;)","value":"B"},{"text":"reference of istream class (istream&amp;)","value":"C"},{"text":"void","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":190362,"question":"If text is a pointer of class String then what is meant by the following statement? text = new String [5];","choices":[{"text":"Creates an array of 5 string objects statically","value":"A"},{"text":"creates an array of 5 string objects dynamically","value":"B"},{"text":"Creates an array of pointers to string","value":"C"},{"text":"Creates a string Object","value":"D"},{"value":"E"}],"correctAnswer":2}]