Exam 10: Creating Pop-Up Windows, Adding Scrolling Messages, and Validating Forms

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Case 10-2 Kate is tracing through her code to find a logical error and she thinks it has something to do with her misuse of conditional operators.Assume that the following variable assignments have been made: a=45 b=46 c=45 d=50 e=100 -Which of the following use of conditional operators will make a true expression for Kate?

Free
(Multiple Choice)
4.7/5
(30)
Correct Answer:
Verified

C

The Submit button object generally is used with the ____________________ event handler.

Free
(Short Answer)
4.9/5
(34)
Correct Answer:
Verified

onClick

When adding JavaScript or any scripting language to a Web page document,the actions you perform and decisions you make will affect the appearance and characteristics of the finished Web page.Briefly list the general guidelines that you should follow before you write the JavaScript code.

Free
(Essay)
4.9/5
(44)
Correct Answer:
Verified

• Determine what you want the code to accomplish.
• Determine the overall Web page appearance.
• Determine the data validation requirements.
• Determine the calculations needed.

Which of the following is the general form of the focus()method?

(Multiple Choice)
4.9/5
(32)

The ____ object component of a scrolling message defines where the scrolling message displays.

(Multiple Choice)
4.8/5
(31)

Case 10-1 Eamon has extensive experience with event handlers and he offers to help Brigid sort through the options available to her. -With that problem fixed,Brigid has moved onto the input box.She has been using all of the following to trigger JavaScript code,but Eamon tells her that one of them is not going to work for her.Which one does he single out as a mismatch for the input box?

(Multiple Choice)
5.0/5
(36)

The break()method is used to split a string based on an identified separator and a desired number of "sub" strings.

(True/False)
4.8/5
(36)

The toolbar attribute of the open()method is written as ____________________.

(Short Answer)
4.9/5
(39)

Most of the properties of the Math object return preset values.

(True/False)
4.9/5
(44)

The height and width of pop-up windows are measured in ____________________.

(Short Answer)
4.8/5
(35)

When the initial value of the ____________________ variable is zero,the code sets the string message so the first character of the string appears in the text field.

(Short Answer)
4.9/5
(46)

JavaScript uses typical programming language symbols to represent exponentiation in code.

(True/False)
4.9/5
(43)

Which of the following objects is used with the onLoad event handler?

(Multiple Choice)
4.7/5
(37)

Which of the following can have values assigned to it?

(Multiple Choice)
4.7/5
(34)

The onLoad event handler is placed with its associated function in the < html > tag to indicate that the onLoad event handler should call the function when the Web page loads.

(True/False)
4.9/5
(34)

In an if…else statement,the statements between the curly braces after the else statement execute if the condition is true.

(True/False)
4.8/5
(37)

Identify the letter of the choice that best matches the phrase or definition. -A base of 10

(Multiple Choice)
4.7/5
(26)

The comparison,a===b,is true if a equals b and if the data are of the same type._________________________

(True/False)
4.9/5
(38)

The isNaN()function is one of several functions that tests a numeric value as the argument.

(True/False)
4.9/5
(31)

Which of the following raises 2 to the power of 3?

(Multiple Choice)
4.9/5
(32)
Showing 1 - 20 of 112
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)