Full Stack Day-7

Full Stack Day-7

Professional Development

5 Qs

quiz-placeholder

Similar activities

Bancos de Dados

Bancos de Dados

Professional Development

10 Qs

POST TEST

POST TEST

Professional Development

10 Qs

Data Analytics Basics

Data Analytics Basics

Professional Development

10 Qs

DP 203 M1

DP 203 M1

Professional Development

10 Qs

Classroom Technology

Classroom Technology

Professional Development

10 Qs

How are you doing?

How are you doing?

Professional Development

10 Qs

PreTrainingCollectionsArrays

PreTrainingCollectionsArrays

Professional Development

9 Qs

Driver Installations

Driver Installations

Professional Development

10 Qs

Full Stack Day-7

Full Stack Day-7

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Ajay Sharma

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the correct query to display users with age in the descending order.

db.users.find().sort({age:1})

db.users.find().limit()

. db.users.find()

. db.users.find().sort(age:-1)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want to return maximum 5 matching documents that will return with only the _id, name, and address fields. Which of the following queries will you use?

. db.users.find( { age: { $gt: 18 } }, { name: 1, address: 1 } ).limit(5)

db.users.find( { age: { $gt: 18 } }, { name: 1, address: 1 } ).limit(15)

db.users.find( { age: { $lt: 18 } }, { name: 1, address: 1 } ).limit(5)

. db.users.find( { age: { $lt: 18 } }, { name: 1, address: 1 } ).limit(15)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. NoSQL databases is used mainly for handling large volumes of ______________ data.

. unstructured

. structured

semi-structured

all of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A collection and document in MongoDB is equivalent to ___________ concepts respectively.

Row and Column

Table and Row

Column and Row

Database and Table

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to remove all documents from ‘employees’ collection?

db.employees.find({})

db.employees.remove({})

db.employees.delete({})

db.employees.drop()