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

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]

  1. 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

Step: 3

blur-text-image

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

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions

Question

=+Could you create an interactive game on the website?

Answered: 1 week ago

Question

1. Identify outcomes (e.g., quality, accidents).

Answered: 1 week ago