• Admin
  • 04th Jul, 2020

JSON MCQ Quiz & Online Test

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

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

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

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

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

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

4) 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

5) What does JSON stands for?

  • A. JavaScript Output Name
  • B. JavaScript Object Notation
  • C. Java Source Open Network
  • D. Java Standard Output Network
Download Free : JSON MCQ PDF

6) 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

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

  • A. Yes
  • B. No

8) What is the standard MIME type for JSON?

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

9) How do JSON provide Internationalization?

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

10) JSON strings have used in___.

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

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

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

12) 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

13) The Father of JSON is

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

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

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

15) Is JSON a programming language?

  • A. Yes
  • B. No

16) Is the order of JSON objects always preserved?

  • A. Yes
  • B. No

17) JSON elements are separated by

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

18) What two main structures compose JSON?

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

19) What is the MIME type of JSON?

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

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

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

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

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

22) Is whitespace matters in json?

  • A. Yes
  • B. No

23) 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

24) ........... code will throw an error.

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

25) What does JSONP stands for?

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

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

Laravel MCQ
React JS MCQ
AngularJs MCQ
Node js MCQ
Angular 2 MCQ