1. While loop is a ............controlled loop.
a) count b) exit c)entry d) none of the above Ans: ( C )
2. do-while loop is a........controlled loop.
a) count b) exit c)entry d) none of the above Ans: ( B )
3. which of the following is not the member of the class ?
a)static function b) friend function c) const function d) virtual function Ans: ( C)
4.which of the following is base class ?
a) normal class b) namespace c) child class d) derived class Ans: ( A )
5. which of the following is not a type of constructor ?
a) copy constructor b) parameterised constructor c) default constructor
d) friend constructor And: ( D )
6. Assignment operator is ......
a) = b) ++ c) << d) == Ans : (A)
7. A set of Logical operators are......
a) +,-,*,/,% b) <,>,>=,<= c) &&,||, ! d) none of the above Ans:(C)
a) +,-,*,/,% b) <,>,>=,<= c) &&,||, ! d) none of the above Ans:(A)
9. A set of Relational operators are......
a) +,-,*,/,% b) <,>,>=,<= c) &&,||, ! d) none of the above Ans:(B)
10. A set of conditional operators are......
a) +,-,*,/,% b) <,>,>=,<= c) &&,||, ! d) ?: Ans:(D)
No comments:
Post a Comment