Exam 9: Getting Started With Javascript Tutorial

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

A _____ occurs after a script has been successfully loaded with no syntax errors and is being executed by a browser.

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

B

Identify a syntax to set the time-delayed commands.

Free
(Multiple Choice)
4.9/5
(43)
Correct Answer:
Verified

C

Identify an expression used to apply a method to an object.

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

C

_____ is the programming language for client-side programs.

(Multiple Choice)
4.8/5
(37)

There is no limit to the number of time-delayed commands a browser can process.

(True/False)
4.9/5
(29)

A variable requires an initial value to be defined.

(True/False)
4.9/5
(25)

Case-Based Critical Thinking Questions Case 9-1 Terin has created a page for a training institute that will allow users to browse the training courses provided at the institute. Terin uses JavaScript to write the content using objects and functions. The objects defined in the code are document object, history object, screen object, navigator object, and the location object. Identify an object created by Terin that will contain information about the current URL.

(Multiple Choice)
4.8/5
(27)

A logical error is the easiest to fix as the errors in the code can be traced easily.

(True/False)
4.9/5
(40)

The isNaN(value) function returns a Boolean value of true if the value is not numeric.

(True/False)
4.9/5
(43)

The async attribute stalls script processing until after the page has been completely parsed and loaded.

(True/False)
4.9/5
(36)

_____ programming distributes the load to prevent a server from getting overloaded with program-related requests.

(Multiple Choice)
4.9/5
(40)

_____ are intrinsic to the JavaScript language.

(Multiple Choice)
4.8/5
(34)

The _____ attribute can be applied to the script element to ensure that an object can be referenced within a JavaScript program that runs only after the page has completed loading.

(Multiple Choice)
4.8/5
(50)

Which of the following is created by a programmer for use in an application.

(Multiple Choice)
4.9/5
(45)

The _____ attribute tells a browser to parse the HTML and JavaScript code together, only pausing to process the script before returning to the HTML file.

(Multiple Choice)
4.9/5
(38)

Objects are organized into groups called _____.

(Multiple Choice)
4.8/5
(39)

A(n) _____ is a named item in a program that stores a data value, such as a number or text string, or an object, such as a part of the web browser or browser window.

(Multiple Choice)
4.9/5
(45)

If no value is assigned to a Boolean variable, it is interpreted as having a value of true .

(True/False)
4.8/5
(35)

Identify a syntax to access any of the mathematical constants supported by the Math object.

(Multiple Choice)
4.7/5
(36)
Identify the property that best matches the following style rules.
It is used to reference an object as part of a collection in a document.
collection[idref]
It appears when a fault happens when a browser is unable to complete a line of code.
element .textContent
It is indicated by the - - symbol, which reduces the operand's value by 1.
parseInt(string)
Correct Answer:
Verified
Premises:
Responses:
It is used to reference an object as part of a collection in a document.
collection[idref]
It appears when a fault happens when a browser is unable to complete a line of code.
element .textContent
It is indicated by the - - symbol, which reduces the operand's value by 1.
parseInt(string)
It returns a text string displaying value to n significant digits either to the left or to the right of the decimal point.
Decrement operator
It returns the text within element disregarding any HTML tags.
Run-time error
It is an object collection in which all the elements are marked with the tag.
value.toPrecision(n)
It extracts the first integer value from a sequence of characters.
value .toFixed(n)
It is a command to create a dialog box containing a message.
window.alert(" ");
It returns the HTML code within element as well as the HTML code of element itself.
document.anchors
It returns a text string displaying value to n decimal places.
element .outerHTML
(Matching)
4.8/5
(32)
Showing 1 - 20 of 72
close modal

Filters

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