JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MySQL interview questions part 22
MySQL interview questions part 22
Back
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?
A. Ctrl-A
B. Ctrl-E
C. Ctrl-D
D. Esc-a
Show Correct Answer
Correct Answer is :
Ctrl-A
2. What does function length do in String class?
A. copies to clipboard
B. pastes from clipboard
C. undoes last change
D. deletes the current line
Show Correct Answer
Correct Answer is :
undoes last change
3. Which is the function to get the character present at a particular index in the string?
A. .mysql_queries
B. .queries
C. .mysql_history
D. .history
Show Correct Answer
Correct Answer is :
.mysql_history
4. If only one parameter is passed to substring function then __________________
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
5. If two index are given as argument to substring function then ___________________
A. chmod +e run_me.sh
B. chmod +a run_me.sh
C. chmod +y run_me.sh
D. chmod +x run_me.sh
Show Correct Answer
Correct Answer is :
chmod +x run_me.sh
6. String class have a concat() function that is used to _____________________
A. mysql exec.sql > sampdb
B. mysql sampdb < exec.sql
C. mysql exec.sql
D. mysql exec
Show Correct Answer
Correct Answer is :
mysql sampdb < exec.sql
7. The function lastIndexOf() is used to ___________________
A. -t
B. -tf
C. -p
D. -pf
Show Correct Answer
Correct Answer is :
-t
8. Function equals() is _______________ and equalIgnoreCase() is _________________
A. map
B. direct
C. label
D. alias
Show Correct Answer
Correct Answer is :
alias
9. The compareTo() function is used to ________________
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
10. String class provides function toUpper() to _____________________
A. .my.cnf
B. .my.ini
C. .my.opt
D. .my.opc
Show Correct Answer
Correct Answer is :
.my.cnf
11. String trim() function is used to _______________________
A. ls -l
B. ls -a
C. ls -la
D. ls -lu
Show Correct Answer
Correct Answer is :
ls -la
12. Function replace() accepts _____________ arguments.
A. drwxrwxr-x
B. drwxrwxr-y
C. drwyrwyr-x
D. drwyrwyr-y
Show Correct Answer
Correct Answer is :
drwxrwxr-x
13. If two arguments are passed to the indexOf() function then ___________________
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
14. The string class deals with string of only character type.
A. innochecksum
B. myisam_ftdump
C. myisamchk
D. myisamlog
Show Correct Answer
Correct Answer is :
myisamchk
15. A template class can have _____________
A. 0
B. 1
C. -1
D. 2
Show Correct Answer
Correct Answer is :
1
16. Which among the following is the proper syntax for the template class?
A. LAST_INSERT_ID()
B. LATEST_INSERT_ID()
C. INITIAL_INSERT_ID()
D. INSERT_ID()
Show Correct Answer
Correct Answer is :
LAST_INSERT_ID()
17. Can default arguments be used with the template class?
A. -1
B. 0
C. 1
D. 2
Show Correct Answer
Correct Answer is :
0
18. What is the syntax to use explicit class specialization?
A. delete
B. update
C. insert
D. views
Show Correct Answer
Correct Answer is :
views
19. Which is the most significant feature that arises by using template classes?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
20. A template class defines the form of a class _____________________ it will operate.
A. INVOKE
B. SEE
C. CALL
D. RETURN
Show Correct Answer
Correct Answer is :
CALL
Similar Interview Questions
Search for latest jobs
Find Jobs