JSON Format Quiz
3 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which of the following is a valid way to represent a class 6 student in JSON format?

  • {'student': {'name': 'Emma', 'grade': 'VI', 'age': 12, 'subjects': {'math': true, 'science': true, 'english': true}}}
  • {'class': 6, 'students': [{'name': 'Alex', 'age': 10, 'subjects': ['Biology', 'History', 'Geography']}, {'name': 'Sophia', 'age': 11, 'subjects': ['Physics', 'Chemistry', 'English']}]
  • {'name': 'John', 'class': 6, 'age': 11, 'subjects': ['Math', 'Science', 'English']} (correct)
  • {'grade': 6, 'roster': [{'name': 'Liam', 'age': 11, 'courses': ['Algebra', 'Biology', 'Literature']}, {'name': 'Olivia', 'age': 12, 'courses': ['Physics', 'Chemistry', 'Grammar']}]}
  • What is the correct example of JSON format?

  • {'prompt': 'Choose the right answer', 'choices': ['A', 'B', 'C', 'D'], 'correct': 'C', 'explanation': 'Explanation of the correct answer'}
  • {'question': 'Sample question', 'options': {'a': 'Option A', 'b': 'Option B', 'c': 'Option C', 'd': 'Option D'}, 'answer': 'a', 'info': 'Additional information about the answer'} (correct)
  • {'Q': 'Pick the correct response', 'opts': {'a': 'Choice A', 'b': 'Choice B', 'c': 'Choice C', 'd': 'Choice D'}, 'ans': 'b', 'details': 'Further details about the answer'}
  • {'query': 'Select the best choice', 'choices': ['Option 1', 'Option 2', 'Option 3', 'Option 4'], 'correct_choice': 'Option 3', 'additional_info': 'More details about the correct choice'}
  • Which of the following is a valid way to structure the information for a class 6 exam schedule in JSON format?

  • {'class': 6, 'tests': [{'subject': 'Mathematics', 'scheduled_date': '2022-05-10', 'scheduled_time': '09:00'}, {'subject': 'Science', 'scheduled_date': '2022-05-12', 'scheduled_time': '11:00'}, {'subject': 'English', 'scheduled_date': '2022-05-15', 'scheduled_time': '10:00'}]}
  • {'class': 6, 'exams': [{'subject': 'Math', 'date': '2022-05-10', 'time': '09:00'}, {'subject': 'Science', 'date': '2022-05-12', 'time': '11:00'}, {'subject': 'English', 'date': '2022-05-15', 'time': '10:00'}]} (correct)
  • {'school_class': '6th grade', 'test_dates': {'math': '05/10/2022', 'science': '05/12/2022', 'english': '05/15/2022'}, 'test_times': {'math': '9:00 AM', 'science': '11:00 AM', 'english': '10:00 AM'}}
  • {'grade': 6, 'schedule': [{'exam': 'Math', 'date': '10-05-2022', 'time': '09:00'}, {'exam': 'Science', 'date': '12-05-2022', 'time': '11:00'}, {'exam': 'English', 'date': '15-05-2022', 'time': '10:00'}]}
  • More Like This

    JSON Format Quiz
    6 questions
    JSON Format Quiz
    3 questions

    JSON Format Quiz

    WellRunSkunk avatar
    WellRunSkunk
    JSON Format Quiz
    3 questions

    JSON Format Quiz

    InspiringSalmon avatar
    InspiringSalmon
    Use Quizgecko on...
    Browser
    Browser