Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 21 pages
Exam (elaborations)

PHP Exam1 Questions and Answers

Document preview thumbnail
Preview 3 out of 21 pages

PHP Exam1 Questions and Answers

Content preview

PHP Exam1 Questions and Answers




In a web application, the client uses a ________________ to interact with a web server. - Answer-
browser



A ________________ makes websites available to other computers over a network. - Answer-web
server



A web application starts when a client sends a/an ________________ to a server. - Answer-request



A ________________ web page is one that has .html or .htm as its extension. - Answer-static



In a PHP application, dynamic web pages are generated by PHP scripts that are running on the
________________. - Answer-web server



Google Chrome is a ________________. - Answer-browser



________________ is the web server that is commonly used for web applications that are written in
PHP. - Answer-Apache

,To deploy a PHP application on your own server, you copy or move its ________________ to the
document root directory of the Apache server. - Answer-directory



In an HTTP URL, the ________________ is coded immediately after the protocol but before the path. -
Answer-domain



If you omit the filename from a URL, the Apache web server displays a list of files and directories if the
specified directory doesn't contain a ________________ such as index.php. - Answer-default file



A web application is a type of - Answer-client/server application



When the web server receives an HTTP request for a PHP page, the web server calls the - Answer-PHP
interpreter



The HTTP response for a dynamic web page is passed - Answer-from the web server to the browser



Which of the following software components generates the HTML that is returned in an HTTP response?
- Answer-PHP



To deploy a PHP application on your own computer, you copy the application root directory to -
Answer-the htdocs directory of the Apache server



Which HTML tag or element is used to load an external stylesheet? - Answer-link



To run a PHP application that has been deployed on your own computer, you can enter a URL in the
address bar of your browser that - Answer-uses localhost as the domain name



In HTML, parameters are called - Answer-attributes

, The first part of a URL is called the - Answer-protocol



When HTML was first developed, Web pages were typically - Answer-static



If a URL specifies a directory that doesn't contain a default page, Apache displays - Answer-a list of all of
the directories in that directory



To view the source code for a web page in a web browser, you can display the View Source command by
- Answer-right-clicking on the page



To make it easier to enter names into your code, NetBeans provides a feature known as - Answer-auto-
completion



URL stands for - Answer-Uniform Resource Locator



A request and response for a file are made by - Answer-a client and a server



What type of a request does a Web browser typically send to a server? - Answer-HTTP



What extension of a filename is typically associated with a static Web page? - Answer-.htm



Which of the following can be used to style a label in an id named data? - Answer-#data label



Which of the following is software that is a Web server? - Answer-Apache

Document information

Uploaded on
January 17, 2025
Number of pages
21
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$17.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Zanaya
4.5
(12)
Sold
77
Followers
29
Items
10176
Last sold
3 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions