MySQL interview questions part 39

MySQL interview questions part 39

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 code?

Correct Answer is : CREATE FUNCTION

2. Which of the following PHP statements will output Hello World on the screen? i) echo (“Hello World”); ii) print (“Hello World”); iii) printf (“Hello World”); iv) sprintf (“Hello World”);

Correct Answer is : 1

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

Correct Answer is : CREATE TRIGGER

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

Correct Answer is : INSERT INTO

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

Correct Answer is : No

6. Which of the below statements is equivalent to $add += $add ?

Correct Answer is : Table name

7. Which statement will output $x on the screen?

Correct Answer is : Super key

8. What will be the output of the following code?

Correct Answer is : ALTER

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

Correct Answer is : AUTO_INCREMENT

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

Correct Answer is : ALTER TABLE person MODIFY person_id SMALLINT UNSIGNED AUTO_INCREMENT;

11. Which of the below symbols is a newline character?

Correct Answer is : Error

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

Correct Answer is : No Error

13. Which of the conditional statements is/are supported by PHP? i) if statements ii) if-else statements iii) if-elseif statements iv) switch statements

Correct Answer is :

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

Correct Answer is : SELECT

15. Which of the looping statements is/are supported by PHP? i) for loop ii) while loop iii) do-while loop iv) foreach loop

Correct Answer is : Table name

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

Correct Answer is : Retrieve all data from the table

17. If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed?

Correct Answer is : WHERE

18. What is the value of $a and $b after the function call?

Correct Answer is : Primary Key or any other Attribute

19. Who is the father of PHP?

Correct Answer is : ORDER by CLAUSE

20. What will be the output of the following PHP code ? "echo GREETING;?>

Correct Answer is : FROM

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon