Download the handout and mongoimport. In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog Try for your self. After that, you just need to sort. You will be using the zip code collection data set, which you will find in the ‘handouts’ link in this page.

Choose the answer below. If you notice that while importing, there are a few duplicates fear not, this is expected and will not affect your answer. Now use the aggregation framework to calculate the author with the greatest number of comments. 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. The answer for CT and NJ using this data set is

We will take these are the prefered mongldb to live in chosen by this instructor, given is special affection to this set of characters! Your task is to calculate the class with the best average student performance.

For example, to extract the first character from the city field, you could write this pipeline:. Different states might have the same city name.

You need to group twice to solve this problem.

For this problem, we have used a subset of the data you previously used in zips. Prefered Cities to Live!

A city might have multiple zip codes. The answer for CT and NJ using this data set is Note that not all students in the same class have hoework same exact number of assessments. Those students achieved a class average of 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.

For this problem, assume that a city name that appears in more than one state represents two separate cities.

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. At the end I monbodb want to say if you want to learn mongoDB, First practice with youself.

You will be using the zip code collection data set, which you will find in the ‘handouts’ link in this page. To be clear, each student’s average includes only exams and homework grades. You must figure out the GPA that each student has achieved in a class 54 then average those numbers to get homewoork class average. 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, Some students have three homework assignments, etc.

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

For this set, there are only documents and zip codesand all of them are in New York, Connecticut, New Jersey, and California. To help you verify your work before submitting, the author with the fewest comments is Mariela Sherer and she commented times. The documents look like this: Please choose your answer below for the most prolific comment mognodb.

Download the handout and mongoimport.

# AngularJS,JQuery,,C#,SQL Server: Homework MongoDB for .Net Development

Try for your self. Choose the answer below. Then import into your blog database as follows:. We will be using a data set similar to ones we’ve used before. hommework

If you notice that while importing, there are a few duplicates fear not, this is expected and will not affect your answer.

Start by downloading the handout zip file for this problem.

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. Who’s the easiest grader on campus? In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog You will need to probably change your projection to send more info through than just that first character.

After that, you just need to sort.