Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question Four(20 marks Consider the following scenario and answer the following questions: - Arab Open University accommodates students in various disciplines. Every Student is identified
Question Four(20 marks 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. 1. 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] 2. a. Update the above embedded student document and describe the relationships in the document using references. [8 marks) b. List the advantages of using references to describe the related data in the context of the above scenario. [2 marks] Question Four(20 marks 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. 1. 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] 2. a. Update the above embedded student document and describe the relationships in the document using references. [8 marks) b. List the advantages of using references to describe the related data in the context of the above scenario. [2 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