MySQL interview questions part 47

MySQL interview questions part 47

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 ?

Correct Answer is : reject them

2. What will be the output of the following PHP code ?

Correct Answer is : ANSI_QUOTES

3. What will be the output of the following PHP code ?

Correct Answer is : PIPES_AS_CONCAT

4. What will be the output of the following PHP code ?

Correct Answer is : ANSI

5. Which two predefined variables are used to retrieve information from forms?

Correct Answer is : FALSE

6. The attack which involves the insertion of malicious code into a page frequented by other users is known as..

Correct Answer is : –sql-mode=’TRADITIONAL’

7. When you use the $_GET variable to collect data, the data is visible to..

Correct Answer is : SET

8. When you use the $_POST variable to collect data, the data is visible to..

Correct Answer is : SET

9. Which variable is used to collect form data sent with both the GET and POST methods?

Correct Answer is : empty value

10. Which one of the following should not be used while sending passwords or other sensitive information?

Correct Answer is : error_count

11. Which function is used to remove all HTML tags from a string passed to a form?

Correct Answer is : foreign_key_checks

12. What will be the value of the variable $input in the following PHP code? Lawrenceyou are reallypretty!"; $input = strip_tags($input,""); ?>

Correct Answer is : identity

13. To validate an email address, which flag is to be passed to the function filter_var()?

Correct Answer is : INSTR()

14. How many validation filters like FILTER_VALIDATE_EMAIL are currently available?

Correct Answer is : libmysqld

15. What will be the output of the following PHP code?

Correct Answer is : –with-embedded-server

16. What will be the output of the following PHP code ?

Correct Answer is : FALSE

17. What will be the output of the following PHP code ?

Correct Answer is : 2

18. What will be the output of the following PHP code ? = 0) print "true"; else print "false"; ?>

Correct Answer is : 1

19. What will be the output of the following PHP code ?

Correct Answer is : mysql_error()

20. What will be the output of the following PHP code ?

Correct Answer is : master.info

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon