#### MONGODB M101 HOMEWORK 5.1 ANSWER

Don’t include their quiz scores in the calculation. Then import into your blog database as follows:. For this set, there are only documents and zip codes , and all of them are in New York, Connecticut, New Jersey, and California. 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. For example, to extract the first character from the city field, you could write this pipeline:.

Try for your self. 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? To help you verify your work before submitting, the author with the fewest comments is Mariela Sherer and she commented times. You will need to probably change your projection to send more info through than just that first character.

The answer for CT and NJ using this data set is For this problem, we have used a subset of the data you previously used in zips. Please round the answer to a whole number.

## M101 Homework 3 1

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. You must figure out the GPA that each student has achieved in a class and then answfr those numbers to get a class average.

Start by downloading the handout zip file for this problem. Who’s the easiest grader on campus?

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 Don’t include their quiz scores in the calculation. For example, to extract the first character from the city field, you could annswer this pipeline:. Friday, 8 September Week 5: Please choose your answer below for the most prolific comment author:.

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:. We will take these are the prefered cities to live in chosen by this instructor, given is special affection to this set of characters!

# Mongodb MJ Homework 1 1 Answers

You need to group twice to solve this problem. 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. In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog. For this problem, assume that a city name that appears in more than one state represents two separate cities.

Different states might have the same city name. Some students have three homework assignments, etc.

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

Try for your self.

## Mongodb M101J Homework 1 1 Answers

Check all that apply. A city might have multiple zip codes. Once you’ve generated your aggregation query and found your answer, select it from the choices below. To be clear, each student’s average includes only exams and homework grades. To help you verify your work before submitting, the author with the fewest comments is Mariela Hlmework and she commented times.

Prefered Cities to Live! Import it into your mongod using the following command from the command line:. Choose the answer below. After that, you just need to sort.