Question
Question Four[20 marks] mongoDB ques Consider the following scenario and answer the following questions: - Arab Open University accommodates students in various disciplines. Every Student
Question Four[20 marks] mongoDB ques
Consider the following scenario and answer the following questions: -
Arab Open University accommodates students in various disciplines. Every Student is identified by Student Id. Student name, Contact, Address, and Department are the other details in the student collection recorded in the University. WayNo, Street, City and Country are the different sections of the address. Department details include Department Id and Department name and Contact includes Phone number and email.
- a. Write an embedded student document schema in MongoDB as per the student details given in the above scenario. (You can use any values for the fields) [8 marks]
b. List any 1 advantage and disadvantage of embedded data model in the context of the above embedded document schema. [2 marks]
- a. Update the above embedded student document and describe the relationships in the document using references. [8 marks]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started