mongodb
Quiz
•
Computers
•
KG
•
Practice Problem
•
Hard
abdel abdel
Used 60+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the following MongoDB command return?
db.posts.find( { likes : { $gt : 100 }, likes : { $lt : 200 } } );
Posts with likes greater than 100 but less than 200
Posts with likes greater than or equal to 100 but less than or equal to 200
Posts with likes less than 200
Will return syntax error
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What does the output x of the following MongoDB aggregation query result into:
db.posts.aggregate( [ { $group: { _id: "$author", x: { $sum: �$likes� } } } ] )
Average of likes on all the posts of an author, grouped by author
Number of posts by an author
Sum of likes on all the posts by an author, grouped by author
Sum of likes on all the posts by all the authors
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The _______ operator can be used to identify an element in the array to be updated without explicitly specifying the position of the element.
$
$elemMatch
$slice
Updating an array field without knowing its index is not possible.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
NoSQL databases is used mainly for handeling large volumes of ........... data
structured
unstructured
semi-structured
None of above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is supported by MongoDB?
BSON
JSON
XML
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following dynamic schema phenomenon is made easier for the
application by MongoDB?
Polymorphism
Encapsulation
Inheritance
None of above
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of the following commands will find all the posts that have been tagged as tutorial.
db.posts.find( { tags : "tutorial" } );
db.posts.find( { tags : ["tutorial"] } );
db.posts.find( { $array : {tags: "tutorial"} } );
db.posts.findInArray( { tags : "tutorial" } );
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
KS3_Data Representations (from clay to silicon)
Quiz
•
1st - 3rd Grade
10 questions
First step to Internet 5B1
Quiz
•
5th Grade
9 questions
CHAPTER 5 ONLINE QUIZ
Quiz
•
University
15 questions
ÔN TẬP HKII-02
Quiz
•
8th Grade
11 questions
Gr3-Scratch - Revision
Quiz
•
3rd - 5th Grade
10 questions
File Management 3 Quiz
Quiz
•
8th Grade
16 questions
Quiz on List and Tuples
Quiz
•
University
10 questions
Grade 11 Term 4 Practice 2
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
4 questions
Conflict Resolution
Lesson
•
KG
20 questions
Place Value
Quiz
•
KG - 3rd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
24 questions
CKLA Unit 5 assessment K
Quiz
•
KG
10 questions
STAAR Review - Editing & Revising Clusters
Quiz
•
KG
10 questions
Reflexive Pronouns
Quiz
•
KG - 5th Grade
10 questions
Long i- igh, ie, and y Quiz
Quiz
•
KG - 3rd Grade
12 questions
Quarter Past, Half Past, and Quarter To
Quiz
•
KG - 12th Grade
