Terminology: a "collection of documents" is analogous to a "table of rows."
"The grades array contains embedded documents as its elements." So a "document" is also analogous to a hash or a dict, if you will.
"If you attempt to add documents to a collection that does not exist, MongoDB will create the collection for you." [https://docs.mongodb.com/getting-started/shell/insert/]
"All queries in MongoDB have the scope of a single collection."
I'm running Ubuntu version 15.10. The above command is for version 14.04. The equivalent command for 16.04 didn't work with step #4 below.
sudo apt-get update
sudo apt-get install -y mongodb-org
This produced the following warning message, which the next step is meant to address: "invoke-rc.d: mongod.service doesn't exist but the upstart job does. Nothing to start or stop until a systemd or init job is present."