Explain the structure of the database

Assignment Help Programming Languages
Reference no: EM132110140

NoSQL Database Assignment Using MongoDB

Background

Movie Maniacs is a site which lists top charts of movies and have put an emphasis in follower engagement. They are active on Facebook and Twitter and share the latest updates and news to their followers. However, they have recently decided to create a page where viewers can rate the movies on the list and leave comments for others to see. They have asked you to come up with a database using MongoDB to be able to store their movie lists and allow viewers to easily rate and review the movies.

Movie Details
- Every movie has a unique identifier
- Some movies have a series title
- Every movie has at least one Director and a list of leading actors
- Some movies have won Oscars
- Movies can have multiple reviews, one review or no reviews made
- Reviews are made by anyone, who only need to supply a name
- Reviews consist of a rating out of 10 and any comments

There are two parts to this assignment. Part A is the creation of the database in MongoDB and Part B is the report.

Part A - Database

- Create a MongoDB database using the data provided to you in the MovieData_Task2.xls spreadsheet. (There should only be one collection movies with each movie as a single document).
- Insert data from the provided .xlsx file into MongoDB using the insert command
- Create indexes which you think will be needed and beneficial
- Create the following queries (all output should be displayed in a formatted way):
o List all the movies in the collection
o List the movies that are from Japan
o List just the directors name(s) for every movie
o List the distinct names of every director
o Count the number of movies in the list
o Return only the movies that have won at least one Oscar
o List the movies that were released before 1980
o Return the title and average rating of each movie
o Return the title of movies that have had no ratings or comments
- Update the title of movie 6 to "E.T."
- Add a new field called notes to the following movies:
o 12 Terminator and Terminator 2 are rated together
o 18 The trilogy consists of the three movies

Part B - Report
For the report you are required to explain the structure of the database you created. This includes justifying the indexes you created. You need to describe how the relationships were handled in the database. In your report, discuss potential alternatives to how the relationships could have been modeled and implemented in MongoDB and the benefits/issues of each. Provide recommendations to Movie Maniacs for any additional functionality for the database.

Specific Instructions

For Part A you are to submit a single plain text file, named
<studentNumber>_mongoDB.txt.

In this file you are to include all the commands for your implementation. For Part B you are to submit a report in a word document or PDF.

Attachment:- Assignment.rar

Reference no: EM132110140

Questions Cloud

What are the consequences of the problem : What are the consequences of the problem? What is at stake (financial, personal, efficiency, etc.) in it not being solved?
What are the cash flows from interest : Mistril Ltd provides the following information for the period ended 30 June 2015: What are the cash flows from interest, dividends and tax for the period
Demonstrating how to implement logic involving sequence : Demonstrating how to implement logic involving sequence, selection, and repetition using Visual Basic.
Was he or she effecive in leading you as part of the team : According to the Sarin and O'Connor (2009) article, certain style and goal structures of team leaders have a strong influence on internal team dynamics.
Explain the structure of the database : ICT704 - Non-Relational Database Systems - Provide recommendations to Movie Maniacs for any additional functionality for the database
Discuss the limitations associated with attack trees : Research and discuss the limitations associated with attack trees and attack libraries.
What are the weaknesses of each algorithm : How each of these algorithms can be broken or stated more plainly, what are the weaknesses of each algorithm?
Why should duties be segregated : Why should duties be segregated? How can management determine if duties are properly segregated?
How disciplined imagination strategy works in fast paced : What are the advantages and limitations of discipline and imagination strategies and which one is more effective?

Reviews

len2110140

9/11/2018 3:52:51 AM

PART A: Database Implementation (65 marks made up of) - Create a MongoDB database (5 marks) - Insert data into MongoDB using the insert command (5 marks) - Create indexes (5 marks) - Create the queries and other actions (50 marks total) PART B: Report (35 marks made up of) o Database description (10 marks) o Alternative modeling discussed (10 marks) o Justification of indexes chosen (10 marks) o Recommendations (5 marks)

len2110140

9/11/2018 3:52:36 AM

Submit your assignment in the link under Assessment->Task 2 on Blackboard. The submission link will be open a week before the due date. Please follow the submission instructions provided. The assignment will be marked out of a total of 100 marks and forms 40% of the total assessment for the course. ALL assignments will be checked for plagiarism by SafeAssign system provided by Blackboard automatically. Refer to your Course Outline or the Course Web Site for a copy of the “Student Misconduct, Plagiarism and Collusion” guidelines.

Write a Review

Programming Languages Questions & Answers

  Write code to concatenate strings separated by space

Write a few lines of code (need not be a separate function) to: Concatenate strings a and b separated by space into a string f. Print it.

  Explain programming language is machine independent

Explain what does it mean to say that programming language is machine independent? What do you mean by operator precedence? Depending on operator precedence, what values could be related with expression 6 + 2 * 3?

  Prepare the logic for a program which performs arithmetic

create the logic for a program that performs arithmetic functions. design the program to contain two numeric variables.

  Program that asks for user-s age

Write a program that asks for user's age. Based on their response print "You can vote" (18 years old or older) or "You can't vote".

  Design logic that continuously prompt user for numeric value

Design the logic for a program that continuously prompts a user for a numeric value until the user enters 0. The application passes the value in turn to a method that squares the number

  Write a class that simulates managing a simple bank account

Write a class that simulates managing a simple bank account. The account is created with an initial balance. It is possible to deposit and withdraw funds, to add interest, and to find out the current balance.

  Compute the product xy

Given two integers X and Y compute the product XY (multiplication), the quotient X=Y (integer division), and the modulus X (mod Y) (remainder).

  Draw the syntax diagrams for each of the grammar elements

Show/Draw the syntax diagrams for each of the grammar elements above. Hyperlink reference not valid. Show the parse trees (which can be generated in ANTLRWorks) for each of the following sentences.

  Op-codes-add microcode to overlapping address ranges

Bmov a,b,n. This Block Move instruction moves n bytes of data from location a in memory to location b. Deal correctly with case of overlapping address ranges.

  What is inheritance and why would we want to use it

What is inheritance and why would we want to use it? When using inheritance, does a subclass inherit both variables and methods of the super class? Justify your answer to part b)

  Application for calculation

Which school had the most kids playing basketball

  Design and implement set of classes to model employees

Design and implement a set of classes to model the employees of a hospital: doctor, nurse, administrator, etc. Include methods in each class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd