Search Header Logo

NoSQL Databases - Class 2 - Quizz 2

Authored by Camille Duquesne

Computers

University

Used 6+ times

NoSQL Databases - Class 2 - Quizz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If I query on a field with arrays and I want each element to individually match my query clauses I would use the operator

$all

$in

$elemMatch

$or

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If I query on a field with arrays, and I want a certain list of elements to be all present in the arrays of the documents I would return, I would use the operator:

$elemMatch

$in

$all

$and

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The library I use to connect to MongoDB with python is called

pymongo

pypi

json

mongodb

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If i want to return the 10 first documents of my query I would use the function

count()

skip()

sort()

limit()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If i want to return my documents sorted in alphabetical order on the name field, I would use the function

count()

skip()

sort()

limit()

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?