Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MongoDB Applied Design Patterns Practical Use Cases With The Leading NoSQL Database

Authors: Rick Copeland

1st Edition

1449340040, 978-1449340049

More Books

Students also viewed these Databases questions

Question

Different formulas for mathematical core areas.

Answered: 1 week ago