Test your basic knowledge |

Subject : it-skills
Instructions:
  • Answer 25 questions in 10 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. Less than or equal query conditional. ex: db.<col>.find({numVal: {$lte:3}});






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






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






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






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






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






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






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






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






10. Binary-encoded serialization of mongo documents.






11. command to start the mongo shell.






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






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






14. Returns all the documents matching the optional properties.






15. Update a document in the collection.






16. command to start the mongodb process.






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






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






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






20. String of arbitrary bytes.






21. Adds a document to a collection.






22. In BSON - represents the smallest possible value.






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






24. Standard binary data type.






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