Sail E0 Webinar

MCQs

Total Questions : 117 | Page 8 of 12 pages
Question 71. The object that looks to the thread that creates it is
  1.    Window
  2.    Worker
  3.    Element
  4.    Hash
 Discuss Question
Answer: Option B. -> Worker
Question 72. Which of the following is a global object for a new worker?
  1.    WorkerGlobalScope
  2.    Worker
  3.    WorkerScope
  4.    Window
 Discuss Question
Answer: Option A. -> WorkerGlobalScope
Question 73. Which will be invoked to create a new worker?
  1.    Function
  2.    Destructor
  3.    Constructor
  4.    Interface
 Discuss Question
Answer: Option C. -> Constructor
Question 74. How can you send data using a Worker object?
  1.    postMessage()
  2.    sendMessage()
  3.    Message()
  4.    post()
 Discuss Question
Answer: Option A. -> postMessage()
Question 75. What will happen if you specify an absolute URL in the Worker constructor?
  1.    Resolves itself
  2.    Must have the same origin
  3.    Must not have the same origin
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Must have the same origin
Question 76. Which property is used to manage multiple event handlers?
  1.    onmessage
  2.    onerror
  3.    both onmessage and onerror
  4.    none of the mentioned
 Discuss Question
Answer: Option C. -> both onmessage and onerror
Question 77. Which is the function that allows a worker to terminate itself?
  1.    close()
  2.    exit()
  3.    terminate()
  4.    halt()
 Discuss Question
Answer: Option A. -> close()
Question 78. BLOB stands for
  1.    Binary Little Object
  2.    Binary Large Object
  3.    Broken Large Object
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Binary Large Object
Question 79. The size of blobs are generally calculated in
  1.    Meters
  2.    Kilometers
  3.    Bytes
  4.    Pixels
 Discuss Question
Answer: Option C. -> Bytes
Question 80. The blobs are generally stored in
  1.    Memory
  2.    Disk
  3.    Both Memory and Disk
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Both Memory and Disk

Latest Videos

Latest Test Papers