Home > Microsoft > Quizzes > JSON Fundamentals Test
JSON Fundamentals Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 26% Most missed: “What keywords are reserved in JSON and cannot be used as keys?”
JSON Fundamentals Test
Time left 00:00
25 Questions

1. In this example - what is the TYPE of employee.functions? { 'employee' : { 'type' : 'Director' - 'functions' : ['sales' - 'marketing'] } }
2. What is JSONP meant to mitigate?
3. Which of these is a benefit JSON has over XML?
4. What is used by the JSONObject and JSONArray constructors to parse JSON source strings?
5. In this example - what is the TYPE of employee? { 'employee' : { 'type' : 'Director' - 'functions' : ['sales' - 'marketing'] } }
6. What does JSONP stand for?
7. Which of the following number formats are not used in JSON?
8. Which statement about the replacer parameter in JSON.stringify() is true?
9. Is JSON case sensitive?
10. Which is true about JSON namespacing?
11. Does whitespace matter in JSON?
12. What is the file extension of JSON?
13. How does JSON being 'lightweight' translate into a benefit for the site visitors?
14. What is the value of obj in the following code? var obj = JSON.parse('{'animal': 'cat'}' - function(k - v) { if (k == '') return v else return 'dog'; });
15. When coding a string object in JSON - what must separate the string and the value?
16. Of the structures that encompass a value - which can be nested?
17. In what situation would you want to use XML over JSON?
18. Which of the following code will return a valid JSON object?
19. What two structures is JSON built on?
20. Which of these data interchange formats has seen a decline in usage in favor of JSON?
21. In the below notation - Employee is of type { 'Employee': [ 'Amy' - 'Bob' - 'John' ] }
22. What is the MIME type of JSON?
23. Which statement about the space parameter in JSON.stringify() is false?
24. JSON strings have to be in
25. Which of the following code will return a valid JSON object?