JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MySQL interview questions part 19
MySQL interview questions part 19
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. If a class have a public member function and is called directly in the main function then ___________________________
A. –sql-mode=SKIP_SPACE
B. –sql-mode=IGNORE_SPACE
C. –sql-mode=SPACE_IGNORE
D. –sql-mode=SPACE_SKIP
Show Correct Answer
Correct Answer is :
–sql-mode=IGNORE_SPACE
2. The function main() must always be public.
A. –sql-mode=SKIP_SPACE
B. –sql-mode=IGNORE_SPACE
C. –sql-mode=SPACE_IGNORE
D. –sql-mode=SPACE_SKIP
Show Correct Answer
Correct Answer is :
–sql-mode=IGNORE_SPACE
3. All the public member functions ___________________
A. CASE
B. IF()
C. IFNULL()
D. NULLIF()
Show Correct Answer
Correct Answer is :
NULLIF()
4. In which of the following way(s) can the object be returned from a function?
A. CASE
B. IF()
C. IFNULL()
D. NULLIF()
Show Correct Answer
Correct Answer is :
NULLIF()
5. Whenever an object is returned by value ____________________
A. MATCH SOUNDS
B. CHECK SOUNDS
C. SOUNDS LIKE
D. SOUNDS SIMILAR
Show Correct Answer
Correct Answer is :
SOUNDS LIKE
6. Where the temporary objects (created while return by value) are created?
A. MATCH SOUNDS
B. CHECK SOUNDS
C. SOUNDS LIKE
D. SOUNDS SIMILAR
Show Correct Answer
Correct Answer is :
SOUNDS LIKE
7. Which is the correct syntax for returning an object by value?
A. INSERT()
B. INSTR()
C. INSTRING()
D. INFSTR()
Show Correct Answer
Correct Answer is :
INSTR()
8. Which is the correct syntax for defining a function which passes an object by reference?
A. INSERT()
B. INSTR()
C. INSTRING()
D. INFSTR()
Show Correct Answer
Correct Answer is :
INSTR()
9. If an object is declared inside the function then ____________________ outside the function
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
10. How many independent objects can be returned at same time from a function?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
11. Which error will be produced if a local object is returned by reference outside a function?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
12. If object is passed by reference ____________________
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
13. Can we return an array of objects?
A. 0
B. 1
C. -1
D. 2
Show Correct Answer
Correct Answer is :
1
14. If an object is passed by reference to a function then it must be returned by reference.
A. 0
B. 1
C. -1
D. 2
Show Correct Answer
Correct Answer is :
1
15. If an object is being returned by value then __________________________
A. select_list
B. table_list
C. row_constraint
D. grouping_columns
Show Correct Answer
Correct Answer is :
select_list
16. Why temporary object is not created in return by reference?
A. select_list
B. table_list
C. row_constraint
D. grouping_columns
Show Correct Answer
Correct Answer is :
select_list
17. Which among the following defines single level inheritance?
A. CARTESIAN JOIN
B. CROSS JOIN
C. INNER JOIN
D. RIGHT JOIN
Show Correct Answer
Correct Answer is :
RIGHT JOIN
18. If class A and class B are derived from class C and class D, then ________________
A. CARTESIAN JOIN
B. CROSS JOIN
C. INNER JOIN
D. RIGHT JOIN
Show Correct Answer
Correct Answer is :
RIGHT JOIN
19. If single inheritance is used, program will contain ________________
A. nesting
B. binding
C. subquerying
D. encapsulating
Show Correct Answer
Correct Answer is :
subquerying
20. Single level inheritance supports _____________ inheritance.
A. nesting
B. binding
C. subquerying
D. encapsulating
Show Correct Answer
Correct Answer is :
subquerying
Similar Interview Questions
Search for latest jobs
Find Jobs