UpWork (oDesk) & Elance JSON Test Question & Answers are really very important to pass UpWork & Elance test. You will get top score at this skill test exam. If you found any problem or wrong answer please inform me via contact or comments. We will try to solve it in short. This test is extremely valuable to acquire knowledge of JSON. Lets Start test.
Ques : Which of the following properties form part of the response to a JSON-RPC method invocation?
Ans : result + error + id
Ques : Which of the following methods is/are provided by JSONRequest?
Ans : get + cancel
Ques : Which of the following parameters can be passed in the JSONRequest.get request?
Ans : url + done
Ques : Which of the following is/are true with regard to JSONRequest?
Ans : It is a two way data interchange between any page and any server + It accumulates random delays before acting on new requests when previous requests have failed.
Ques : Which of the following properties are contained in the request for a JSON-RPC method invocation?
Ans : method+ params
Ques : Which of the following statements is/are not correct about the JSON-RPC?
Ans : It wraps an object, allowing you to call methods on that object and get the return values. + It allows for bidirectional communication between the service and the client.
Ques : Which of the following parameters can be passed in the JSONRequest.post request?
Ans : done+ send
Ques : Which of the following statements is/are true about modules with reference to JSON?
Ans : Modules cannot have negative CSS margins + The CSS display property of a module must be static.
Ques : Which of the following is a valid JSONPath expression?
Ans : $.store.book[0].title
Ques : Which of the following JSONPath elements represents the root object/element?
Ans : $
Ques : Which of the following parameter values cannot be serialized in JSONRequest?
Ans : send
Ques : Which of the following correctly describes the term tuple typing in JSON Schema?
Ans : It provides an enumeration of possible values that are valid for the instance property. It should be an array, and each item in the array should represent a possible value for the instance value.
Ques : Which of the following statements is correct about JSON?
Ans : It is a lightweight data interchange format.
Ques : What is the significance of the arrow before the following code in JSON?
--> { "method": "echo", "params": ["Hello JSON-RPC"], "id": 1}
Ans : It shows the data sent to the service.
Ques : In order to find the authors of all the books in the store, which of the JSONPath codes will you use?
Ans : $.store.book[*].author
Ques : What will be the output of the code shown above?
Ans : OpenDoc 3
Ques : In order to find the price of everything in the store, which of the JSONPath codes will you use?
Ans : $.store..price
Ques : Which of the following statements correctly describes the following syntax?
{"state":{optional:true},"town":{"required":"state",optional:true}}
Ans : An instance includes a state property and a town property which is optional.
Ques : Which of the following elements of JSONPath can be used to apply the filter(script) expression?
Ans : ?()
Ques : State whether true or false.
JSONRequest allows the connection when the Content-Type in both directions is an application/jsonrequest.
Ans : True
Ques : JSON does not allow you to create an empty object.
Ans : False
Ques : Which of the following correctly describes the disallow property of the JSON Schema?
Ans : This attribute may take the same values as the "type" attribute.
Ques : Which of the following correctly describes the function of the JSON.stringify method in JSON?
Ans : It converts a JavaScript object into a JSON string.
Ques : Which of the following properties should be declared first in order to define a schema from an instance?
Ans : $schema
Ques : Which of the following schema properties takes schema as value in JSON?
Ans : extends
Ques : While using JSONRequest.cancel, what will happen to the request if it is still in the outgoing message queue?
Ans : It will be deleted from the queue.
Ques : What does the [start:end:step] element of JSONPath signify?
Ans : it represents an array slice operator.
Ques : Which of the following schema properties does not need to be validated by JSON validators?
Ans : enum
Ques : Which of the following schema properties always has a unique value for all its instances in JSON?
Ans : identity
Ques : Which of the following features of JSON has the property of exemption from the same origin policy?
Ans : JSONRequest
Ques : In the above code snippet, what is the purpose of declaring the JSONRequest.post?
Ans : It will queue the request and return the request number.
Ques : Which of the following serialization formats is/are supported by JSON?
Ans : None of the above
Ques : If a schema property is declared false, which of the following attributes can not be used to extend the schema?
Ans : additionalProperties
Ques : Which syntax is correct for the jsonPath() function during the implementation of JSONPath?
Ans : jsonPath(obj, expr [, args])
Ques : In the code snippet below, which line contains an error?
Line1: {
Line2: "id":"person",
Line3: "type":"object",
Line4: "properties":{
Line5: "name":{"type":"string"},
Line6: "age":{"type":"integer"}
Line7: }
Line8: }
Line9: {
Line10:"id":"marriedperson",
Line11: "extends":{"ref":"person"},
Line12: "properties":{
Line13: "age":{"type":"integer",
Line14: "minimum":17},
Line15: }
Line16: }
Ans : Line 11
Ques : Which of the following correctly describes the JSON Schema?
Ans : It is intended to provide validation and interaction control of the JSON data.
Ques : Which of the following parameters of JSONRequest hold/s the information of implicit authentication and cookies during post operation?
Ans : send
Thanks for watching this test Question & Answers. Please don't forget to leave a comment about this post. You can also find some more effective test question & answers, information, techniques, technology news, tutorials, online earning information, recent news, results, job news, job exam results, admission details & another related services on the following sites below. Happy Working!
News For Todays ARSBD UpWorkElanceTests ARSBD-JOBS DesignerTab UpLance
We recommend you to subscribe us to get update from your email. EmoticonEmoticon