mongodb

mongodb

KG

12 Qs

quiz-placeholder

Similar activities

Grade 2- PA1

Grade 2- PA1

2nd Grade

10 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

TCP/IP & other protocols [A Level]

TCP/IP & other protocols [A Level]

12th Grade

14 Qs

UNIT 1.8 ELCE

UNIT 1.8 ELCE

10th Grade

14 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

prep1-revision

prep1-revision

7th Grade

12 Qs

mongodb

mongodb

Assessment

Quiz

Computers

KG

Practice Problem

Hard

Created by

abdel abdel

Used 60+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?