JSON Quiz
  

Q. What is the standard MIME type for JSON?

  • application/jsn
  • Json/application
  • application/json
  • Jsn/ application. 

Q. True or False: Objects can contain multiple name/values pairs.

  • True
  • False

Q. True or False: Data can be readily accessible using JSON objects.

  • True
  • False

Q. Parse the data with JSON.parse() and the data becomes a JavaScript object.

  • False
  • True

Q. GSON can convert any Objects into JSON and vice versa.

  • True
  • False

Q. FasterXML's Jackson can handle both JSON/non-JSON encodings.

  • False
  • True

Q. True or False: JSON is now being supported by almost all Programming languages.

  • True
  • False

Q. True or False: JSON is not a data format that can be used for asynchronous browser/server communication.

  • True
  • False

Q. True or False: In JSON Syntax, each name is followed by: (colon) and the name/value pairs are separated by ; (semicolon).

  • True
  • False

Q. True or False: Data can be readily accessible using JSON objects.

  • True
  • False

Q. JavaScript function JSON.parse() is to convert text into string.

  • True
  • False

Q. Which is wrong--(Why JSON over XML?)

  • XML data are not string by default
  • Retrieving values is as easy as reading from an object property
  • JSON objects are typeless while XML data is typed
  • Lighter but not faster than XML as on-the wire data format

Q. What is/ are correct statements about JSON?

  • The JSON format is often used for serializing and transmitting structured data over a network connection.
  • JSON is language-independent, with parsers for each language supported.
  • All of the options
  • JSON is a lightweight text-based open standard designed for human-readable data interchange

Q. Which statements is/are correct about JSON Syntax?

  • All of the options
  • subset of the JavaScript object notation syntax
  • Data is separated by comma
  • Data is in name/value pairs

Q. JSON.parse() function was developed as a safer alternative to

  • Go function()
  • eval()
  • Function() eval
  • call function()

Q. While receiving data from any web server, the data is always

  • string
  • scripting
  • javascript

Q. What is the true option applicable for JSON?

  • An unordered list of values
  • JSON object begins with { (left brace) and ends with } (right brace)
  • An ordered list of strings
  • JSON Array begins with { (left brace) and ends with } (right brace)

Q. Which is true about JSON Syntax?

  • A string (in multiple quotes)
  • An Object (in square brackets)
  • A string (in single quotes)
  • A Boolean (true or false)

Q. Functions added under Native JSON is

  • stringify) and parse()
  • exec()
  • parse()
  • stringify()

Q. What is the correct way to write a JSON array?

  • var colors = "red", "green", "blue"
  • var colors = 1 = ("red"), 2 = ("green"), 3 = ("blue")
  • var colors = (1:"red", 2:"green", 3:"blue")
  • var colors = ["red", "green", "blue"]

Q. What is the true option applicable for JSON Parser ?

  • None of the options
  • Used to convert a JSON text to a JavaScript object.
  • Used to compile and execute any JavaScript
  • It will not recognize only JSON text but it will compile scripts.

Q. Which would be better option to consider in a environment when you have big JSON file ?

  • Jackson
  • GSON
  • JSON simple
  • All the options

Q. What is JSON RPC?

  • None of the options
  • JSON-RPC is a simple remote procedure call protocol.
  • JSON-RPC is a simple remote procedure call protocol that uses the lightweight JSON format instead of XML.
  • JSON-RPC is a simple remote procedure call protocol. It uses the lightweight JSON format along with XML

Q. Apart from the regular JSON, we have other versions of JSON in use such as

  • JSONR
  • XSON
  • JSONP
  • JSONF

Q. JSON objects is/are ----

  • All of the options
  • Colon separator (:) Separates key and values
  • colon separator (:) Separates key and values
  • curly braces { } written in key/value pairs

 
Institute Finder



Enter Full Institute Name

Usefull Links
© 2021 Eduforum. All Rights Reserved.

Enter login details.

UserName Password

Recover Password

Enter your Registered Email Address to receive new password.
Subscribe Newsletter