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. Greater than or equal query conditional. ex: db.<col>.find({numVal: {$gte:3}});






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






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






4. Set or list of values.






5. Deletes a given field. ex: { $unset : { field : 1} }






6. Returns all the documents matching the optional properties.






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






8. set of UTF-8 characters.






9. Binary-encoded serialization of mongo documents.






10. Contains query conditional used to check if a value contains the field value.






11. Query conditional allowing the selector to choose between more than one optional criteria.






12. Less than query conditional. ex: db.<col>.find({numVal: {$lt:3}});






13. Returns help information for a command.






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






15. Array specific conditional used to select based on the length or set-size of an array field value.






16. Operator allowing the execution of arbitrary javascript as part of the selector.






17. A document contained by a parent document. The embedded document is a value of a key in the parent document.






18. In BSON - represents the smallest possible value.






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






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






21. command to start the mongodb process.






22. Updates all matching documents, not just the first, that match the selector.






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






24. In BSON - represents the largest possible value.






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






26. 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 } }






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






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






29. Creates an index on property(s). Options can describe the type of sorting, uniqueness, etc.






30. The standard number representation in the javascript shell.






31. 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.






32. The local variable representation of a query. Uniquely - the cursor does not hold the results but instead access to the results.






33. Unique 12-byte ID for documents.






34. Standard binary data type.






35. Copies an entire database from one name on one server to another name on another server. Omit frmHostName to copy from one name to another on the same server.






36. 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.






37. Returns help information for a command.






38. Appends each value in the value_array to the field - if field is an existing array. Otherwise - it sets the field to the array value_array - if field is not present ex: { $pushAll : { field : value_array } }






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






40. Lists all the collections in the database in use.






41. Returns one document matching the optional properties.






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






43. Javascript code. Documents can contain code as values.






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






45. Meta query conditional used to negate the selector.






46. Update a document in the collection.






47. 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 } }






48. command to start the mongo shell.






49. Update modifier used to increment a value. ex: {"$inc":{"counter":2}}






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