• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

Php Exam 2 Questions & Answers

Document preview thumbnail
Preview 2 out of 11 pages

PHP EXAM 2 QUESTIONS & ANSWERS

Content preview

PHP EXAM 2 QUESTIONS & ANSWERS

test - Answers -As you ________________ an application, you try to make it fail.

valid - Answers -When you test an application, you start by using ________________
data.

syntax - Answers -A/an ________________ error violates the rules for how PHP
statements must be written.

echo - Answers -A simple way to trace the execution of an application is to insert
________________ statements at appropriate points within the code.

variables - Answers -When a breakpoint is reached while you're testing an application
with NetBeans, you can view the values of the available ________________.

into - Answers -When you're using NetBeans, you can step through the execution of an
application one statement at a time by clicking on the Step ________________ button.

stack trace - Answers -The list of functions in the reverse order in which they were
called is called a/an

find all errors in the application - Answers -The goal of testing is to

logic error - Answers -An error that lets the application run but produces the wrong
results is known as a

runtime error - Answers -The type of error that does not violate syntax rules, but causes
the PHP interpreter to display errors is called a

misspelling keywords, forgetting to end a statement with a semicolon, forgetting a
closing quotation mark - Answers -What would be considered a common syntax error in
PHP?

runs to the next breakpoint - Answers -When you click on the Continue button while
you're debugging with NetBeans, the application

stack trace - Answers -Which of the following lists the functions in the reverse order in
which they were called?

breakpoint - Answers -When debugging an application, you can set a(n)
________________ to view the value of a variable at a particular point.

logic - Answers -Which type of error is often most difficult to find and fix?

, the Step Into button to execute the current statement and move to the next statement -
Answers -When you test an application with NetBeans and a breakpoint is reached, you
can click

find all errors - Answers -What is the goal of testing an application before it is put into
production?

fix all errors - Answers -What is the goal of debugging an application before it is put into
production?

runtime - Answers -Which type of error does not violate the rules for how PHP
statements must be written but will cause the PHP interpreter to display errors?

syntax - Answers -Which type of error is considered the easiest to find?

syntax - Answers -Which type of error is considered the easiest to fix?

<input> - Answers -HTML ________________ tags are used to define the text boxes,
password boxes, radio buttons, and check boxes on a form.

drop-down - Answers -In a/an ________________ list, only one option can be selected.

test area - Answers -A/an ________________ is similar to a text field, but it can display
multiple lines of text.

GET - Answers -If a form uses the ________________ method, the data for the fields
is displayed in the URL.

isset() - Answers -To test whether a check box has been checked, you can use the
________________ function.

POST - Answers -Typically, you would use the ________________ method if a form
contains password fields or other sensitive data that you don't want to display in the
URL.

entities - Answers -The htmlspecialchars() function can be used to convert some of the
special characters that a user has entered into a text box or text area into HTML
character ________________. This provides a way to display special characters and
helps to guard against XSS attacks.

<br> - Answers -The nl2br() function can be used to convert new line entries in a text
area into HTML ________________ tags.

print - Answers -The echo and ________________ statements are similar, but the echo
statement can accept multiple parameters.

Document information

Uploaded on
January 23, 2026
Number of pages
11
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

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.
GEEKA
3.8
(376)
Sold
2223
Followers
1450
Items
62807
Last sold
11 hours 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