MongoDB Mastering MongoDB for Beginners (Theory and Projects) - Quiz($mod)

MongoDB Mastering MongoDB for Beginners (Theory and Projects) - Quiz($mod)

Assessment

Interactive Video

Information Technology (IT), Architecture, Mathematics

University

Hard

Created by

Quizizz Content

FREE Resource

This video tutorial presents a simple quiz focused on the Mod operator. The task involves using data from a file named Modquiz.txt to identify documents with even and odd quantities. The video provides step-by-step instructions for writing queries to achieve these tasks. The tutorial concludes with a brief mention of discussing the solution in the next video.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main topic of the quiz introduced in the video?

Addition operator

Division operator

Subtraction operator

Mod operator

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first task you need to perform with the data from Modquiz txt?

Show documents with odd quantities

Show documents with negative quantities

Show documents with even quantities

Show documents with prime quantities

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which query should be written to display documents with even quantities?

SELECT * FROM documents WHERE quantity % 2 = 1

SELECT * FROM documents WHERE quantity % 2 = 0

SELECT * FROM documents WHERE quantity % 5 = 0

SELECT * FROM documents WHERE quantity % 3 = 0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the next task after filtering even quantities?

Write a query for documents with odd quantities

Write a query for documents with prime quantities

Write a query for documents with zero quantities

Write a query for documents with negative quantities

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which query should be written to display documents with odd quantities?

SELECT * FROM documents WHERE quantity % 2 = 0

SELECT * FROM documents WHERE quantity % 2 = 1

SELECT * FROM documents WHERE quantity % 3 = 1

SELECT * FROM documents WHERE quantity % 5 = 1