Note that this project requires the following python modules be installed on your computer: As of this recording, we are still using the beta version of PyMongo so we will install directly from GitHub. Now it’s your turn to analyze the data set. Note that your blog must be running when you run the validator. The correct result will be: Now let us find the student who holds the st best grade across all grades:
MongoDB for Developers Homework 2. Let us count the number of grades we have: If you go to http: Any other missing packages will show up when validate. Use that data set to answer this question. Find all exam scores greater than or equal to 65, and sort those scores from lowest to highest.
MongoDB university m101p chapter 2 homework
Enter the student ID below. We have removed two pymongo statements from userDAO.
There is also a views directory which contains the templates for the project. For those who are using MongoHQ, MongoLab or want to run the webserver on a different host or port, there are some options to the validation script that can be exposed by running. In this problem, you will be using a collection of student scores that is similar to what we used in the lessons.
Posted by Unknown at You should not need to touch any other code.
[Solution] Week 2 : CRUD: MP: MongoDB for Developers
Newer Post Older Post Home. You should see three files at the highest hpmework If you got it right, it will provide a validation code for you to enter into the box below.
The templates comprise the view. Sunday, January 22, [Solution] Week 2: MongoDB for Developers Homework 2. Enter just the code, no spaces. The blog stores its data in the blog database in two collections, users and sessions.
MongoDB university mp chapter 2 homework – bigmongodb
Note that this project requires the following python modules be installed on your computer: Now it’s your turn to analyze the data set. Homeworj you have python installed at all, you probably already have most of these installed except pymongo and bottle. Which of the choices bomework is the title of a movie from the year that is rated PG and won no awards?
First, let’s confirm your data is intact; the number of documents should be Now Go to http: The templates comprise the view. There is a dump of the video database included in the handouts for mongldb “Creating Documents” lesson.
You should see three files at the highest level: Let us count the number of grades we have: Use that data set to answer this question. There is also a views directory which contains the templates for the project.
The dataset contains 4 scores each for students. Find all exam scores greater than or equal to 65, and sort those scores from lowest to highest.
The pymongo statements that you are going to add will add a new user to the database upon sign-up, and validate a login by retrieving the right user document.
Please query the video.
Once you have the the project working, the following steps should work: Since each document is one grade, it should remove one document per student. To verify that you have completed this task correctly, provide the identity of the student with the highest average in the class with following query that uses the aggregation framework. If you go to http: Find all exam scores greater than or equal to 65, and sort those scores from lowest to highest.