JSON Fresco Play MCQs Answers
Quiz 1 on JSON Basics
1.True or False: JSON objects are typed while XML data is typeless.
- False
- True
Answer: 2)True
2.Who is the Father of JSON?
- Hakon Wium Lie
- Douglas Crockford
- Tim Berners-Lee
- Brendan Eich
Answer: 2)Douglas Crockford
3.Why JSON over XML?
- Lighter but not faster than XML as on-the-wire data format
- XML data are not string by default
- JSON objects are typeless while XML data is typed
- Retrieving values is as easy as reading from an object property
Answer: 4)Retrieving values is as easy as reading from an object property
4.True or False: Objects can contain multiple name/values pairs.
- True
- False
Answer: 1)True
5.What is the standard MIME type for JSON?
- Jsn/ application
- application/jsn
- Json/application
- application/json
Answer: 4)application/json
6.What is/are the correct statements about JSON?
- JSON is a lightweight text-based open standard designed for human-readable data interchange.
- JSON is language-independent, with parsers for each language supported
- The JSON format is often used for serializing and transmitting structured data over a network connection.
- All of theoptions
Answer: 4)All of theoptions
7.True or False: Data can be readily accessible using JSON objects.
- False
- True
Answer: 2)True
JSON Final Assessment
1.Why JSON over XML?
- XML data are not string by default
- Lighter but not faster than XML as on-the-wire data format
- Retrieving values is as easy as reading from an object property
- JSON objects are typeless while XML data is typed
Answer: 3)Retrieving values is as easy as reading from an object property
2.Functions added undef Native JSON is ____________________.
- exec()
- parse()
- stringify()
- stringify() and parse()
Answer: 4)stringify() and parse()
3.JavaScript function JSON.parse() is to convert text into string.
- True
- False
Answer: 2)False
4.Which would be better option to consider in a environment with distributed set-up with multiple small JSON files ?
- Jackson
- All the options
- GSON
- JSON simple
Answer: 3)GSON
5.True or False: In JSON syntax, square brackets can't holds arrays.
- False
- True
Answer: 1)False
6.Looping an Array is possible in JSON.
- False
- True
Answer: 2)True
7.What is the correct way to write a JSON array?
- var colors = 1 = ("red"), 2 = ("green"), 3 = ("blue")
- var colors = "red", "green", "blue"
- var colors = (1:"red", 2:"green", 3:"blue")
- var colors = ["red", "green", "blue"]
Answer: 4)var colors = ["red", "green", "blue"]
8.FasterXML’s Jackson can handle both JSON/non-JSON encodings.
- True
- False
Answer: 1)True
9.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)
Answer: 2)JSON object begins with { (left brace) and ends with } (right brace)
10.Which statements is/are correct about JSON Syntax?
- Data is separated by comma
- All of the options
- subset of the JavaScript object notation syntax
- Data is in name/value pairs
Answer: 2)All of the options
11.True or False: JSON objects are typed while XML data is typeless.
- False
- True
Answer: 2)True
12.What are true about JSON Arrays?
- values should be comma-separated
- can store single value
- { (square bracket) } is used to represent array
- values should be semicolon-separated
Answer: 1)values should be comma-separated
13.Which is true about JSON Syntax?
- An Object (in square brackets)
- A string (in single quotes)
- A string (in multiple quotes)
- A Boolean (true or false)
Answer: 4)A Boolean (true or false)
14.Apart from the regular JSON, we have other versions of JSON in use such as ________.
- JSONF
- JSONR
- JSONP
- XSON
Answer: 3)JSONP
15.Which would be better option to consider in a environment when you have both big JSON file & multiple small JSON files to deal with?
- JSON simple (regular)
- GSON
- Jackson
- All the options
Answer: 1)JSON simple (regular)
16.JSON can support sending, reading, and receiving texts available in any real-world business scenario.
- True
- False
Answer: 1)True
17.What are the true options applicable for JSON Parser?
- Used to compile and execute any JavaScript
- Used to convert a JSON text to a JavaScript object.
- None of the options
- It will not recognize only JSON text but it will compile scripts.
Answer: 2)Used to convert a JSON text to a JavaScript object.
18.JavaScript function JSON.stringify() is to convert JSON Object into a string.
- False
- True
Answer: 2)True
19.GSON can convert any Objects into JSON and vice versa.
- True
- False
Answer: 2)False
20.Which API for JSON processing can consume/produce streaming JSON text?
- GSON
- XSON
- JSONR
- JSONP
Answer: 4)JSONP
- List of Fresco Play Courses without Hands-On | Fresco Play
- HMTL5 Semantics Elements MCQs Answers | Fresco Play
- HMTL5 Semantics Elements Hands-On Solutions | Fresco Play
- Styling with CSS3 Hands-On Solutions | Fresco Play
- Blockchain Intermedio MCQs Answers | Fresco Play
- Blockchain - Potentes Nexus MCQs Answers | Fresco Play
- Azure Essentials MCQs Answers | Fresco Play
- AWS Essentials MCQs Answers | Fresco Play
Handson answers pls
ReplyDeletePost a Comment
Any comments and suggestion will be appreciated.