# MONGODB M101 HOMEWORK 5.1 ANSWER

We will be using a data set similar to ones we’ve used before. Prefered Cities to Live! Please choose your answer below for the most prolific comment author:. In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog. Download the handout and mongoimport.

You will need to probably change your projection to send more info through than just that first character. A city might have multiple zip codes. 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. After that, you just need to sort. Different states might have the same city name.

Please choose your answer below for the most prolific comment author:. A city might have multiple zip codes.

# [SOLUTION] WEEK 5 : INDEXES AND PERFORMANCE : MJS: MONGODB FOR DEVELOPERS

You must figure out the GPA that each student has achieved in a class and then average those numbers to get a class average. Choose the answer below. Note that not all students in the same class have the same exact number of assessments.

We will take these are the prefered cities to live in chosen by this instructor, given is special affection to this set of characters! Don’t include their quiz scores in the calculation.

URSINUS COLLEGE CREATIVE WRITING AWARD WINNERS

## M101 Homework 3 1

If you notice that while importing, there are a few duplicates fear mongorb, this is expected and will not affect your answer. Please use the Aggregation homeworj to solve this problem. For example, to extract the first character from the city field, you could write this pipeline:. Try for your self. Then import into your blog database as follows:. You need to group twice to solve this problem. Different states might have the same city name. 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.

Import it into your mongod using the following command from the command line:.

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

To be clear, each student’s average includes only exams homewkrk homework grades. Prefered Cities to Live! Homweork will need to probably change your projection to send more info through than just that first character. 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.

To help you verify your work before submitting, the author with the fewest comments is Mariela Sherer and she commented times. The answer for CT and NJ using this data set is Check all that apply.

EXEMPLO CURRICULUM VITAE ENGENHEIRO AGRONOMO