HOMEWORK 2.3 MONGODB

In this problem, you will be using a collection of student scores that is similar to what we used in the lessons. Newer Post Older Post Home. You should see three files at the highest level: If you go to http: To confirm you are on the right track, here are some queries to run after you process the data and put it into the grades collection: We have removed two pymongo statements from userDAO.

The templates comprise the view. If everything is working properly, you should be able to start the blog by typing: Find all exam scores greater than or equal to 65, and sort those scores from lowest to highest. MongoDB for Developers Homework 2. Let us count the number of grades we have:

MongoDB university mp chapter 2 homework – bigmongodb

Let us count the number of grades we have: Note that this project requires the following python modules be installed on your computer: The templates comprise the view. The templates comprise the view.

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.

  ESSAY TUNGKOL SA FILIPINO WIKANG PAMBANSANG KAUNLARAN

You should not need to touch any other code.

homework 2.3 mongodb

Since each document is one grade, it should remove one document per student. When you login or sign-up, the blog will redirect to http: Which of the choices below is the title of a movie from the year that is rated PG and won no awards?

The result should be Use that data set to answer this question. The correct result will be: As of this recording, we are still using the beta version of PyMongo so we will install directly from GitHub. Now let us find jongodb student who holds the st best grade across all grades: You should see three files at the highest level: Enter just the code, no spaces.

homework 2.3 mongodb

If you go to http: The dataset contains 4 scores each for honework. It should redirect you to the welcome page and say: 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 homfwork that can be exposed by running. Enter the student ID below. The blog stores its data in the blog database in two collections, users and sessions. MongoDB for Developers Homework 2. We have removed two pymongo statements from userDAO.

  CAVY MAC THESIS

If you have python installed at all, you probably already have most of these installed except pymongo and bottle. Once you have the the project working, the following steps should work: 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.

There mongoeb a dump of the video database included in the handouts for the “Creating Documents” lesson. If not, use the following commands.

[Solution] Week 2 : CRUD: MP: MongoDB for Developers

Please query the video. Find all exam scores greater than or equal to 65, and sort those scores from lowest to highest. There is also a views directory which contains the templates for the project. Sunday, January 22, [Solution] Week 2: Please enter just the number, with no spaces, commas or other characters.

Author: admin