Tuesday, February 25, 2014

Joomla1 test answer for oDesk

Hi Friends,
Today i am sharing with you Joomla1 test answer for oDesk. I am sure you will be get better result.

Question no.1: what is the default super administrator account for Joomla called?



Ans: Administrator.

Question no.2: which of the following PHP directives are important to Joomla execution to define alternate compression library if the standard library is notavailable?

Ans: extension_ dir

Question no.3: which of the following files is archive and contains the actual CB component that you must install  into Joomla while downloading CB?

Ans: com _ comprofiler 

Question no.4: which option will you choose to set the site metadata for the installed website?

Ans: global configuration

Question no.5: what will happen if we set the SSL enabled option to On?

Ans: the option will make  the link from the menu begin with an http://

Question no.6: the core editor events apply to plug ins that provide editor functionally such as Tiny MCE or Xstandard Lite.

Ans: true.

Question no.7: which PHP file does the index . PHP file load to provide the menu bar to the administrator interface?

Ans: toolbar.PHP

Question no.8: which of the given database system to supported by Joomla?

Ans: Mysql 

Question no.9: which of the following is the default editor of Joomla?

Ans: TinyMAC 

Question no.10: Joomla provides an abstracted method called get Escaped() that returns the escaped string regardless of the target database.

Ans:  false.

Question no.11: from which package are the classes (i.e JSite, JAdministrator , and JInstallation) which make up the Joomla CMS application extended?

Ans: installer.

Question no.12: what is not true about Joomla Xplorer?

Ans: none of the above.

Question no.13: which of the following is a system event?

Ans: OnDisplay

Question no.14: which Joomla file provides the central logic of the template,including any module and component display?

Ans: index.php

Question no.15: when will you use STMP authentication mail settings?

Ans: when you want to use an internal mail server.

Question no.16: what do you understand by the type of error?

Ans: it means that STRICT_ALL_TABLES is enabled.

Question no.17: which path variable holds the path of the currently executing applition?

Ans: all of the above.

Question no.18: which user events occur with plug ins that are installed for the front end of the system?

      Ans: both a and b

Question no.19: which type of positioning elements define a concrete area such as a p, td,div or table in a CSS file?

Ans: block element.

Question no.20: which of the following files does the "/includes" directory not contain?

Ans: none of above

Question no.21: why does Joomla use template Details .xml files?

Ans: all of the above   

Question no.22: which of the following events is activated after content rendering is complete for content type plug ins?

Ans: on after Display Content

Question no.23: all the Joomla settings are contained within a PHP class called JConfig

Ans: true

Question no.24: there are two roots classes for the Joomla frame work: JFactory and JVersion.

Ans: true.

Question no.25: what is not true about the MD5 hash value?

Ans: each password in Joomla is stored as a MD5 hash value.

Question no.26: which option will you select to find unpublished articles?

Ans:Article Manager  

Question no.27: which type of files can media manager not upload?

Ans: none of above.

Question no.28:  which type of server technology is used by Joomla?

 Ans: all of the above.

Question no.29: which of the following is not true about the front page manager?

Ans: you can't select your content for the front page all the contents. 

Question no.30: which among the following switches display the current version of PHP?

Ans: v 

Tuesday, February 4, 2014

Knowledge of Open Social Test Question

Question no.1: what will the following code fetch for variable "xyz" in open social for "ORQUT"?
a. current user ID
b.owner user ID
c.application ID
d.view ID


Question no.2: what do you mean by "Activity" in open social API (v0.7)?
a.action performed by a user
b.addition of a new user
c.deletion of an existing user
d.moderation of user
e.none of the above

Question no.3: what is the functionality of the "getdomain" method in the environment class in the open social API(v0.7)?
a.it displays the url of application
b.it gives the current site on which the application runnig
c.it gives information about the gadget url and the language used
d.all of the above

Question no.4: you have a collection of a 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?
 a.getTotalSize()
b.size()
c.getcollectionSize()
d.getsize()

Question no.5: which of the following are compulsory for creating an OpenSocial(v0.7) application for Orqut?
a.orqut ID
b. standbox access
c.Google page hosting
d.database access
e.text editor

Question no.6: 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?
a.gedgets.util.registerOnLoadHandler(getfriends);
b.gadgets.io.makeRequest.getfriends();
c.gadgets.util.registerOnLoadHandler.getfriends();
d.gadgets.io.makeRequest(getfriends);

Question no.7: in Restful Data API , the server intersections are handled by  __________ protocol and the authentication is handled by__________.
a.HTTPS, OAuth
b.AtomPub,BBAuth
c.HTTPS, BBAuth
d.AtomPub,Oauth

Question no.8: Some of the class and methods in the 'gadget*.'namespace are feature spccific.
in which of the following tags must the <Require feature="foo"/> element be included in order to use them.
a.<content>
b.<module>
c.<CData>
d.<Module Prefs>

Question no.9: suppose there is an OpenSocial API named 'Messages' which is integrated with the Google APP Engine. through which of the following API namespace will OpenSocial app make calls and get data from API hosted on Google App Engine?
a.gadgets.io.MethodType(get)
b.gadgets.io.makeRequest
c. OpenSocial . DataRequest   
d.OpenSocial .newDataRequest()

Question no.10: which of the following are the supposed keys for the Url.getField() method?
a.Address
b.Link_Text
c.Type
d.Refferer

Question no.11: you can embed flash objects with OpenSocial(v0.7).
a.true
b.false

Question no.12: if you want to handle the error of maximum usages of "Quotas" in OpenSocial (v0.7) . which object field of the class "OpenSocial.ResponseItem.Error" will be used to handle the error?
a.Bad_request
b.Forbidden
c.Internal_Error
d.Not_Implemented
e.Unauthorized

Question no.13: you can send mails to friends by using OpenSocial (v0.7) for Orkut  application?
a.True
b.false

Question no.14: what does <Module Prefs> section specify in OpenSocial(v0.7)?
a.characteristics of the gadgets
b.controls that allow the users to specify settings for the gadgets
c.programming logic of the gadget
d.language used in the gadget

Question no.15: what will happen if "&bpc=1" appended to an orkut application canvas page url as querystring?
a.it will retain the cache of the page
b.it will load a fresh copy of the page
c.it will create cookies for the specific page  
d.it will create language specific views for the page.

Question no.16:  what kind of data can be saved and retrieved in OpenSocial API (v0.7)?
 a.per-user
b.global application
c.per-application
d.per-application instance

Question no.17: in the process of integrating OpenSocial API with Google App Engine , You do not need maintain any servers.
a.true
b.false

Question no.18:what is the purpose of the "gadgets.util.escapeString" function?
a. it is used  to HTML decode the string
b.it is used to escape special characters in a string
c.it is used to escape invalid string codes
d.it is used to HTML encode the string 
  
Question no.19: what is the functionality of the "gadgets. MiniMessage"class in the OpenSocial(v0.7)?
a.to create message that will appear to the user within the gadget
b.to create  message which are being displayed on the main menu
c.to create message which are used to send email  to friends
d.to create message to access data from other web servers.

Question no.20: persistence  API provides a storage mechanism to save and data.in which from the data stored?
a.it is stored in the form of data object
b.it is stored in the form of XML
c.it is stored in the form of encrypted codes
d.it is stored in the form of key / value pairs

Question no.21:in OpenSocial API ."OpenSocial.idSpec.Field"namespace is used 
a.to get the groudpid  of the user
b.to get the titleid of the message in message template
c.to get the userid of the user
d.to get the network distance between two users

Question no.22: if the content is a feed and you want to feed and you want to fetch the of entries in OpenSocial (v0.7) .which object field of class "gadgets.io.RequestParameters" will be used?
a.authorization
b.content_type
c.get_summarise
d.headers
e.methods
f.num_entires
g.post_Data

Question no.23: which of the following are the valid Content Types under 'gadgets.io.ContentType' namespace?
a.Dom
b.Feed
c.Script
d.Json

Question no.24: 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?
a.gadgets .json.stringfy
b. gadgets.io.stringfy
c.gadgeds.io.encode values
d. gadgets.io.text

Question no.25: which of the following are the components of the OpenSocial JavaScript API (v0.7)?
a. JavaScript Api
b.gadgets
c.Google App Code
d.Restful API  

Question no.26: which of the following namespaces are included in OpenSocial JavaScript API (v0.7)?
a.OpenSocial -0.7
b.MyOpenSpace
c.OpenSocial
d.Gadgets

Question no.27: which of the following type convention are used in OpenSocial Gadgets API?
a.Array<T>
b.var
c.string
d.Map<K,V>
e.int 

Question no.28: which of the following methods are defined under "OpenSocial.Permission"
namespace?
a. OpenSocial.hasPermission()
b. OpenSocial.Permission.Viewer
c. OpenSocial.requestPermission()
d. OpenSocial.getPermission()

 Question no.29: what is shown in "Activity Stream" in an Orkut application using OpenSocial (v0.7)?
a. Newly added application in orkut
b. Newly added themes in orkut
c. recently added community
d. Updates to friends

Question no.30: which of the following are authorized of API supported gadgets in OpenSocial API(v0.7)?
a.gadgets .io.AuthorizationType.AUTHENTICATED
b.gadgets.io.AuthorrizationType.SIGNED
c.gadgets.io.AuthorizationType.WEB
d.gadgets.io.AuthorizationType.FROM
e.gadgets.io.AuthorizationType.NONE

Question no.31: arrange in proper sequence how an application gets live in Orkut using OpenSocial  _________
(v0.7).(String ______ 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
a. 4,1,2,3
b.4,2,3,1
c.2,4,3,1
d.2,3,4,1

Question no.32: what is the function of the "gadgets .pubsub" namwspace in OpenSocial API (v0.7)?
a.it is used to create feed channels
b.it is used to publish messages to feed channels
c.it is used to subscribe gadgets to a messaging channels
d.it is used to unsubscribe gadgets from a messaging channels

Question no.33: with the help of the 'gadgets.io.makeRequest()' function in OpenSocial API , you can:
a.get a use'rs profile data
b.get a user's  friend list
c.delete "Persistance Data"
d.add a user to the friend list
e.fetch content from other web server and web pages

Question no.34: what is the function of the "makeRequest()" method in OpenSocial API (v0.7)?
a.it is used to add new content by the user
b.it is used to fetch content from other remote web servers and web pages
c.it is used to make a request for adding the specific application
d.it is used to make a request for accessing some perticular application

Question no.35: which of the following are the constant identifier in OpenSocial API?
a. owner
b. viewer
c. users
d. viewer_friends  

Question no.36: which of the following languages are  used for integrating OpenSocial API with Google App Engine?
a. javascript
b.HTML
c.C++
d.json
e.python

Question no.37: which of the following content type requests are handled by the gadgets.io.makeRequest (url,            callback,                             opt params)
a.Text request
b. DOM request
c.HTTP request
d.JSON requests
e.FEED requests

Question no.38: you can to build an OpenSocial API ,and you want to configure the API to be run on verson 0.7? which of the following statements is the correct configuration?
a.<EnumValue feature ="OpenSocial-0.7"/>
b.<require feature = "OpenSocial-0.7"/>
c.<EnumValue Version ="OpenSocial-0.7"/>
d.<require version = "OpenSocial-0.7"/>  

Question no.39: which of the following are supported keys for the person .getField() method?
a. About_me
b.Nickname
c.Links
d.Trun_offs

Question no.40: when you add an application to orkut sandbox by using OpenSocial (v0.7), which of the following types of users can add the application?
a.orkut users with sandbox access
b.the application creator and his friends
c.any orkut user
d.none of the above

Question no.41: which of the following "Data request" methods will be used in order to read , write, and clear data from persistence API?
a.newFetchPersonRequest(idSpec, opt_params)
b.newFetchPersonAppDataRequest(idspec , keys)
c.newFetchPeopleRequest(idSpec,opt_params)
d.newUpdatePersonAppDataRequests(id, key , value)

Question no.42: in OpenSocial API , the "gadgets . prefs" namespace enables the end user to ___________
a.set preference of the OpenSocial API
b.set OpenSocial API module dimensions
c.handle messages in API
  d. set Permissions of the API 

Question no.43: which of the following request is sent to the API server when an OpenSocial API wants to call the Google App Engine server for data?
a.fetch_data
b.get_data
c.get
d.call

Question no.44: which of the following are valid RequestParameters under "gadgets.io.parameters" namespace?
a.post_data
b.Get_data
c.content_type
d.set_data

Question no.45: 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?
a.<content type = "html"view="(profile canvas)">
b.<content type="html"view="all">
c.<content type= "html"view="profile canvas">
e. any of the above can be used