Sail E0 Webinar

MCQs

Total Questions : 69 | Page 5 of 7 pages
Question 41. Which function is used to stop the time logging?
  1.    stopTimeLogging()
  2.    stop()
  3.    finish()
  4.    abort()
 Discuss Question
Answer: Option A. -> stopTimeLogging()
Question 42. The lexical scooping in JavaScript is based on which of the following?
  1.    Segments
  2.    Blocks
  3.    Functions
  4.    Entire code
 Discuss Question
Answer: Option C. -> Functions
Question 43. What is the return data type of the property accept that belongs to the Input element?
  1.    integer
  2.    string
  3.    boolean
  4.    float
 Discuss Question
Answer: Option B. -> string
Question 44. What is the purpose of the property width belonging to the ImageData element?
  1.    Number of data
  2.    Number of pixels
  3.    Number of pixels per row of data
  4.    All of the mentioned
 Discuss Question
Answer: Option C. -> Number of pixels per row of data
Question 45. What is the purpose of the adoptNode() method?
  1.    Removes node
  2.    Makes it ready for insertion
  3.    Removes node and Makes it ready for insertion
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Removes node and Makes it ready for insertion
Question 46. What is the function of the method importNode()?
  1.    Copies without removing
  2.    Copies and removes
  3.    Only copies
  4.    Only removes
 Discuss Question
Answer: Option A. -> Copies without removing
Question 47. How can you create a node for comment in JavaScript?
  1.    comment()
  2.    createComment()
  3.    Comm()
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> createComment()
Question 48. How can you dispatch a synthetic event object?
  1.    dispatchEvent()
  2.    dispatch()
  3.    dispatch(Event)
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> dispatchEvent()
Question 49. How do you specifically execute a command in JavaScript?
  1.    execcommand()
  2.    exec(command)
  3.    execCommand()
  4.    exec(command id)
 Discuss Question
Answer: Option C. -> execCommand()
Question 50. What is necessary when we need to create a new field in craft?
  1.    Type of the input
  2.    Type of the output
  3.    Type of the field
  4.    All of the mentioned
 Discuss Question
Answer: Option C. -> Type of the field

Latest Videos

Latest Test Papers