We will be using a data set similar to ones we’ve used before. At the end I just want to say if you want to learn mongoDB, First practice with youself. Your task is to calculate the class with the best average student performance. A city might have multiple zip codes. Prefered Cities to Live!

Those students achieved a class average of Friday, 8 September Week 5: For this set, there are only documents and zip codes , and all of them are in New York, Connecticut, New Jersey, and California. Once you’ve generated your aggregation query and found your answer, select it from the choices below. Check all that apply. After that, you just need to sort. Try for your self.

## Faculté des Lettres et des Sciences Humaines ben M’Sik Casablanca –

Check all that apply. A city might have multiple zip codes. 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.

Then import into your blog database as follows:.

Also, you will need a filtering step to get rid of all documents where the city does not start with the select set of initial characters. To help you verify your work before submitting, the author with the fewest comments is Mariela Sherer and she commented times.

Using the aggregation framework, calculate the sum total of people who are living in a zip code where the city starts with one of those possible first characters. Prefered Cities to Live!

You need to group twice to solve this problem. Friday, 8 September Week 5: Choose the answer below.

Those students achieved a class average of For this set, there are only documents and zip codesand all of them are in New York, Connecticut, New Jersey, and California. Who’s the easiest grader on campus? Some students have three homework assignments, etc.

Now use the aggregation framework to calculate the author with the greatest number of comments. Different states might have the same city name. After that, you homesork need to sort.

Please choose your answer below for the most prolific comment author:. Please use the Aggregation pipeline to solve this problem.

# Mongodb homework

Once you’ve generated your aggregation query and found your answer, select it from the choices below. You will need to probably change your projection to send more info through than just that first character.

Your task is to calculate the class with the best average student performance. Download the handout and mongoimport. At the end I just want to say if you want to learn mongoDB, First practice with youself.

For this problem, assume that a city name that appears in more than one state represents two separate cities. Crunching the Zipcode dataset Please calculate the average population of cities in California abbreviation CA and New York NY taken together with populations over 25, For this problem, we have used a subset of the omngodb you previously used in zips.

The documents look like this: In this problem you will calculate the number of people who live in a zip code in the US where the city starts with one of the following characthers:.

In this assignment you will use the aggregation framework to find the most frequent author of comments on your mongoxb. In this 5.4 you will use the aggregation framework to find the most frequent author of comments on your blog Import it into your mongod using the following command from the command line:. Please round the answer to a whole number. Start by downloading the handout zip file for this problem. The answer for CT and NJ using this data kongodb is If you notice that mongodbb importing, there are a few duplicates fear not, this is expected and will not affect your answer.