Test your basic knowledge |

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Javascript code. Documents can contain code as values.






2. Not supported by the javascript shell and are converted to 64-bit floating point numbers.






3. Binary-encoded serialization of mongo documents.






4. Meta query conditional used to negate the selector.






5. In BSON - represents the largest possible value.






6. Set or list of values.






7. Flushes all pending writes to data files. The lock option allows one to safely snapshot the database's data files. The async option returns focus to the console immediately while the task runs in the background.






8. command to start the mongodb process.






9. Returns all the documents matching the optional properties.






10. Update modifier that set the value of a key and if the key does not exist, it will create the key. ex: db.<col>.update({selector},{"$set":{"someKey":"someValue"}});






11. Returns the size of a document after it is converted to BSON from the JSON-like original.






12. Greater than or equal query conditional. ex: db.<col>.find({numVal: {$gte:3}});






13. Clone the current database (implied by 'db') from another host.






14. Used to describe a variable as not having been initialized.






15. Greater than query conditional. ex: db.<col>.find({numVal: {$gt:3}});






16. Clone the current database (implied by 'db') from another host.






17. Operator allowing the partial specification of fields in an embedded document in an array.






18. Not equal query conditional. ex: db.<col>.find({numVal: {$ne:3}});






19. Renames a field from the one indicated to the new field name. ex: { $rename : { old_field_name : new_field_name } }






20. In BSON - represents the smallest possible value.






21. command to start the mongo shell.






22. Positional operator that holds the position of the first matched array item in the query. Used to find an array member and then manipulate it. ex: {$inc:{'comments.$.votes':1}} where comments looks like: "comments" : [ { "by" : "joe", "votes" : 3 },






23. Appends a value to field - if the field is an existing array. Otherwise it sets the field to the array [value] if field is not present. ex: { $push : { field : value } }






24. Command to get help docs on a specific command at the db level.






25. Does not contain query conditional used to select documents with the field that is not in the selector list of values.






26. Data structure used to store all other data in mongo databases.






27. ...






28. changes the database on which you are working.






29. Operator used in the second argument of the find() call to specify which slice of an array to return for an array field.






30. String of arbitrary bytes.






31. Array specific conditional allowing matching on multiple elements within an array. The operation is non strict on the sequence of the values in the passed selector array.






32. Removes an element from an array based on the value of the field option being 1 or -1 for last or first element respectively. ex: { $pop : { field : -1 } }






33. Syntax used for selectors to be specific to a certain element position within an array.






34. Unique 12-byte ID for documents.






35. Standard javascript regular expressions. These can be stored in documents






36. command to start the mongodb process.






37. Not supported by the javascript shell and are converted to 64-bit floating point numbers.






38. Returns help information for a command.






39. Stored as milliseconds since the epoch.






40. Deletes documents from the collection based on the selector.






41. Less than or equal query conditional. ex: db.<col>.find({numVal: {$lte:3}});






42. Deletes documents from the collection based on the selector.






43. Removes all occurrences of a value from a field. ex: { $pull : { field : _value } }






44. Special keys passed in an update call to specify complex update operations - such as alter - adding - or removing keys - and even manipulating arrays and embedded documents.






45. Adds a document to a collection.






46. Returns all the documents matching the optional properties.






47. Command to get help docs on a specific command at the collection level.






48. Command to list commands and descriptions of those commands in the context of the database.






49. Returns help information for a command.






50. Returns one document matching the optional properties.