Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Member functions _____________________
Correct Answer is : qualification not necessary
2. All type of member functions can’t be used inside a single class.
Correct Answer is : table name
3. Which keyword is used to define the static member functions?
Correct Answer is : TRUE
4. Which keyword is used to define the inline member function?
Correct Answer is : column name
5. What is upcasting?
Correct Answer is : table name
6. Which among the following is true for upcasting in inheritance?
Correct Answer is : TRUE
7. Which among the following is safe?
Correct Answer is : updated val1
8. Which among the following is best situation to use upcasting?
Correct Answer is : Data Manipulation Language
9. Which property is shown most when upcasting is used?
Correct Answer is : SET
10. Upcasting and downcasting objects is same as casting primitive types.
Correct Answer is : TRUNCATE
11. Which casting among the following is allowed for the code given below?
class A
{
public :int a;
}
class B:public A
{
int b;
}
main()
{
B b=new A(); //casting 1
A a=new B(); //casting 2
}
Correct Answer is : mysqld
12. If multiple inheritance is implemented, which upcasting will be correct?
Correct Answer is : 1
13. If class C inherits class B and class B inherits class A ________________
Correct Answer is : TRUE
14. Upcasting is _____________________ without an explicit type cast.
Correct Answer is : mysqlhotcopy
15. Which concept is needed because of implicit type casting use?
Correct Answer is : EXPLAIN
16. When are the pointer types known for upcasting the objects?
Correct Answer is : ANALYZE TABLE
17. When are the object type known for upcasting the objects?
Correct Answer is : INET_NTOA()
18. If two classes are defined “Parent” and “Child” then which is the correct type upcast syntax in C++?
Correct Answer is : INET_ATON()
19. Virtual function is ______ class function which expected to be redefined in ______ class, so that when reference is made to derived class object using pointer then we can call virtual function to execute ________ class definition version.
Correct Answer is : LOAD DATA
20. What does a virtual function ensure for an object, among the following?