By OnlineInterviewQuestions

[Pages:4]By

JSON MCQ Quiz & Online Test

Take JSON Quiz To test your Knowledge

Below is the few JSON MCQ test that checks your basic knowledge of the JSON Framework. This JSON Test contains 20 Multiple Choice Questions with 4 options. You have to select the right answer to a question. Also, Read the Best JSON interview questions.

Q1. JSON stands for ________________

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

Q2. Which is correct format of writting JSON name/value pair

A. 'name : value' B. name = 'value' C. name = "value" D. "name" : "value"

Q3. Which of the following is not a type in JSON?

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

Q4. Who is the Father of JSON ?

A. Douglas Crockford B. Rasmus Lerdorf C. Douglas Michel

D. Dennis Ritchie

Q5. What is correct MIME type for JSON ?

A. application/js B. application/json C. json/mime D. application/xml

Q6. What extension in used to save a JSON file?

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

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

A. It controls spacing in the resulting JSON string B. It is an optional parameter C. It removes whitespace D. All are false

Q8. Can you use a double quote inside a JSON string?

A. No, you should use single quotes B. Yes, if you use the ascii code. C. Yes, if it is escaped like ( \" ) D. Yes, you can use it without any special treatment

Q9. For What is a JSONStringer used for?

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

Q10. Is JSON Case sensitive ?

A. Yes B. No

Q11. What are two main structures compose JSON?

A. Arrays and Objects B. Keys and values C. Class and Objects D. None of above

Q12. How do JSON provide Internationalization?

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

Q13. JSON strings have used in___.

A. Double quote B. Single quote C. Both 1 & 2 D. None of These

Q14. What is the common usage of Json on modern websites?

A. To send and receive bits of data B. To store information remotely C. To store information locally D. All of the Above

Q15. JSON elements are separated by the -

A. line break B. semi-colon

C. comma D. white space

Q16. Which of the following code will throw an error?

A. JSON.parse(`{}'); B. JSON.parse(null); C. JSON.parse(undefined); D. JSON.parse(`[]');

Q17. Does JSON supports the Unicode characters?

A. Yes B. No

Q18. __________is not a valid way to parse JSON string.

A. JSON.parse() B. JSON.eval() C. jQuery.parseJSON() D. None of the above

Q19. JSONP stands for -

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

Q20. The MIME type of JSON is -

A. application/json B. application/x-json C. application/javascript D. text/json Please Visit to download more pdfs

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download