Sail E0 Webinar

MCQs

Total Questions : 23 | Page 1 of 3 pages
Question 1. Which is the property used to position the object in the left of the screen?
  1.    object.position = left
  2.    object = position.left
  3.    object.style.left
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> object.style.left


The property object.style.left = distance in pixels or points sets distance from left edge of the screen.


Question 2. 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


JavaArray is accessed from within JavaScript code.


Question 3. The blobs are generally stored in
  1.    Memory
  2.    Disk
  3.    Both a and b
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Both a and b


The web browser can store Blobs in memory or on disk, and Blobs can represent really enormous chunks of data (such as video files) that are too large to fit in main memory without first being broken into smaller pieces with slice().


Question 4. During the traversing through the stack, where does it go after it goes to the namespace?
  1.    Window
  2.    Function
  3.    Document
  4.    Location
 Discuss Question
Answer: Option A. -> Window


During the traversal in the stack manner, after going to the namespace, it goes to the Window.


Question 5. How many static methods does a Date object have?
  1.    3
  2.    5
  3.    4
  4.    2
 Discuss Question
Answer: Option D. -> 2


The Date object defines two static methods namely Date.parse() and Date.UTC().


Question 6. Which of the following is possible to be referenced in external JavaScript?
  1.    cpp
  2.    cs
  3.    php
  4.    All of the mentioned
 Discuss Question
Answer: Option C. -> php


One of the lesser known sides of external JavaScript is the ability to reference a PHP file instead of the familiar .js file.


Question 7. What is the purpose of the Attr object in the HTML DOM?
  1.    Used to focus on a particular part of the HTML page
  2.    HTML Attribute
  3.    Used to arrange elements
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> HTML Attribute


In the HTML DOM, the Attr object represents an HTML attribute.


Question 8. Which of the following is not a navigator method?
  1.    postEnabled
  2.    reference
  3.    preference
  4.    All of the mentioned
 Discuss Question
Answer: Option C. -> preference


The preference(name,value) method allows a signed script to get and set some Netscape preferences. If the second parameter is omitted, this method will return the value of the specified preference; otherwise, it sets the value. Netscape only.


Question 9. Which API makes the user's current location available to browser-based application?
  1.    Java API
  2.    SDL API
  3.    Object API
  4.    Geolocation API
 Discuss Question
Answer: Option D. -> Geolocation API


The Geolocation API makes the user's current location available to browser-based applications.


Question 10. What is the procedure to view the console in the Firefox?
  1.    Tools- Error Console
  2.    Tools- Error Window
  3.    Help- Error Console
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> Tools- Error Console


To view the console, select Tools “ Error Consol or Web Development.


Latest Videos

Latest Test Papers