JavaScript Questions and Answers

51.Javascript is ideal to?

A. make computations in HTML simpler
B. minimize storage requirements on the web server
C. increase the download time for the client
D. none of the mentioned

View Answer

52. The meaning for Augmenting classes is that:

A. objects inherit prototype properties even in dynamic state
B. objects inherit prototype properties only in dynamic state
C. objects inherit prototype properties in static state
D. object doesn’t inherit prototype properties in static state

View Answer

53. Which is the handler method used to invoke when uncaught JavaScript exceptions occur?

A. Onhalt
B. Onerror
C. Both onhalt and onerror
D. Onsuspend

View Answer

54. Consider the code snippet given below
  var count = [1,,3];
What is the observation made?

A. The omitted value takes "undefined"
B. This results in an error
C. This results in an exception
D. The omitted value takes an integer value

View Answer

55. Which among the following POSIX signals generate events?


View Answer

56. What does the interpreter do when you reference variables in other scopes?

A. Traverses the queue
B. Traverses the stack
C. Finds the bugs
D. Traverse the array

View Answer

57. What must be done in order to implement Lexical Scoping?

A. Get the object
B. Dereference the current scope chain
C. Reference the current scope chain
D. Return the value

View Answer

58. From which version of IE is canvas supported?

A. 6
B. 7
C. 8
D. 9

View Answer

59. How many parameters does the method plot() accept?

A. 7
B. 8
C. 9
D. 10

View Answer

60.What is the purpose of script loading?

A. Load Scripts programmatically
B. Load JavaScript files manually
C. Load JavaScript files programmatically
D. All of the mentioned

View Answer

Also check :


* You must be logged in to add comment.