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. 

A. ?historyobject
B. ?screen object
C. ?locationobject
D. ?navigatorobject


Answer: C

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. You can use del to remove the element at any valid index or the element(s) from any valid slice. b. The following code creates a list, then uses del to remove its last element: numbers = list(range(0, 10)) del numbers[1] c. The following deletes the list’s first two elements: del numbers[0:2] d. The following uses a step in the slice to delete every other element from the entire list: del numbers[::2]

Computer Science & Information Technology

What happens if you try to multiply a string by a string, "a" * "b"?

What will be an ideal response?

Computer Science & Information Technology

Use the saved data to draw the spanning tree for the network in Figure 6.10 as seen by the bridges. For each bridge, include information on the root bridge, the root port, the designated ports, and the blocked ports.

What will be an ideal response?

Computer Science & Information Technology

Every switch structure must have ________ labels which are separated by the keyword break.

a) default b) if/else c) case d) choice

Computer Science & Information Technology