Last modified on April 27th, 2021
Multiple Choice Questions
Q1. logA B =…….?
a=log A + log B ;
b=log A − log B
c=XAXB = XA+B
Q2. we can convert temperatures from Fahrenheit to Celsius by applying the formula ……
a=IntCell temporary = 37;
b=printDigit( n % 10 );
c=C = 5(F − 32)/9
d=None of these
Q3. Encapsulation is …….?
a= Member functions
Q4. A function is being passed by placing it inside an object. This object is commonly known as a ……….
a=Function of all operator
Q.5. In C++, there are several different mechanisms for returning from a function. The most
straightforward mechanism to use is …….
a=Call by value
b=Call by value
c=Return by reference
d=Return by value
Q6.Many languages, C and Java included, pass all parameters using ……..
a=Call by reference
b=Call by Value
c=Return by value
d=Return by reference
Q7. Reference variables are often used to avoid copying objects across ……..
Q.8An …… is an expression that identifies a non-temporary object.
Q.9 An …….. is an expression that identifies a temporary object or is a value (such as a literal constant) not associated with any object.
Q10. Assignment and comparison of pointer variables in C++ is based on the value of the ……..
- What Is AssignCode and How Can It Help With Java Assignment? - May 27, 2021
- How to write a resume for a job search: Tips for applicants - May 11, 2021
- The Best Tool to Test the Speed of Your Internet - May 5, 2021