Sail E0 Webinar

MCQs

Total Questions : 117 | Page 4 of 12 pages
Question 31. Which is the function used to loop in an array to view all the values?
  1.    all()
  2.    loop()
  3.    each()
  4.    none of the mentioned
 Discuss Question
Answer: Option C. -> each()
Question 32. Which of the following has a greater benchmark time for looping and JQuery vs core JavaScript in milliseconds?
  1.    Chrome JQuery
  2.    Chrome JavaScript
  3.    Firefox JQuery
  4.    Firefox JavaScript
 Discuss Question
Answer: Option A. -> Chrome JQuery
Question 33. What is the purpose of the function eval?
  1.    Executes the string as an integer
  2.    Gets the value of the string
  3.    Executing string as JavaScript
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Executing string as JavaScript
Question 34. Which class provides an interface for invoking JavaScript methods and examining JavaScript properties?
  1.    ScriptObject
  2.    JSObject
  3.    JavaObject
  4.    Jobject
 Discuss Question
Answer: Option B. -> JSObject
Question 35. Which of the following has a lesser benchmark time for using JQuery to access DOM versus pure JavaScript in milliseconds?
  1.    Chrome JQueryDOM_
  2.    Chrome JSDOM_benc
  3.    Firefox JQueryDOM_
  4.    Firefox JSDOM_benc
 Discuss Question
Answer: Option D. -> Firefox JSDOM_benc
Question 36. Which is a wrapped Java array, accessed from within JavaScript code?
  1.    JavaArray
  2.    JavaClass
  3.    JavaObject
  4.    JavaPackage
 Discuss Question
Answer: Option A. -> JavaArray
Question 37. What is the syntax of close method for document object?
  1.    Close(object)
  2.    Close(doc)
  3.    Close(val)
  4.    Close()
 Discuss Question
Answer: Option D. -> Close()
Question 38. How do you find the number with the highest value of x and y?
  1.    ceil(x,y)
  2.    top(x,y)
  3.    Math.ceil(x,y)
  4.    Math.max(x,y)
 Discuss Question
Answer: Option D. -> Math.max(x,y)
Question 39. How can you find a client’s browser name?
  1.    browser.name
  2.    navigator.appName
  3.    client.navName
  4.    none of the mentioned
 Discuss Question
Answer: Option B. -> navigator.appName
Question 40. Which of the following is not a JavaScript framework?
  1.    Rico
  2.    Prototype
  3.    Joco
  4.    DoJo
 Discuss Question
Answer: Option D. -> DoJo

Latest Videos

Latest Test Papers