MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Mysql Database
Advanced Mysql
Quiz 1
1
2
3
4
5
6
7
8
9
10
Q.1
How many of the following use NULL to indicate failure? mysql_init(), mysql_real_connect()
a) 0
b) 1
c) 2
d) 3
Q.2
How many of the following does not return a value? mysql_close(), mysql_init, mysql_real_connect
a) 0
b) 1
c) 2
d) 3
Q.3
Which of these returns a string containing an error message?
a) mysql_error()
b) mysql_errno()
c) mysql_sqlstate()
d) mysql_close()
Q.4
Which of the following returns a MySQL-specific numeric code?
a) mysql_error()
b) mysql_errno()
c) mysql_sqlstate()
d) mysql_close()
Q.5
Which of the following returns an SQLSTATE code?
a) mysql_error()
b) mysql_errno()
c) mysql_sqlstate()
d) mysql_close()
Q.6
The argument to the function mysql_error() is _______________
a) integer
b) float
c) structure
d) pointer
Q.7
What does mysql_real_connect() return if it fails?
a) integer
b) float
c) structure
d) NULL
Q.8
The function load_defaults() reads the option files.
a) True
b) False
Q.9
The –protocol value ‘TCP’ runs on which operating systems?
a) unix only
b) windows only
c) all
d) none
Q.10
All API calls return a value.
a) True
b) False
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page