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.
character entity - Answers An HTML ________________ lets you display some special
characters on a web page.
A hidden field - Answers doesn't appear on the form but its data is sent to the server
2 - Answers How many radio buttons from the following code can be selected at any given time?