• Admin
  • 29th Mar, 2021

JSON MCQ Quiz & Online Test

Following are mostly asked Json MCQ test that are designed for professionals like you to crack you interviews. You can take this Json online test before appearing to you real interview. This Json quiz there are around 30+ multiple choice questions on Json with four options.

1) JSON elements are separated by

  • A. comma
  • B. semi-colon
  • C. line break
  • D. white space

2) What does JSON stands for?

  • A. JavaScript Output Name
  • B. JavaScript Object Notation
  • C. Java Source Open Network
  • D. Java Standard Output Network

3) Which of the following is not a type in json?

  • A. Array
  • B. string
  • C. date
  • D. Object

4) Is whitespace matters in json?

  • A. Yes
  • B. No

5) Which of the following are the features of Json programming?

  • A. JSON is lightweight.
  • B. JSON is easy to read and write.
  • C. JSON is a text-based, human-readable data exchange format.
  • D. All of the Above
Download Free : JSON MCQ PDF

6) What two main structures compose JSON?

  • A. Key and value
  • B. Class and Object
  • C. Arrays and Objects
  • D. None of the above

7) Which is correct format of writting json name/value pair?

  • A. name : value'
  • B. name = "value"
  • C. "name" : "value"
  • D. All of the Above

8) Which of following statement is false about the space parameter in json.stringify() ?

  • A. It removes whitespace
  • B. It is an optional parameter
  • C. It controls spacing in the resulting JSON string
  • D. None of the above

9) The Father of JSON is

  • A. Dennis Ritchie
  • B. Douglas Michel
  • C. Rasmus Lerdorf
  • D. Douglas Crockford

10) What is the common usage of Json on modern websites?

  • A. To store information locally
  • B. To store information remotely
  • C. To send and receive bits of data
  • D. None of the above

11) How do JSON provide Internationalization?

  • A. Using keys
  • B. Using lang
  • C. Using Unicode
  • D. Using datatype

12) Which of the following extension in used to save a JSON file?

  • A. .on
  • B. .js
  • C. .json
  • D. .javaN

13) Can you use a double quote inside a JSON string?

  • A. Yes
  • B. No

14) A JSONStringer is used for?

  • A. To quickly create JSON text
  • B. To create JSON ordered pairs.
  • C. To quickly create number to JSON text.
  • D. To converts JSON to Java strings

15) What is the MIME type of JSON?

  • A. text/json
  • B. application/json
  • C. application/x-json
  • D. application/javascript

16) Apart from the regular json, we have other versions of json in use such as ________.

  • A. XSON
  • B. JSONP
  • C. JSONR
  • D. JSONF

17) What is the standard MIME type for JSON?

  • A. application/json
  • B. application/jsn
  • C. Json/application
  • D. Jsn/ application.

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

  • A. eval()
  • B. Go function()
  • C. call function()
  • D. Function() eval

19) JSON strings have used in___.

  • A. Single quote
  • B. Double quote
  • C. Both A & B
  • D. None of the above

20) At the granular level, JSON consist of ___________ data types.

  • A. 3
  • B. 4
  • C. 5
  • D. 6

21) ........... code will throw an error.

  • A. JSON.parse(‘{}’);
  • B. JSON.parse(‘[]’);
  • C. JSON.parse(null);
  • D. JSON.parse(undefined);

22) Which of the following is supported as a JSON Value type?

  • A. Null
  • B. NaN
  • C. Infiniti
  • D. Undefined

23) Is JSON a programming language?

  • A. Yes
  • B. No

24) What does JSONP stands for?

  • A. JSON Parsing
  • B. JSON Procedures
  • C. JSON with padding
  • D. JSON Programming

25) Is the order of JSON objects always preserved?

  • A. Yes
  • B. No

Json Online Test Questions (Json FAQs)

1) Is whitespace matters in json?

Yes, only within strings.

2) What two structures is json built on?

The two structures is json built on are objects and arrays.

3) What is the file extension of json?

.json is the file extension of json.

4) What is the standard mime type for json?

application/json is the standard mime type for json.

5) Who is the father of json?

Douglas Crockford is the father of JSON.

6) Which of the following is not a JSON Datatype?

In JSON values cannot be of a function, a date, undefined data types.

7) What is Full from of JSON?

Full from of JSON is JavaScript Object Notation.

8) At the granular level, JSON consist of

At the granular level, JSON consist of 6 data types. They are string, number, boolean, null/empty, object, and  array.

9) JSONStringer used for what?

JSONStringer is used for producing JSON text and it can strictly follow to JSON syntax rules.

10) JSON.eval() is used for?

JSON.eval() is used for interpreting and executing any JavaScript.

11) What is json rpc?

JSON-RPC is a remote procedure call protocol encoded in JSON. It is similar to the XML-RPC protocol, defining only a few data types and commands.

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

JQuery MCQ
MS Excel MCQ