Sunday, December 27, 2015

OpenSocial Test answers of 2016.

Find Complete and recently updated Correct Question and answers of OpenSocial Test of Upwork. All Answers updated regularly with new questions. Upwork OpenSocial Test answers of 2016.



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

Question:* With the help of the 'gadgets.io.makeRequest()' function in OpenSocial API, you can _____.

Question:* Which of the following are the valid ContentTypes under 'gadgets.io.ContentType' namespace?

Question:* Arrange in proper sequence how an application gets live in Orkut using OpenSocial (v0.7).(Starting with the 1st) 1. Submitting the application to orkut 2. Registration at sandbox 3. Adding the application in sandbox 4. Creating an account in orkut

Question:* What is the function of the "gadgets.pubsub" namespace in OpenSocial API (v0.7)?

Question:* Suppose there is an OpenSocial APT named 'Messages' which is integrated with the Google App Engine. Through which of the following API namespaces will OpenSocial app make calls and get data from API hosted on Google App Engine?

Question:* Suppose you have chosen to install an OpenSocial API named "Games" in your orkut profile.Which of the following identities is taken by you by installing the application?

Question:* Which statements are incorrect with regard to the implementation of OpenSocial (v0.7)?

Question:* What is the purpose of the "gadgets.util.escapeString" function?

Question:* Which of the following request is sent to the apiserver when an OpenSocial API wants to call the Google App Engine server for data,?

Question:* Which of the following are the constant identifiers in OpenSocial API?

Question:* What is the function of the "makerequest()" method in OpenSocial API (v0.7)?

Question:* Which of the following are the supported keys for the Url.getField() method.?

Question:* You can embed flash objects with OpenSocial (v0.7).

Question:* You want to build an OpenSocial API, and you want to configure the API to be run on version 0.7? Which of the following statements is the correct configuration?

Question:* Which of the following methods are defined under "OpenSocial.Permission" namespace?

Question:* You have an OpenSocial API. You want to show the same OpenSocial API content in both 'profile' view and 'canvas' view. Which of the following is the correct code?

Question:* 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"];

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

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

Question:* 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?

Question:* What do you mean by "Activity" in OpenSocial API (v0.7)?

Question:* Which of the following type conventions are used in OpenSocial Gadgets API?

Question:* In RESTful Data API, the server interactions are handled by _______ protocol and the Authentication is handled by _____.

Question:* Which of the following languages are used for integrating OpenSocial API with Google App Engine?

Question:* Which of the following are the valid RequestParameters under 'gadgets.io. Parameters' namespace?

Question:* If you want to handle the error of maximum usage of "Quotas" in OpenSocial (v0.7), which object field of the class "OpenSocial.ResponseItem.Error" will be used to handle the error?

Question:* Which of the following namespaces are included in OpenSocial JavaScript API (v0.7)?

Question:* In OpenSocial API, the "gadgets.Prefs" namespace enables the end user to _____.

Question:* Which of the following are authorizations of API supported Gadgets in OpenSocial API (v0.7)?

Question:* Which of the following user general profile fields cannot be accessed in orkut applications for OpenSocial (v0.7)?

Question:* Which of the following elements are present under <ModulePrefs > tag?

Question:* What is the fuctionallity of the "gadgets.MiniMessage" class in OpenSocial (v0.7)?

Question:* What does <ModulePrefs> section specify in OpenSocial (v0.7)?

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

Question:* When you add an application to orkut sandbox by using OpenSocial (v0.7), which of the following types of users can add the application?

Question:* Suppose you have an OpenSocial API with the name "message.xml". You have integrated the API with the Google App Engine. The Google App Engine has the configuration file named "app.yaml". Now you want to handle the request generated by the OpenSocial API to the Google APP Engine? Which file will you configure in order to handle the request?

Question:* Which of the following are the supported keys for the Person.getField() method.?

Question:* What is the functionality of the "getdomain" method in the Environment class in OpenSocial API (v0.7)?

Question:* IN OpenSocial, errors are returned through 'OpenSocial.ResponseItem.Error' namespace. Which of the following is not an error code?

Question:* You have done a lot of testing in your OpenSocial API and now you want to delete all the "Persistence Data". The following method is used to clear the data: var req = OpenSocial.newDataRequest(); req.add( req.newUpdatePersonAppDataRequest (OpenSocial.DataRequest.PersonId.VIEWER, --, --), "set_data"); req.send(set_callback); The above command has some arguments missing at --. Which of the following set of arguments will complete the above command?

Question:* Some of the classes and methods in the 'gadget.*' namespace are feature-specific. In which of the following tags must the'<Require feature="foo"/>' element be included in order to use them?

Question:* Persistence API provides a storage mechanism to save and load data. In which form is the data stored?

Question:* Which of the following are the components of the OpenSocial API (v0.7)?

Question:* Which of the following objects are defined in the 'add' method, under 'OpenSocial.DataRequest' namespace?

Question:* If the content is a feed and you want to fetch the number of entries in OpenSocial (v0.7), which object field of class "gadgets.io.RequestParameters" will be used?

Question:* You have a collection of multiple objects and you want to retrieve the size of that collection. Which of the following methods will you use in order to calculate the collection size?

Question:* In OpenSocial API, "OpenSocial.IdSpec.Field" namespace is used _____.

Question:* Which of the following Content Type Requests are handled by the gadgets.io.makeRequest(url, callback, opt_params) method?

Question:* What will the following code fetch for variable "xyz" in OpenSocial for Orkut? Var xyz=gadgets.util.getUrlParameters()["gadgetId"];

Question:* In Persistence API, the data store only accepts strings for storage, which means that you must convert complex data structures to strings before saving them. Which of the following functions is used to convert JavaScript objects and arrays to a string value?

Question:* Which of the following are compulsory for creating an OpenSocial (v0.7) application for Orkut?

Question:* What is shown in "Activity Stream" in an Orkut application using OpenSocial (v0.7)?

Question:* What kind of data can be saved and retrieved in OpenSocial API (v0.7)?

Question:* You have created an OpenSocial API "test.xml" and integrated it into Google App Engine. You don't want just anybody to be able to access your application data through the "test.xml" API. What should you do in order to restrict access to the users?

Question:* Which of the following Roles are defined in OpenSocial API (v0.7)?



No comments:

HTML5 Upwork (oDesk) TEST ANSWERS 2022

HTML5 Upwork (oDesk) TEST ANSWERS 2022 Question: Which of the following is the best method to detect HTML5 Canvas support in web br...

Disqus for upwork test answers