Aggregation on MongoDB related Questions and Answers - Page 5

Question 41 : Which of the following returns a substring of a string ?
1. $subs
2. $substring
3. $substr
4. None of the mentioned
View Answer   Discuss with Members

Question 42 : ________ subtracts two dates to return the difference in milliseconds
1. $rem
2. $mod
3. $div
4. $subtract
View Answer   Discuss with Members

Question 43 : String expressions, with the exception of ________ only have a well-defined behavior for strings of ASCII characters.
1. $setcon
2. $concatenation
3. $concat
4. None of the mentioned
View Answer   Discuss with Members

Question 44 : _______ returns the remainder of the first number divided by the second.
1. $rem
2. $mod
3. $div
4. None of the mentioned
View Answer   Discuss with Members

Question 45 : _______ adds numbers to return the sum, or adds numbers and a date to return a new date.
1. $addnum
2. $setadd
3. $adds
4. $add
View Answer   Discuss with Members

Question 46 : $multiply __________ numbers to return the result.
1. multiplies
2. divides
3. comapres
4. all of the mentioned
View Answer   Discuss with Members

Question 47 : $ne returns true if the values are not _______
1. equivalent
2. null
3. 0
4. none of the mentioned
View Answer   Discuss with Members

Question 48 : ______ returns true if the first value is less than the second.
1. $lte
2. $lt
3. $setEquals
4. None of the mentioned
View Answer   Discuss with Members

Question 49 : Comparison expressions return a boolean except for ________ which returns a number.
1. $copy
2. $cmp
3. $num
4. None of the mentioned
View Answer   Discuss with Members

Question 50 : $allElementsTrue returns true if no element of a set evaluates to :
1. false
2. true
3. 0
4. 1
View Answer   Discuss with Members


View 41 - 50 of 100 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter