Home > CompTIA A+ Exam > 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. What is a JSONStringer used for?
2. When coding a string object in JSON - what must separate the string and the value?
3. What kind of format is JSON - and what does the acronym mean?
4. Which of these is proper a JSON array?
5. How does JSON handle numeric values that cannot be represented by a sequence of digits (like Infiniti and Nan)?
6. True or false? The order of elements in JSON arrays is always preserved.
7. Does JSON internally handle validation?
8. What error does JSON.parse() throw when the string to parse is not valid JSON?
9. What two structures is JSON built on?
10. Which of these is supported as a JSON Value type?
11. Which of the following code will return a valid JSON object?
12. Which of the following number formats are not used in JSON?
13. Which statement about the space parameter in JSON.stringify() is false?
14. Which of the following is not a valid way to parse JSON string?
15. What is the value of json in the following code? var days = {}; days['Monday'] = true; days['Wednesday'] = true; days['Sunday'] = false; var json = JSON.stringify({x: days});
16. In this example - what is the VALUE of employee.type? { 'employee' : { 'type' : 'Director' - 'functions' : ['sales' - 'marketing'] } }
17. Which of the following code will throw an error?
18. What is JSONP meant to mitigate?
19. True or false? A disadvantage of JSON is that it requires the use of JavaScript.
20. Which of these data interchange formats has seen a decline in usage in favor of JSON?
21. Which answer represents the following order of TYPES? Object - String - Boolean - Number
22. Which of the following code will not throw an error?
23. In the below notation - Employee is of type { 'Employee': { 'Name': 'Amy' - 'Age': 25 } }
24. In this example - what is the TYPE of employee.functions? { 'employee' : { 'type' : 'Director' - 'functions' : ['sales' - 'marketing'] } }
25. Is JSON case sensitive?