Big Data Analytics (2180710) MCQ

MCQs of Data Base for the Modern Web

MCQ No - 1

In MongoDB, _________ operations modify the data of a single collection.

(A) CRUD
(B) GRID
(C) READ
(D) All of the mentioned

A
MCQ No - 2

Which of the following method returns true if the cursor has documents?

(A) hasMethod()
(B) hasNext()
(C) hasDoc()
(D) All of the mentioned

B
MCQ No - 3

Which of the following method is called while accessing documents using the array index notation?

(A) cur.toArray()
(B) cursor.toArray()
(C) doc.toArray()
(D) All of the mentioned

B
MCQ No - 4

Which of the following method returns one document?

(A) findOne()
(B) findOne1()
(C) selectOne()
(D) All of the mentioned

A
MCQ No - 5

The ________ message is used to update a document in a collection.

(A) UPDATE
(B) OP_UPDATE
(C) OP_UPDATES
(D) All of the mentioned

B