Please help! Specially questions with ? icons.
1. Event handlers can be associated to both attributes (in an HTML tag) and properties of an object in BOM.
>
True
False
2. alert(), prompt() and confirm() are methods of the
a. document object
>
b. window object
c. navigator object
d. screen object
3. The root object of the BOM is the document object.
True
>
False
4. Event handlers are always JavaScript code.
True
>
False ?
5. In a BOM, the following is the most used object
a. history
b. navigator
>
c. document
d. screen
6. An object may not contain
a. another object
>
b. an event ?
c. an array (or a collection)
d. image
7. Checking browser version is often necessary before an action is taken.
>
True ?
False
8. What would not be an advantage of using the onclick event instead of the href attribute to navigate a link?
a. it s less coding
b. it s possible to navigate to an number of destinations depending on given conditions
c. it s possible to cancel the navigation to another page altogether
>
d. both b and c
9. Browsers come with native (built-in) objects organized in a tree structure.
>
True
False
10. We can always write JavaScript code that works for all existing browsers.
True
>
False ?