Assignment 2


  • [20.03] If pymongo is missing, you can install it with pip3 install pymongo.
  • [13.03] The MongoDB installed in the VM is version 2.6. Its documentation is here. You can consult it on how to create an index or use the explain() method, among other things.
  • [13.03] Updated the wording in 3.A. You can answer each question by writing either a simple query or a more complex script. E.g., for 3.A.14, you can write a short python script using pymongo.