JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MySQL interview questions part 47
MySQL interview questions part 47
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. What will be the output of the following PHP code ?
A. reject them
B. accept them
C. change them to the closest legal value and accept
D. change them to the closest legal value and reject
Show Correct Answer
Correct Answer is :
reject them
2. What will be the output of the following PHP code ?
A. ANSI_DQ
B. ANSI_QUOTES
C. ANSI_RECG_QUOTES
D. ANSI_RECG_DQUOTES
Show Correct Answer
Correct Answer is :
ANSI_QUOTES
3. What will be the output of the following PHP code ?
A. PIPES_AS_CONCAT
B. ORS_AS_CONCAT
C. DOUBLE_PIPE_AS_CONCAT
D. LOGIC_OR_AS_CONCAT
Show Correct Answer
Correct Answer is :
PIPES_AS_CONCAT
4. What will be the output of the following PHP code ?
A. COMPOSITE
B. COMPOSITE_MODE
C. COMPOSITE_SERVER
D. ANSI
Show Correct Answer
Correct Answer is :
ANSI
5. Which two predefined variables are used to retrieve information from forms?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
6. The attack which involves the insertion of malicious code into a page frequented by other users is known as..
A. –sqlmode=’TRADITIONAL’
B. –sql_mode=’TRADITIONAL’
C. –sql-mode=’TRADITIONAL’
D. –sql.mode=’TRADITIONAL’
Show Correct Answer
Correct Answer is :
–sql-mode=’TRADITIONAL’
7. When you use the $_GET variable to collect data, the data is visible to..
A. SPECIFY
B. SET
C. ASSIGN
D. CHANGE
Show Correct Answer
Correct Answer is :
SET
8. When you use the $_POST variable to collect data, the data is visible to..
A. SPECIFY
B. SET
C. ASSIGN
D. CHANGE
Show Correct Answer
Correct Answer is :
SET
9. Which variable is used to collect form data sent with both the GET and POST methods?
A. empty value
B. zero
C. a negative value
D. a garbage value
Show Correct Answer
Correct Answer is :
empty value
10. Which one of the following should not be used while sending passwords or other sensitive information?
A. error_count
B. big_tables
C. autocommit
D. foreign_key_checks
Show Correct Answer
Correct Answer is :
error_count
11. Which function is used to remove all HTML tags from a string passed to a form?
A. error_count
B. identity
C. foreign_key_checks
D. autocommit
Show Correct Answer
Correct Answer is :
foreign_key_checks
12. What will be the value of the variable $input in the following PHP code? Lawrenceyou are really
pretty
!"; $input = strip_tags($input,"
"); ?>
A. insert_id
B. identity
C. sql_auto_is_null
D. sql_big_selects
Show Correct Answer
Correct Answer is :
identity
13. To validate an email address, which flag is to be passed to the function filter_var()?
A. INSERT()
B. INSTR()
C. INSTRING()
D. INFSTR()
Show Correct Answer
Correct Answer is :
INSTR()
14. How many validation filters like FILTER_VALIDATE_EMAIL are currently available?
A. libmysqla
B. libmysqlb
C. libmysqlc
D. libmysqld
Show Correct Answer
Correct Answer is :
libmysqld
15. What will be the output of the following PHP code?
A. –with-embedded-server
B. –with-server-embedded
C. –with-embedded-library
D. –with-library-embedded
Show Correct Answer
Correct Answer is :
–with-embedded-server
16. What will be the output of the following PHP code ?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
17. What will be the output of the following PHP code ?
A. 0
B. 1
C. 2
D. 3
Show Correct Answer
Correct Answer is :
2
18. What will be the output of the following PHP code ? = 0) print "true"; else print "false"; ?>
A. 0
B. 1
C. 2
D. 3
Show Correct Answer
Correct Answer is :
1
19. What will be the output of the following PHP code ?
A. mysql_error()
B. mysql_errno()
C. mysql_sqlstate()
D. mysql_close()
Show Correct Answer
Correct Answer is :
mysql_error()
20. What will be the output of the following PHP code ?
A. slave.info
B. slave.inf
C. master.info
D. master.inf
Show Correct Answer
Correct Answer is :
master.info
Similar Interview Questions
Search for latest jobs
Find Jobs