In: Computer Science
Answer the following true & false questions:
The count property can be used to determine the number of elements contained in an array.
True
False
The Navigator object is commonly used to determine which type of Web browser is running.
True
False
Since a browser window never displays more than one document object at one time, you can shorten references to objects contained within a document by omitting the word window from the object path.
True
False
The setInterval( ) method and setTimeout( ) method work in a similar fashion; however, when called, the setInterval( ) method executes repeatedly, whereas the setTimeout( ) method executes only once.
True
False
A break statement is only allowed to be used within a loop.
True
False
Answer
1) The count property can be used to determine the number of elements contained in an array.
False
2) The Navigator object is commonly used to determine which type of Web browser is running.
True
3) Since a browser window never displays more than one document object at one time, you can shorten references to objects contained within a document by omitting the word window from the object path.
True
4) The setInterval( ) method and setTimeout( ) method work in a similar fashion; however, when called, the setInterval( ) method executes repeatedly, whereas the setTimeout( ) method executes only once.
True
5) A break statement is only allowed to be used within a loop.
False