1/52
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
The Document Type Definition or the DOCTYPE for HTML5 looks like:
<!DOCTYPE html>When do you need to use a fully qualified, absolute URL in a hyperlink?
When linking to a page on an external web site
The text contained between the
<title> ... <title> tags is:
Displayed in the title bar of the browser window or tab
Which of the following is not part of a web application stack?
A code validator
An operating system
Web service software
A database
A code validator
Which of the following is the most common choice for a web server?
Linux-based OS
Mac OS
Windows Server
None of the above
Linux-based OS
____ are programs that test code to ensure that it contains no syntax errors
Validators
A request and response for a file are made by
a client and a server
HTML markup is implemented via
tags (AKA elements)
A host that provides storage space for saving and retrieving records is called a ____.
file server
To add the comment, Welcome John Smith, the syntax would be _____
<!--Welcome John Smith -->
In the figure, what does Box A represent?
Text box
Identify the correct hierarchy of tags to create a web table:
<table>, <tr>, <td> </td>, </tr>, </table>
<table>, <td>, <tr> </td>,</tr> </table>
<tr>, <table>, <td> </td>,</table>, </tr>
<tr>, <td>, <table>,</table>,</tr>,</td>
<table>, <tr>, <td> </td>, </tr>, </table>
Which of the following HTML Elements is used to create a table title
table
caption
style
span
caption
A ___ is a control used to enter text strings that may include several lines of content
text area box
An order form contains an area for web visitors to select their state or province. You need to limit the amount of space on the form that is used for this feature. Select the form control that is best to use for this purpose:
check box
radio button
text box
select list
select list
To apply the same style to more than one element on a web page, configure a CSS ___
class
Select the form control below that doesn’t use the <input> tag
text box
select list
check box
radio button
select list
Select the statement below that is true about forms
the <form> tag is optional
It is recommended to use mailto: as the action on a form since that is the easiest for the web developer
A form can be used to pass information to a program or script on the web server
none of these
A form can be used to pass information to a program or script on the web server
Select the tag used to visually group a number of form controls
group
fieldset
form
legend
fieldset
Select the true statement from the choices below
A scrolling text box is created using an <input> tag with the type = “textarea”
A text box is created using the <input> tag with the type = “box”
A select list is created using <select> and <input> tags
none of these
none of these
Select the type of form that “disguises” the characters that are typed
text
password
encrypt
textbox
password
The purpose of the ____ is to configure a label for a <fieldset>
<legend>
To associate text with a form control, the text string and the form element should be enclosed within the ___ element
label
Use the ____ attribute on the <form> tag to specify the name and location of the script that will process the form control values
action
When configuring a group of radio button form controls, the value of the ___ attribute on each radio button must be the same
name
You would like to conduct a survey and ask your web page visitors to indicate the computer operating systems that they use. Each visitor could use more than one computer operating system. Select the form control that is best to use for this purpose:
Check box
Radio button
Text box
Scrolling text box
Check box
get and post are two possible values for the _____ attribute
method
When form data is appended to a URL, what is it called?
Query String
What attribute of form input elements becomes the variable which stores the user’s data?
name
When using a label element that is not wrapped around an input element, which attributes should match in the label and form control elements respectively
for and id
JavaScript is used as a programming tool for
creating interactive web forms and animated graphics
__ programming distributes the load to prevent a server from getting overloaded with program-related requests
Client-side
__ is the programming language for client-side programs
JavaScript
Javascript code is attached to an HTML file using the ____ element
script
A user can create an embedded script by removing the __ attribute and placing all of the JavaScript code within the script element
src
__ is the process of locating and fixing a programming error
Debugging
A(n) __ is any group of characters enclosed within either double or single quotation marks in JavaScript
text string
A(n) __ is a collection of commands that performs an action or returns a value
function
the DOM for a web page provides a hierarchy of nodes that represent
the elements, contents, attributes, and comments in HTML
To call the jQuery accordion method for a div element that has “panel” as its id attribute, you would code this JavaScript:
$(“#panel”).accordion();
The HTTP response for a dynamic web page is passed
from the web server to the browser
A PHP variable name:
can start with a letter, a digit, or two underscores
is case-sensitive
can be a PHP reserved word
can contain special characters
is case-sensitive
A PHP variable begins with that symbol?
$
PHP provides a concatenation operator. What symbol is used?
. (dot)
After the if statement that follows is executed, what will the value of $discountAmount be?
$order_total = 200;
if ($order_total > 200) {
$discount_amount = $order_total *.3;
} else if ($order_total > 100) {
$discount_amount = $order_total .2;
} else {
$discount_amount = $order_total * .1;
}
40
How many times will the while loop that follows be executed?
$months = 5;
$i = 1;
while ($i > $months) {
$futureValue = $futureValue * (1 + $monthlyInterestRate);
$i = $i+1;
}
0
When the web server receives an HTTP request for a PHP page, the web server calls the
PHP interpreter
A PHP constant name:
should be all upper case
What would be the output from the following:
$word = "script";
echo "Define '$word', please.";Define ‘script’, please.
What would be the output form the following:
$word = "script";
echo 'Define " '. $word . ' ", please.';Define “script”, please
What would be the output from the following:
$word = "script";
echo "Define \"$word\", please.";Define “script”, please
What would be the output from the following:
$word = "script";
echo 'Define \'$word\', please.';Define ‘$word’, please
What would be the output from the following:
$word = "script";
$word .= "script";
echo ''$word";scriptscript