Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Side panel ITDSA 2 - 1 2 Assessments ( 2 0 2 4 ) Formative Assessments Project 2 BOOK Project 2 Book Completion requirements 4
Side panel
ITDSA Assessments
Formative Assessments
Project
BOOK
Project
Book
Completion requirements
Deliverable : Database management CRUD Operations with MongoDB
Deliverable
Marks
Study the scenario and complete the questions that follow:
Eduvos Enrolment Database System
Enrolment department at Eduvos requires a new enrolment system and has therefore, contacted you to develop the database system for them. The database will keep records of the companys departments, instructors, modules, and students.
Each department at Eduvos has multiple instructors working under it though an instructor may only work in a single department. There are many modules offered at Eduvos, each with its own specialised instructor. Some instructors may have multiple modules. Modules are uniquely identified by a code the first three letters of its name, followed by an autoincremented number.
The classes at Eduvos are limited to at most fifty students, who should have an average of ten modules per year. Students are uniquely identified by their student numbers and all their details are stored on the system.The implementation of the above database design will facilitate efficient management of students, subject allocation, exams schedule, and departmental operations, supporting academic excellence and administrative processes within the institution.
Source: Obaro Adewale
Note:
In this section, all questions must be answered using queries only, except the ERD. Hence, failure to write query for any of the question automatically will attract zero
All queries in this section must be written in MongoDB platform only.
Any query written using other DBMS ide will automatically attract zero
Questions for Consideration Under Deliverable
Use the above scenario to answer the following questions:
Identify the entities in the given scenario, establish the applicable relationships between the identified entities and use this information to design an entity relationship diagram.
Marks
Create a database called EduEnrolment using query.
Marks
Create the identified five collections in the given scenario.
Marks
Store at least five records into each table collection based on the identified attributes into each entity.
Marks
Select all students STUDENT sorted by student name in ascending order.
Marks
Select all instructors INSTRUCTOR sorted by instructor identity in ascending and instructor name in descending order.
Marks
Write a query to obtain find the information of students STUDENT whose names begin with A
Marks
Update the MODULE collection by settingchanging any of its existing records to a new value and display the records in the MODULE collection to confirm the effect of the update operation.
Marks
Due to dynamic working requirements at Eduvos, an instructor resigned and ought to be deleted. Create a query capable of deleting the record of the instructor who resigned to prevent data inconsistency. Use any instructor ID of your choice, eg instructorID
Marks
Download ALL the database tables collections in JSON format and submit them as portfolio of evidence for working with a document database.
Note: Copy the JSON code and paste it into your submission.
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