Which of the following represents a valid nested JSON array?
Choose 1 answer
Question 4 of 20
What is the correct way to represent an array of JSON objects, each containing a person's name and age?
Choose 1 answer
Question 5 of 20
In the following JSON, how would you access the second item in the 'cars' array?
{ "cars": [ "BMW", "Audi", "Ford" ] }
Choose 1 answer
Question 6 of 20
True or False: JSON arrays can contain multiple data types including strings, numbers, booleans, and objects.
Choose 1 answer
Question 7 of 20
Which of the following JSON structures represents an array of nested arrays?
Choose 2 answers
Question 8 of 20
What will happen if you try to parse the following JSON?
{ "name": "John", "age": 30, "skills": [ "JavaScript", { "level": "expert" } ] }
Choose 1 answer
Question 9 of 20
Which of the following is an example of JSON containing multiple data types?
Choose 1 answer
Question 10 of 20
Which of the following is a valid JSON array containing nested objects?
Choose 1 answer
Question 11 of 20
True or False: In a nested JSON object, an array can only contain primitive data types.
Choose 1 answer
Question 12 of 20
What is the best way to access the value of 'price' from the following JSON?
{ "products": [ { "name": "Laptop", "price": 1200 }, { "name": "Tablet", "price": 600 } ] }
Choose 1 answer
Question 13 of 20
Which of the following JSON examples best represents a person's information, including their name, age, and an array of addresses?
Choose 1 answer
Question 14 of 20
Which of the following data types are allowed in JSON arrays? (Select all that apply)
Choose 3 answers
Question 15 of 20
What is the result of parsing this JSON object?
{ "skills": [ "coding", { "language": "JavaScript" } ] }
Choose 1 answer
Question 16 of 20
Which of the following JSON structures correctly represents a list of students, each with a name and an array of scores?
Choose 1 answer
Question 17 of 20
What is the correct way to represent a JSON array of three different objects: a string, a number, and another JSON object?
Choose 1 answer
Question 18 of 20
In the following JSON structure, what type is the 'friends' property?
{ "name": "John", "friends": [ "Mike", "Anna" ] }
Choose 1 answer
Question 19 of 20
Which of the following is a valid way to represent a nested array of objects in JSON?
Choose 1 answer
Question 20 of 20
How would you access the 'role' value in this nested structure?
{ "team": { "manager": { "name": "Alice", "role": "lead" }, "members": [ "John", "Jane" ] } }