Object Oriented Programming
Quiz No.3 solution
Please like us on http://facebook.com/vubest
Question No.1 Time :90 second Marks-1
Please chose one
1) Abstraction
3) Inheritance
4) none of the given
Answer: 2
Question No.2 Time :90 second Marks-1
Target of a _____ function call is determined at run time.
Please chose one
1) instance
3) operator
4) none of given
Answer: 2
Question No.3 Time :90 second Marks-1
Please chose one
- non-virtual member function
- virtual member function
- Both non-virtual member and virtual member function.
- None of given
Answer: 3
Question No.4 Time :90 second Marks-1
Consider the code below, class class1{ public: void func1(); }; class class2 : protected class1 { }; Function func1 of class1 is ____ in class2,
Please chose one
Please chose one
- public
- protected
- private
- none of the given options
Answer: 2
Question No.5 Time :90 second Marks-1
Consider the code below, class c1{ }; class c2 : public c1 { }; class c3 : public c2 { }; Then c2 is,
Please chose one
- Direct base class of c3
- Direct child class of c3
- Direct base class of c1
- None of these
Answer: 1
Question No.6 Time :90 second Marks-1
A template provides a convenient way to make a family of.
Please chose one
Please chose one
1) variables and data members
2) functions and classes
3) classes and exceptions
4) programs and algorithms
Answer: 2
Question No.7 Time :90 second Marks-1
Consider the code below, class c1{ }; class c2 : public c1 { }; class c3 : public c2 { }; Then c1 is,
Please chose one
- Direct base class of c3
- Direct child class of c3
- Direct base class of c2
- Direct child class of c2
Answer: 2
Question No.8 Time :90 second Marks-1
User can make virtual table explicitly.
Please chose one
- True
- False
Answer: 1
Question No.9 Time :90 second Marks-1
In type in depended function template should be use where code and behavior must be identical.
Please chose one
Please chose one
- True
- False
Answer: 1
facebook.com/vubest groups.google.com/group/vubest vubest.blogspot.com
Question No.10 Time :90 second Marks-1
Consider the code below, class class1{ protected: int i; }; class class2 : private class1 { }; Then int member i of class1 is ____ in class2,
Please chose one
Please chose one
- public
- protected
- private
- none of the given options
Answer: 2
facebook.com/vubest groups.google.com/group/vubest vubest.blogspot.com
Please like us facebook http://facebook.com/vubest for keep continue this blog!
............................................................................................................................
Join Our Groups:
http://groups.google.com/group/vubest
http://facebook.com/groups/vubest
Show your LOVE Please Like us on facebook
Click Thumbs Up
Comments
Post a Comment