Skip to main content

MySQL interview questions part 44

MySQL interview questions part 44

Take as many assessments as you can to improve and validate your skill rating

Total Questions: 19

1. What will be the output of the following PHP code ? 0; $i--) print $i;}?>

A. relay log index
B. relay log
C. binary log
D. error log
Correct Answer is : relay log index

2. What will be the output of the following PHP code ? $i; $i--) print $i;}?>

A. 0
B. 1
C. 2
D. 3
Correct Answer is : 2

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

A. 1
B. 2
C. 3
D. 4
Correct Answer is : 3

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

A. 1
B. 2
C. 3
D. variable
Correct Answer is : variable

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

A. FLOAT
B. INT
C. DOUBLE
D. BIT
Correct Answer is : DOUBLE

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

A. Stored program
B. Events
C. Triggers
D. Stored procedures
Correct Answer is : Events

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

A. TRUE
B. FALSE
C.
D.
Correct Answer is : FALSE

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

A. :
B. .
C. ;
D. ,
Correct Answer is : ;

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

A. writes
B. reads
C. same priority
D. machine dependent
Correct Answer is : writes

10. Which one of the following is the right way of defining a function in PHP?

A. 0
B. 1
C. 2
D. 3
Correct Answer is : 3

11. Type Hinting was introduced in which version of PHP?

A. ISSUE LOCK
B. LOCK ISSUE
C. LOCK TABLES
D. ISSUE LOCKS
Correct Answer is : LOCK TABLES

12. What will happen in this function call?

A. TRUE
B. FALSE
C.
D.
Correct Answer is : TRUE

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

A. 1
B. 2
C. 3
D. 4
Correct Answer is : 4

14. Which of the following are valid function names? i) function() ii) €() iii) .function() iv) $function()

A. 0
B. 1
C. 2
D. 3
Correct Answer is : 3

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

A. 1
B. 2
C. 3
D. 4
Correct Answer is : 4

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

A. MyISAM
B. InnoDB
C. MEMORY
D. MERGE
Correct Answer is : InnoDB

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

A. TRUE
B. FALSE
C.
D.
Correct Answer is : FALSE

18. A function in PHP which starts with __ (double underscore) is know as..

A. MyISAM
B. InnoDB
C. MEMORY
D. MERGE
Correct Answer is : InnoDB

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

A. 0
B. 1
C. 2
D. 3
Correct Answer is : 3

Similar Interview Questions

    Search for latest jobs

    Job title
    Location