Web Application Development MCQs with Answers
Practice important Web Application Development MCQs with answers and explanations.
Multiple Choice Questions
Q1: What does PHP stand for?
- A: Personal Home Page
- B: PHP: Hypertext Preprocessor
- C: Public Hypertext Processor
- D: Professional Hypertext Processor
View Answer
B
Q2: PHP is a _______ scripting language used for making dynamic and interactive web pages.
- A: client-side
- B: server-side
- C: desktop
- D: mobile
View Answer
B
Q3: Which of the following is NOT a feature of PHP?
- A: Generating dynamic page content
- B: Creating, opening, reading files
- C: Controlling user-access
- D: Designing graphics
View Answer
D
Q4: PHP can be used to output which of the following?
- A: Only HTML
- B: Only XML
- C: HTML and images
- D: Only PDFs
View Answer
C
Q5: PHP can run on which of the following platforms?
- A: Only Windows
- B: Windows, Linux, Unix, Mac OS X
- C: Only Linux
- D: Windows and Mac OS X
View Answer
B
Q6: Which of the following servers is compatible with PHP?
- A: IIS only
- B: Apache and IIS
- C: IIS only
- D: Apache only
View Answer
B
Q7: PHP statements end with which symbol?
- A: .
- B: ;
- C: :
- D: ,
View Answer
B
Q8: To install PHP on a Windows machine, which server software bundle can be used?
- A: LAMP
- B: WAMP
- C: XAMPP
- D: MAMP
View Answer
B
Q9: In the PHP code <?php echo "Hello World!"; ?>, what does echo do?
- A: It outputs a variable
- B: It outputs text to the browser
- C: It executes a function
- D: It closes the PHP tag
View Answer
B
Q10: The WAMP server is a combination of which components?
- A: Windows, Apache, MySQL, PHP
- B: Windows, Apache, MySQL, Perl
- C: Windows, IIS, MySQL, PHP
- D: Windows, Apache, MySQL, Python
View Answer
A