MCQOPTIONS
Saved Bookmarks
This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
*/*_What will be the output of the following PHP code ?? |
| A. | 210 |
| B. | 10 |
| C. | no output |
| D. | infinite loop |
| Answer» E. | |
| 2. |
*/*_What will be the output of the following PHP code ?? |
| A. | -3-4-5 |
| B. | -3-4 |
| C. | infinite loop |
| D. | no output |
| Answer» E. | |
| 3. |
*/*_What will be the output of the following PHP code ?? |
| A. | Infinite |
| B. | 123…….20 |
| C. | 1357…19 |
| D. | 13579…21 |
| Answer» B. 123‚Äö√Ѭ∂‚Äö√Ѭ∂.20 | |
| 4. |
*/*_What will be the output of the following PHP code ?? |
| A. | error |
| B. | 2 |
| C. | hi |
| D. | how are u |
| Answer» C. hi | |
| 5. |
*/*_What will be the output of the following PHP code ?? |
| A. | how are u |
| B. | hi |
| C. | error |
| D. | no output |
| Answer» C. error | |
| 6. |
*/*_What will be the output of the following PHP code ?? |
| A. | hihellohi1 |
| B. | hello |
| C. | hihi1 |
| D. | hi1 |
| Answer» C. hihi1 | |
| 7. |
*/*_What will be the output of the following PHP code ?? |
| A. | hi |
| B. | hihellohi |
| C. | hihi |
| D. | no output |
| Answer» B. hihellohi | |
| 8. |
*/*_What will be the output of the following PHP code ?? |
| A. | hi |
| B. | hello |
| C. | error |
| D. | no output |
| Answer» C. error | |
| 9. |
*/*_What will be the output of the following PHP code ?? |
| A. | infinite loop |
| B. | hihello |
| C. | hello |
| D. | error |
| Answer» C. hello | |
| 10. |
*/*_What will be the output of the following PHP code ?? |
| A. | error |
| B. | hi |
| C. | hihello |
| D. | hello |
| Answer» B. hi | |
| 11. |
%_What will be the output of the following PHP code ?_% |
| A. | 0 |
| B. | infinite loop |
| C. | -1 |
| D. | 1 |
| Answer» D. 1 | |
| 12. |
%_What will be the output of the following PHP code ?_% |
| A. | iiiii |
| B. | infinite loop |
| C. | iiiiiiiiiiiiiiiiiiiiiiiii |
| D. | no output |
| Answer» B. infinite loop | |
| 13. |
_ What will be the output of the following PHP code ?$? |
| A. | error |
| B. | hi |
| C. | hihello |
| D. | hello |
| Answer» B. hi | |
| 14. |
_ What will be the output of the following PHP code ?$? |
| A. | infinite loop |
| B. | hihello |
| C. | hello |
| D. | error |
| Answer» C. hello | |
| 15. |
_ What will be the output of the following PHP code ?$? |
| A. | hihellohi1 |
| B. | hello |
| C. | hihi1 |
| D. | hi1 |
| Answer» C. hihi1 | |
| 16. |
_ What will be the output of the following PHP code ?$? |
| A. | error |
| B. | 2 |
| C. | hi |
| D. | how are u |
| Answer» C. hi | |
| 17. |
_ What will be the output of the following PHP code ?$? |
| A. | hi |
| B. | hihellohi |
| C. | hihi |
| D. | no output |
| Answer» B. hihellohi | |
| 18. |
_ What will be the output of the following PHP code ?$? |
| A. | all |
| B. | some |
| C. | error |
| D. | no output |
| Answer» D. no output | |
| 19. |
_ What will be the output of the following PHP code ?$? |
| A. | true |
| B. | false |
| C. | error |
| D. | no output |
| Answer» E. | |
| 20. |
_ What will be the output of the following PHP code ?$? |
| A. | Infinite |
| B. | 123…….20 |
| C. | 1357…19 |
| D. | 13579…21 |
| Answer» B. 123‚Äö√Ѭ∂‚Äö√Ѭ∂.20 | |
| 21. |
_ What will be the output of the following PHP code ?$? |
| A. | -3-4-5 |
| B. | -3-4 |
| C. | infinite loop |
| D. | no output |
| Answer» E. | |
| 22. |
_ What will be the output of the following PHP code ?$? |
| A. | Hi is printed 8 times, hello 7 times and then hi 2 times |
| B. | Hi is printed 10 times, hello 7 times |
| C. | Hi is printed once, hello 7 times |
| D. | Hi is printed once, hello 7 times and then hi 2 times |
| Answer» E. | |
| 23. |
_What will be the output of the following PHP code ?$? |
| A. | 24 |
| B. | 134 |
| C. | 1234 |
| D. | 1 |
| Answer» B. 134 | |
| 24. |
_What will be the output of the following PHP code ? 0; $i--) print $i;}?>$? |
| A. | infinite loop |
| B. | 0 1 2 3 4 5 |
| C. | 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 0 1 2 3 4 5 |
| D. | no output |
| Answer» B. 0 1 2 3 4 5 | |
| 25. |
_What will be the output of the following PHP code ?$? |
| A. | error |
| B. | infinite loop |
| C. | no output |
| D. | 0 |
| Answer» C. no output | |
| 26. |
_What will be the output of the following PHP code ?$? |
| A. | hihellohi1 |
| B. | hi |
| C. | hihello |
| D. | hello |
| Answer» B. hi | |
| 27. |
_What will be the output of the following PHP code ?$? |
| A. | infinite loop |
| B. | hi |
| C. | no output |
| D. | error |
| Answer» E. | |
| 28. |
_What will be the output of the following PHP code ?$? |
| A. | hi |
| B. | hello |
| C. | error |
| D. | no output |
| Answer» C. error | |
| 29. |
_What will be the output of the following PHP code ?$? |
| A. | hihellohi1 |
| B. | hi |
| C. | hihi1 |
| D. | hi1 |
| Answer» B. hi | |
| 30. |
_What will be the output of the following PHP code ?$? |
| A. | 0how are u |
| B. | 0hi |
| C. | hi |
| D. | how are u |
| Answer» C. hi | |
| 31. |
_What will be the output of the following PHP code ?$? |
| A. | hi |
| B. | hello |
| C. | error |
| D. | no output |
| Answer» B. hello | |
| 32. |
_What will be the output of the following PHP code ?$? |
| A. | all |
| B. | some |
| C. | error |
| D. | none |
| Answer» D. none | |
| 33. |
_What will be the output of the following PHP code ?$? |
| A. | how are u |
| B. | hi |
| C. | error |
| D. | no output |
| Answer» C. error | |
| 34. |
_What will be the output of the following PHP code ?$? |
| A. | how are uhello |
| B. | hihello |
| C. | hi |
| D. | no output |
| Answer» C. hi | |
| 35. |
_What will be the output of the following PHP code ?$? |
| A. | Hello….36 times |
| B. | Hello….45 times |
| C. | Hello….50 times |
| D. | Hello….40 times |
| Answer» B. Hello‚Äö√Ѭ∂.45 times | |
| 36. |
_What will be the output of the following PHP code ?$? |
| A. | 123456789101112 |
| B. | 12345678910 |
| C. | 1234567891011 |
| D. | infinite loop |
| Answer» E. | |
| 37. |
_What will be the output of the following PHP code ?$? |
| A. | 210 |
| B. | 10 |
| C. | no output |
| D. | infinite loop |
| Answer» B. 10 | |
| 38. |
_What will be the output of the following PHP code ?$? |
| A. | 5 |
| B. | 555555555…infinitely |
| C. | 54321 |
| D. | error |
| Answer» C. 54321 | |
| 39. |
_What will be the output of the following PHP code ?$? |
| A. | hello |
| B. | infinite loop |
| C. | hihello |
| D. | error |
| Answer» B. infinite loop | |
| 40. |
What will be the output of the following PHP code ?$? |
| A. | hihihi |
| B. | hihellohihellohihello |
| C. | hellohellohello |
| D. | hi |
| Answer» E. | |
| 41. |
What will be the output of the following PHP code ?$? |
| A. | true |
| B. | false |
| C. | error |
| D. | no output |
| Answer» B. false | |
| 42. |
What will be the output of the following PHP code ?$? |
| A. | how are u |
| B. | hi |
| C. | error |
| D. | no output |
| Answer» B. hi | |
| 43. |
What will be the output of the following PHP code ?$? |
| A. | how are u |
| B. | hi |
| C. | error |
| D. | no output |
| Answer» C. error | |
| 44. |
What will be the output of the following PHP code ?$? |
| A. | hello |
| B. | no output |
| C. | hi |
| D. | error |
| Answer» B. no output | |
| 45. |
What will be the output of the following PHP code ?$? |
| A. | hi |
| B. | hello |
| C. | error |
| D. | no output |
| Answer» B. hello | |
| 46. |
What will be the output of the following PHP code ?$? |
| A. | hello |
| B. | hi |
| C. | no output |
| D. | error |
| Answer» D. error | |
| 47. |
What will be the output of the following PHP code ?$? |
| A. | hihellohi1 |
| B. | hi |
| C. | hihello |
| D. | hello |
| Answer» E. | |
| 48. |
What will be the output of the following PHP code ?$? |
| A. | AshleyBaleBlank |
| B. | BaleShrek |
| C. | AshleyBlank |
| D. | Bale |
| Answer» C. AshleyBlank | |
| 49. |
What will be the output of the following PHP code ?$? |
| A. | infinite loop |
| B. | 0 |
| C. | no output |
| D. | error |
| Answer» D. error | |
| 50. |
What will be the output of the following PHP code ?? |
| A. | hihihi |
| B. | hihellohihellohihello |
| C. | hellohellohello |
| D. | hi |
| Answer» E. | |