JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MySQL interview questions part 51
MySQL interview questions part 51
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which one of the following statements can be used to establish port 80 connection with www.nachi.com?
A. 0
B. 1
C. 2
D. 3
Show Correct Answer
Correct Answer is :
1
2. Which one of the following function is used to send an email using PHP script?
A. 0
B. 1
C. 2
D. 3
Show Correct Answer
Correct Answer is :
0
3. How many configuration directives pertinent to PHP’s mail function are available?
A. PI()
B. sampdb.PI()
C. MySQL.PI()
D. db.PI()
Show Correct Answer
Correct Answer is :
sampdb.PI()
4. Which of the following statements is used to add an attachment to the mail?
A. CREATE ROUTINE
B. CREATE METHOD
C. CREATE FUNCTION
D. CREATE PROCEDURE
Show Correct Answer
Correct Answer is :
CREATE ROUTINE
5. Which version of PHP introduced the static keyword?
A. automatic_sp_privileges
B. automatic_ps_privileges
C. automatic_pg_privileges
D. automatic_gp_privileges
Show Correct Answer
Correct Answer is :
automatic_sp_privileges
6. Which keyword is used to access a static method or property from within the same class(rather than from child)?
A. IN
B. OUT
C. INOUT
D. GETINOUT
Show Correct Answer
Correct Answer is :
INOUT
7. In which of the following circumstance should you use a static reference to a non static method?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
8. Which one of the following variable cannot be used inside a static method?
A. deterministic
B. non deterministic
C. regular
D. monotonous
Show Correct Answer
Correct Answer is :
deterministic
9. What does PDO stand for?
A. action
B. condition value
C. statement
D.
Show Correct Answer
Correct Answer is :
action
10. Which version of PHP allows you to define constant properties within a class?
A. 0
B. 127
C. 1023
D. 65535
Show Correct Answer
Correct Answer is :
65535
11. Which keyword is used to declare a constant property?
A. 1
B. 3
C. 5
D. 8
Show Correct Answer
Correct Answer is :
5
12. Which one of the following is a constant variable?
A. PAD_CHAR_TO_FULL_LENGTH
B. TO_FULL_LENGTH_CHAR_PAD
C. CHAR_PAD_TO_FULL_LENGTH
D. PAD_CHAR_TO_LENGTH
Show Correct Answer
Correct Answer is :
PAD_CHAR_TO_FULL_LENGTH
13. What will happen if you try to set a value to a constant once it has been declared?
A. -256
B. -128
C. 0
D. 128
Show Correct Answer
Correct Answer is :
-128
14. How many of the following can be contained in constants? i) boolean ii) integer iii) float iv) string
A. –multiple-transaction
B. –single-transaction
C. –double-transaction
D. –no-transaction
Show Correct Answer
Correct Answer is :
–single-transaction
15. Which one of the following class can not be instantiated?
A. mysqldump
B. mysqld
C. mysqlimport
D. mysqlnaive
Show Correct Answer
Correct Answer is :
mysqlimport
16. Which one of the following keywords is used to define an abstract class?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
17. Which one of the following is the correct abstract method?
A. Statement based
B. Row based
C. Column based
D. Table based
Show Correct Answer
Correct Answer is :
Statement based
18. At least how many abstract methods must an abstract class contain?
A. my_global.h
B. my_sys.h
C. mysql.h
D. my_local.h
Show Correct Answer
Correct Answer is :
my_sys.h
19. Which one of the following keyword is used to implement an interface?
A. my_global.h
B. my_sys.h
C. mysql.h
D. my_local.h
Show Correct Answer
Correct Answer is :
my_global.h
20. Which version of PHP introduced the concept called late static binding?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
Similar Interview Questions
Search for latest jobs
Find Jobs