QUESTION 31 The ____ method sends form data in a separate data stream, allowing
ID: 3772663 • Letter: Q
Question
QUESTION 31
The ____ method sends form data in a separate data stream, allowing the Web server to receive the data through “standard input.”
get
jump
post
5 points
QUESTION 32
The ____ statement is used to halt the execution of the Switch statement once a match has been found.
halt
end
stop
break
5 points
QUESTION 33
The ____ statement tells the browser to send the text string enclosed in the parenthesis to the Web page.
page.output()
document.write()
document.output()
page.send()
5 points
QUESTION 34
The command to create an alert dialog box is ____, where text is the text string that you want displayed in the dialog box.
alertDisplay(text);
alert(OK, text);
alert(text);
alertBox(text);
5 points
QUESTION 35
The expression 14 % 4 returns the value ____.
2
3
4
14
5 points
QUESTION 36
The syntax for adding comments to a style sheet is ____, where comment is the text of the comment.
/* comment */
// comment //
** comment **
<!-- comment --!>
5 points
QUESTION 37
The syntax for setting the value of a form field is ____.
form.field.value = field_value;
document.form.field.value = field_value;
form.document.field.value = field_value;
document.field.value.form = field_value;
5 points
QUESTION 38
To create a line break, you use the one-sided tag ____.
<line />
<br />
</br>
</line>
5 points
QUESTION 39
To create a table cell that contains a row or column heading, you would use the ____ tag.
<th>
<td>
<ty>
<tr>
5 points
QUESTION 40
What would be the counter values for the For loop:
for (i=2; i <=5; i++)
i = 1, 2, 3, 4
i = 2, 3, 4, 5
i = 1, 2, 3, 4, 5
i = 2, 3, 4
a.get
b.jump
c.post
Explanation / Answer
1. The POST method sends form data in a separate data stream, allowing the Web server to receive the data through “standard input.”
Post method is used to send the form data unlike other options.
2. The BREAK statement is used to halt the execution of the Switch statement once a match has been found.
In programming languages, break keyword is used to halt the execution of conditinal loopings.
3. The document.write() statement tells the browser to send the text string enclosed in the parenthesis to the Web page.
write(the text string) method writes HTML expressions or JavaScript code or the text string to a web page.
4. The command to create an alert dialog box is ALERT, where text is the text string that you want displayed in the dialog box.
The alert() method displays an alert box with a specified message and an OK button.
5. The syntax for adding comments to a style sheet is /* comment */, where comment is the text of the comment.
QUESTION 40
What would be the counter values for the For loop:
for (i=2; i <=5; i++)
Ans: i = 2, 3, 4, 5
5. The expression 14 % 4 returns the value 2.
% is used to return the remainder of expression. if we divide 14/4, reaminder =2
6.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.