MySQL interview questions part 22

MySQL interview questions part 22

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. How to declare an object of class String?

Correct Answer is : Ctrl-A

2. What does function length do in String class?

Correct Answer is : undoes last change

3. Which is the function to get the character present at a particular index in the string?

Correct Answer is : .mysql_history

4. If only one parameter is passed to substring function then __________________

Correct Answer is : TRUE

5. If two index are given as argument to substring function then ___________________

Correct Answer is : chmod +x run_me.sh

6. String class have a concat() function that is used to _____________________

Correct Answer is : mysql sampdb < exec.sql

7. The function lastIndexOf() is used to ___________________

Correct Answer is : -t

8. Function equals() is _______________ and equalIgnoreCase() is _________________

Correct Answer is : alias

9. The compareTo() function is used to ________________

Correct Answer is : TRUE

10. String class provides function toUpper() to _____________________

Correct Answer is : .my.cnf

11. String trim() function is used to _______________________

Correct Answer is : ls -la

12. Function replace() accepts _____________ arguments.

Correct Answer is : drwxrwxr-x

13. If two arguments are passed to the indexOf() function then ___________________

Correct Answer is : TRUE

14. The string class deals with string of only character type.

Correct Answer is : myisamchk

15. A template class can have _____________

Correct Answer is : 1

16. Which among the following is the proper syntax for the template class?

Correct Answer is : LAST_INSERT_ID()

17. Can default arguments be used with the template class?

Correct Answer is : 0

18. What is the syntax to use explicit class specialization?

Correct Answer is : views

19. Which is the most significant feature that arises by using template classes?

Correct Answer is : FALSE

20. A template class defines the form of a class _____________________ it will operate.

Correct Answer is : CALL

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon