1. What is the framework?
a) User time efficiency
b) Author time efficiency
c) Both User time and Author time efficiency
d) Client time efficiency
Explanation: A framework, or software framework, is a platform for developing software applications. Frameworks are an author-time efficiency, meaning that they make coding tasks much simpler by abstracting the real work that goes into doing those tasks.
2. Which is the function used to loop in an array to view all the values?
Explanation: for.each() function is used for traversing through each values of the array. The method jQuery.each(array, function) loops through the array.
a) Chrome JQuery
c) Firefox JQuery
5. What is the purpose of the function eval?
a) Executes the string as an integer
b) Gets the value of the string
d) Executing string as an object
a) Chrome JQueryDOM_
b) Chrome JSDOM_benc
c) Firefox JQueryDOM_
d) Firefox JSDOM_benc
8. What is the syntax of close method for document object?
Explanation: In order to close a document object, we need to call Close(). In order to close a document object, we need to call Close().
9. How do you find the number with the highest value of x and y?
Explanation: max function is used for comapring and finding maximum values. It is found in the math library. Math.max(x,y) is used to find the highest value of x and y.
10. How can you find a client’s browser name?
Explanation: The client’s browser name can be found by using navigator.appName. It is found inside the navigator object.