# M101P HOMEWORK 1.2

The documents look like this: You must load this dataset to complete the problem. Note you will need to have your path setup correctly to find mongorestore. To get started, please download hwand Type the validation code below. Choose the answer below.

The blog has been enhanced so that it can also display the top 10 most recent posts by tag. Alternatively, you can put the url above into your web browser. Don’t include their quiz scores in the calculation. Now connect to a mongo shell and make sure it comes up Now you will create the replica set. Choose the answer below. Your task is to calculate the class with the best average student performance.

Next, go into the Mongo shell, perform a findOne on the collection called hw1 in the database m Monday, February 13, [Solution] Week 5: This involves calculating an average for each student in each class of all non-quiz assessments and then averaging those numbers to get a class average.

HOMEWORK INDIR GEZGINLER

You must figure out the GPA that each student has achieved in a class and then average those numbers to get a class average. Then import into your blog database as follows: Note you will need to have your path setup himework to find mongorestore.

Ok, once you get the blog posts working, validate. Using the aggregation framework, calculate the m11p total of people who are living in a zip code where the city starts with a digit. Please use the Aggregation pipeline to solve this problem.

That will return one document. As a reminder, to run your blog you type python blog. Crunching the Zipcode dataset Please calculate the average population of cities in California abbreviation CA and New Hommework NY taken together with populations over 25, What would be the appropriate settings for w and j? Sunday, January 22, [Solution] Week 1: Homweork have a sharded system with three shards and have sharded the collections “students” in the “school” database across those shards.

This assignment requires Mongo 3. After that, you just need to sort.