Home > MCQs > IT & Programming > OpenSocial MCQs

OpenSocial MCQ

OpenSocial Quick Quiz

Question 1 of 10
  • Some of the classes and methods in the 'gadget.*' namespace are feature-specific. In which of the following tags must the'' element be included in order to use them?

     

    Answer & Explanation

    Correct Answer: ModulePrefs>

    Note: This Question is unanswered, help us to find answer for this one

  • In the process of integrating OpenSocial API with Google App Engine, you do not need to maintain any servers.

    Answer & Explanation

    Correct Answer: True

    Note: This Question is unanswered, help us to find answer for this one

  • You have made a function named 'getfriends()', which will get the list of friends once the OpenSocial API is loaded. Which of the following event handler will call this function after the API has been loaded?

    Answer & Explanation

    Correct Answer: gadgets.util.registerOnLoadHandler(getfriends);

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following are the supported keys for the Person.getField() method.?

    Answer & Explanation

    Correct Answer: TURN_OFFS

    Note: This Question is unanswered, help us to find answer for this one

  • What will happen if "&bpc=1" is appended to an orkut application canvas page url as querystring?

    Answer & Explanation

    Correct Answer: It will load a fresh copy of the page

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following 'DataRequest' methods will be used in order to read, write and clear data from Persistence API?

    Answer & Explanation

    Correct Answer: newUpdatePersonAppDataRequest(id, key, value)

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following methods are defined under "OpenSocial.Permission" namespace?

    Answer & Explanation

    Correct Answer: OpenSocial.requestPermission()

    Note: This Question is unanswered, help us to find answer for this one

  • Consider the following code for OpenSocial application (v0.7) for Orkut? http://sandbox.orkut.com/Application.aspx?appId=xxxxxxxxxxxx&appParams=%7B%20%22hello%22%20%3A%20%22hi%22%20%7D If the above mentioned url is passed and processed by the following code, what will be the value of "getOutput"? var querydata = gadgets.views.getParams(); var getOutput = querydata["hello"];

    Answer & Explanation

    Correct Answer: hi

    Note: This Question is unanswered, help us to find answer for this one

  • In OpenSocial API, "OpenSocial.IdSpec.Field" namespace is used _____.

    Answer & Explanation

    Correct Answer: to get the network distance between two users

    Note: This Question is unanswered, help us to find answer for this one

  • You can not send mails to friends by using OpenSocial (v0.7) for Orkut application?

    Answer & Explanation

    Correct Answer: False

    Note: This Question is unanswered, help us to find answer for this one

  • OpenSocial Quick Quiz

    battery

    Poor Results!

    You need a lot of improvement.

    Just don't give up!

    Correct Answers: 0/10

    Start Practicing with our MCQs given below.