Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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

mail

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.

mail

d.

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.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote