

MCQOPTIONS
Saved Bookmarks
This section includes 57 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. | Welcome to the Interview Mania |
B. | Error |
C. | Nothing |
D. | _message |
E. | None of these |
Answer» B. Error | |
2. |
What will be the output of the following PHP code ?
|
A. | Error |
B. | 45 |
C. | 26 |
D. | 71 |
E. | None of these |
Answer» E. None of these | |
3. |
What will be the output of the following PHP code ?
|
A. | Error |
B. | Hello |
C. | Interview Mania |
D. | Hello Interview Mania |
E. | None of these |
Answer» B. Hello | |
4. |
What will be the output of the following PHP code ?
|
A. | Error |
B. | True |
C. | Nothing |
D. | False |
E. | None of these |
Answer» E. None of these | |
5. |
What will be the output of the following PHP code ?
|
A. | favourite fun time is |
B. | Inside block executed... |
C. | Outside block executed... |
D. | Error |
E. | None of these |
Answer» D. Error | |
6. |
What will be the output of the following PHP code ?
|
A. | Condition 3rd executed.... |
B. | Condition 7th executed.... |
C. | Condition 8th executed.... |
D. | Condition 19th executed.... |
E. | None of these |
Answer» C. Condition 8th executed.... | |
7. |
What will be the output of the following PHP code ?
|
A. | This is my favourite show Naagin. |
B. | This is my favourite show CID. |
C. | This is my favourite show Big Boss. |
D. | Error |
E. | None of these |
Answer» D. Error | |
8. |
What will be the output of the following PHP code ?
|
A. | Important |
B. | This is |
C. | Error |
D. | This is Important |
E. | None of these |
Answer» D. This is Important | |
9. |
What will be the output of the following PHP code ?
|
A. | 12 |
B. | 6 |
C. | 18 |
D. | $d |
E. | None of these |
Answer» E. None of these | |
10. |
What will be the output of the following PHP code ?
|
A. | 5 |
B. | 7 |
C. | 12 |
D. | Error |
E. | None of these |
Answer» D. Error | |
11. |
What will be the output of the following PHP code ?
|
A. | MESSAGE, Welcome to Interview Mania |
B. | Error |
C. | Welcome to Interview Mania |
D. | Nothing |
E. | None of these |
Answer» C. Welcome to Interview Mania | |
12. |
What will be the output of the following PHP code ?
|
A. | Time Pass |
B. | Error |
C. | Towe Pa55 |
D. | Nothing |
E. | None of these |
Answer» B. Error | |
13. |
What will be the output of the following PHP code ?
|
A. | Returned value : 60 |
B. | Returned value : 15 |
C. | Returned value : 45 |
D. | Error |
E. | None of these |
Answer» B. Returned value : 15 | |
14. |
What will be the output of the following PHP code ?
|
A. | 12 |
B. | 25 |
C. | Error |
D. | 37 |
E. | None of these |
Answer» D. 37 | |
15. |
What will be the output of the following PHP code ?
|
A. | 22 |
B. | 23 |
C. | Error |
D. | 506 |
E. | None of these |
Answer» E. None of these | |
16. |
What will be the output of the following PHP code ?
|
A. | Nothing |
B. | 120 |
C. | Error |
D. | 20 |
E. | None of these |
Answer» B. 120 | |
17. |
What will be the output of the following PHP code ?
|
A. | Error |
B. | Inside block executed... |
C. | Outside block executed... |
D. | Interview Mania |
E. | None of these |
Answer» B. Inside block executed... | |
18. |
What will be the output of the following PHP code ?
|
A. | Interview@Mania.com |
B. | Error |
C. | Nothing |
D. | @Mania.com |
E. | None of these |
Answer» E. None of these | |
19. |
What will be the output of the following PHP code ?
|
A. | this Is Important... |
B. | this is important... |
C. | Error |
D. | Nothing |
E. | None of these |
Answer» B. this is important... | |
20. |
What will be the output of the following PHP code ?
|
A. | my favourite fun time is |
B. | Nothing |
C. | to spend with friends |
D. | Error |
E. | my favourite fun time is to spend with friends |
Answer» E. my favourite fun time is to spend with friends | |
21. |
What will be the output of the following PHP code ?
|
A. | Interview |
B. | Mania |
C. | view Mania! |
D. | Error |
E. | None of these |
Answer» D. Error | |
22. |
What will be the output of the following PHP code ?
|
A. | Error |
B. | Time To Do A Great Job. |
C. | time to do a great job. |
D. | Nothing |
E. | None of these |
Answer» C. time to do a great job. | |
23. |
What will be the output of the following PHP code ?
|
A. | Case 10 will execute. |
B. | Case 20 will execute. |
C. | Case 30 will execute. |
D. | Case 40 will execute. |
E. | Default will execute. |
Answer» C. Case 30 will execute. | |
24. |
What will be the output of the following PHP code?
|
A. | 160 |
B. | 0 |
C. | Erro |
D. | 80 |
E. | None of these |
Answer» E. None of these | |
25. |
What will happen in this function call?
|
A. | Call By Reference |
B. | Type Hinting |
C. | Call By Value |
D. | Default Argument Value |
E. | None of these |
Answer» D. Default Argument Value | |
26. |
What will be the output of the following PHP code?
|
A. | Error |
B. | I am Ajit. |
C. | I am Rahul. |
D. | I am Rahul. I am Ajit. |
E. | None of these |
Answer» B. I am Ajit. | |
27. |
What will be the output of the following PHP code?
|
A. | Error |
B. | Mania |
C. | Interview |
D. | Interview Mania |
E. | None of these |
Answer» D. Interview Mania | |
28. |
What will be the output of the following PHP code?
|
A. | I am Rahul. |
B. | I am Ajit. |
C. | I am Rahul. I am Ajit. |
D. | Error |
E. | None of these |
Answer» D. Error | |
29. |
What will be the output of the following PHP code?
|
A. | Welcome to interview mania! |
B. | GREETING Welcome to interview mania! |
C. | Error |
D. | Nothing |
E. | None of these |
Answer» B. GREETING Welcome to interview mania! | |
30. |
What will be the output of the following PHP code?
|
A. | I know the php, I love to know the php too! |
B. | Error |
C. | 2 |
D. | 7 |
E. | None of these |
Answer» D. 7 | |
31. |
What will be the output of the following PHP code?
|
A. | 7 |
B. | 5 |
C. | 3 |
D. | 1 |
E. | None of these |
Answer» B. 5 | |
32. |
What will be the output of the following PHP code?
|
A. | 61 |
B. | 62 |
C. | 63 |
D. | 64 |
E. | 65 |
Answer» F. | |
33. |
What will be the output of the following PHP code?
|
A. | 51 |
B. | 15 |
C. | 3 |
D. | Error |
E. | None of these |
Answer» D. Error | |
34. |
What will be the output of the following PHP code?
|
A. | 81 |
B. | 82 |
C. | 83 |
D. | 84 |
E. | 85 |
Answer» C. 83 | |
35. |
What will be the output of the following PHP code?
|
A. | Error |
B. | 0.54041950027058 |
C. | Nothing |
D. | 0.6021356432146 |
E. | None of these |
Answer» C. Nothing | |
36. |
What will be the output of the following PHP code?
|
A. | Error |
B. | Welcome |
C. | Hey |
D. | Nothing |
E. | None of these |
Answer» C. Hey | |
37. |
What will be the output of the following PHP code?
|
A. | Nothing |
B. | Error |
C. | M |
D. | N |
E. | None of these |
Answer» C. M | |
38. |
What will be the output of the following PHP code?
|
A. | Hello Interview Mania. It's a knowledgeable website. |
B. | Error |
C. | None of these |
Answer» B. Error | |
39. |
What will be the output of the following PHP code?
|
A. | Nothing |
B. | Error |
C. | 56 |
D. | 65 |
E. | None of these |
Answer» E. None of these | |
40. |
What will be the output of the following PHP code?
|
A. | Hilla Interview Mania |
B. | Error |
C. | Nothing |
D. | Hello Interveew Moneo |
E. | None of these |
Answer» E. None of these | |
41. |
What will be the output of the following PHP code?
|
A. | Interview |
B. | Interview Mania |
C. | Error |
D. | Mania |
E. | None of these |
Answer» C. Error | |
42. |
What will be the output of the following PHP code?
|
A. | how are "you" doing? |
B. | how are you doing? |
C. | how are "you " doing? |
D. | Error |
E. | None of these |
Answer» D. Error | |
43. |
What will be the output of the following PHP code?
|
A. | good |
B. | Error |
C. | 23 |
D. | Nothing |
E. | None of these |
Answer» D. Nothing | |
44. |
What will be the output of the following PHP code?
|
A. | Hello |
B. | Interview |
C. | Mania |
D. | Hello Interview Mania |
E. | None of these |
Answer» D. Hello Interview Mania | |
45. |
What will be the output of the following PHP code?
|
A. | Interview Mania! |
B. | Error |
C. | i love interview mania! |
D. | Nothing |
E. | I Love Interview Mania! |
Answer» F. | |
46. |
What will be the output of the following PHP code?
|
A. | Returned value : 120 |
B. | Returned value : 50 |
C. | Returned value : 70 |
D. | Error |
E. | None of these |
Answer» B. Returned value : 50 | |
47. |
What will be the output of the following PHP code?
|
A. | Error |
B. | this is an important. |
C. | Nothing |
D. | This Is An Important. |
E. | None of these |
Answer» E. None of these | |
48. |
What will be the output of the following PHP code?
|
A. | This theory is good. |
B. | Error |
C. | Nothing |
D. | This theory is good. |
E. | None of these |
Answer» B. Error | |
49. |
What will be the output of the following PHP code?
|
A. | Error |
B. | Interview Mania Founded By Manjesh Ojha |
C. | interview mania founded by manjesh ojha |
D. | Nothing |
E. | None of these |
Answer» C. interview mania founded by manjesh ojha | |
50. |
What will be the output of the following PHP code?
|
A. | Error |
B. | Interview mania is awesome! |
C. | const, Interview mania is awesome! |
D. | Nothing |
E. | None of these |
Answer» C. const, Interview mania is awesome! | |