

MCQOPTIONS
Saved Bookmarks
This section includes 16 Mcqs, each offering curated multiple-choice questions to sharpen your Php knowledge and support exam preparation. Choose a topic below to get started.
1. |
What will be the output of the following PHP code ?
|
A. | USA |
B. | INDIA |
C. | INDIA1 |
D. | 1 |
E. | 1USA |
Answer» F. | |
2. |
What will be the output of the following PHP code ?
|
A. | 2 |
B. | 11 |
C. | 0 |
D. | 1 |
E. | None of these |
Answer» B. 11 | |
3. |
What will be the output of the following PHP code ?
|
A. | INDIA |
B. | 1 |
C. | INDIA 1 |
D. | 0 |
E. | None of these |
Answer» C. INDIA 1 | |
4. |
What will be the output of the following PHP code ?
|
A. | INDIA |
B. | INDIA INDIA |
C. | Error |
D. | 0 |
E. | None of these |
Answer» E. None of these | |
5. |
What will be the output of the following PHP code ?
|
A. | INDIA |
B. | 0 |
C. | Error |
D. | USA |
E. | None of these |
Answer» C. Error | |
6. |
What will be the output of the following PHP code ?
|
A. | Chennai Super King |
B. | Error |
C. | Mumbai Indian |
D. | Nothing |
E. | Chennai Super King Mumbai Indian |
Answer» F. | |
7. |
What will be the output of the following PHP code ?
|
A. | Ajit |
B. | Rahul |
C. | AjitRahul |
D. | Nothing |
E. | Error |
Answer» F. | |
8. |
What will be the output of the following PHP code ?
|
A. | Error |
B. | Rahul |
C. | Ajit |
D. | Nothing |
E. | None of these |
Answer» D. Nothing | |
9. |
What will be the output of the following PHP code ?
|
A. | nothing |
B. | error |
C. | India |
D. | IndiaIndia |
E. | None of these |
Answer» C. India | |
10. |
What will be the output of the following PHP code ?
|
A. | Ajit |
B. | Error |
C. | $Name |
D. | Nothing |
E. | None of these |
Answer» D. Nothing | |
11. |
What will be the output of the following PHP code ?
|
A. | Nothing |
B. | Hello |
C. | Error |
D. | Hello Interview Mania |
E. | None of these |
Answer» D. Hello Interview Mania | |
12. |
What will be the output of the following PHP code ?
|
A. | Error |
B. | Hello Interview Mania |
C. | echo "Hello Interview Mania" |
D. | echo Hello Interview Mania |
E. | None of these |
Answer» B. Hello Interview Mania | |
13. |
What will be the output of the following PHP code ?
|
A. | Hello Interview Mania |
B. | Error |
C. | Nothing |
D. | Hello Interview Mania in italics |
E. | None of these |
Answer» E. None of these | |
14. |
What will be the output of the following PHP code ?
|
A. | Error |
B. | India |
C. | IndiaIndiaIndia |
D. | IndiaIndia |
E. | None of these |
Answer» C. IndiaIndiaIndia | |
15. |
What will be the output of the following PHP code ?
|
A. | Hello Interview Mania |
B. | Missing semicolon error |
C. | Error |
D. | Nothing |
E. | None of these |
Answer» D. Nothing | |
16. |
What will be the output of the following PHP code ?
|
A. | Nothing |
B. | Hello Interview Mania |
C. | Missing semicolon error |
D. | Error |
E. | None of these |
Answer» B. Hello Interview Mania | |