The documents look like this: Please round the answer to a whole number. 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:. Different states might have the same city name. 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, Friday, 8 September 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.

Start by downloading the handout zip file for this problem. If you notice that while importing, there are a few duplicates fear not, this is expected and will not affect your answer. Your task is to calculate the class with the best average student performance. Download the handout and mongoimport. 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, Who’s the easiest grader on campus?

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.

Check all that apply.

# Study IQ World: Week 5 : AGGREGATION FRAMEWORK : MP: MongoDB for Developers

In this assignment you will homwwork the aggregation framework to find the most frequent author of comments on your blog In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog. Don’t include their quiz scores in the calculation.

To help you verify your work before submitting, the author with the fewest comments is Mariela Sherer and she commented times. Download the handout and mongoimport. If mongoeb notice that while importing, there are a few duplicates fear not, this is expected and will not affect your answer.

Friday, 8 September Week 5: The answer for CT and NJ using this data set is We will be using a data set similar to ones we’ve used before.

## Mongodb M101J Homework 1 1 Answers

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. Please round the answer to a whole number. 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:.

Who’s the easiest grader on campus? Some students have three homework assignments, etc. A city might have multiple zip codes. Prefered Cities to Live!

For this problem, we have used answsrs subset of the data you previously used in zips. At the end I just want to say if you want to learn mongoDB, First practice with youself. Choose the answer below.

You must figure out the GPA that each student has achieved in a class and then average those numbers to get a class average.

After that, you just need to sort. Using the aggregation framework, calculate the sum total of people answwrs are living in a zip code where the city starts with one of those possible first characters. The documents look like this: For example, to extract the first character from the city field, you could write this pipeline:.

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

Please use the Aggregation pipeline to solve hommework problem. Then import into your blog database as follows:.

For this problem, assume that a city name that appears in more than one state represents two separate cities. You need to group twice to solve this problem. Start by downloading the handout zip file for this problem.

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 set, there are only documents and zip codesand all of them are in New Mohgodb, Connecticut, New Jersey, and California. Now use the aggregation framework to calculate the author with the greatest number of comments.

Those students achieved a class average of