MONGODB HOMEWORK 5.4

We will be using a data set similar to ones we’ve used before. In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog For example, to extract the first character from the city field, you could write this pipeline:. Your task is to calculate the class with the best average student performance. Please choose your answer below for the most prolific comment author:. 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. Some students have three homework assignments, etc.

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. Try for your self. 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. Don’t include their quiz scores in the calculation.

To be clear, each student’s average includes only exams and homework grades. Choose the answer below.

Note that not all students in the same class have the same exact number of assessments. 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.

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

At the end I just want to say if you want to learn mongoDB, First practice with youself. Crunching the Zipcode dataset Please calculate the average population of cities in California abbreviation CA and Mongob York NY taken together with populations over 25, Try for your self.

  HARVARD GSAS DISSERTATION GUIDELINES

Once you’ve generated your aggregation query and found your answer, select it from the choices below. To help you verify your work before submitting, the author with the fewest comments is Mariela Sherer and she commented times. Please round the answer to a whole number.

mongodb homework 5.4

Check all that apply. In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog For this set, there are only documents and zip codesand all of them are in New York, Connecticut, New Jersey, and California. In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog.

You will be using the zip code collection data set, which you will find in the ‘handouts’ link in this page. After that, you just need to sort.

mongodb homework 5.4

Now use the aggregation framework to calculate the author with the greatest number of comments. Download the handout and mongoimport. You must figure out the GPA that each student has achieved in a class and then average those numbers to get a class average.

We will be using a data set similar to ones we’ve used before.

mongodb homework 5.4

Your task is to calculate the class homewogk the best average student performance. Import it into your mongod using the following command from the command line:.

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

The answer for CT and NJ using this data set is Those students achieved a class average of We will take these are the prefered cities to live in chosen by this instructor, given is special affection to this set of characters! 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 example, to extract the first character from the city field, you could write this pipeline:.

  BITTERNE PARK SCHOOL HOMEWORK

Friday, 8 September Week 5: Please choose your answer below for the most prolific comment author:. Also, you will need a filtering step to get rid of all documents where the city does not start with the select set mongodh initial characters.

The Digital Journey: Mongo DB university for Java Developer – week 5 – Aggregation

The documents look like this: You need to group twice to solve this problem. Don’t include their quiz scores in the calculation. For this problem, we have used a subset of the data you previously used in zips. 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. Prefered Cities to Live!