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
Get $5 added to your wallet for registering an account. Refer others and get $1 for each successful referral. Earn while you search for jobs and redeem in gift cards!Register to search from millions of jobs across the United States. Upload your resume and get matched with top employers today!
Search For Latest Jobs
Get updates when articles are posted!
Get $5 added to your
wallet for registering an account.
Refer others and get $1 for each successful referral.
Earn while you
search for jobs
and redeem in gift cards!
Register to search from millions of jobs across the United States.
Upload your resume and get matched with
top employers today!
Search For Latest Jobs
Get updates when articles are posted!
We use essential cookies to keep SnapRecruit secure and reliable. With your permission, we also use optional analytics, AI support chat, and push-alert cookies to improve your job search experience. You can change or withdraw your choice anytime.
Privacy Policy •
Cookie Policy •
Your Privacy Rights