Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. Which of the following python mongodb statements is correct? a) db.people.insert_one( { ssn:None,age:20,phone: [123,345,567] }) b) do.people.insert_one( { ssn:null,name:Ali,age::20 }) c) db.people.insert_one({ manager:true,age:20,phone:[123,345,567] })

image text in transcribed

4. Which of the following python mongodb statements is correct? a) db.people.insert_one( { "ssn":None,"age":20,"phone": ["123","345","567"] }) b) do.people.insert_one( { "ssn":null,"name":"Ali","age"::20 }) c) db.people.insert_one(\{ "manager":true,"age":20,"phone":["123","345","567"] }) d) None of the above 5. Does the following code represents a JSON document in a standard format? "ssn": "112543102", "bdate": DATE("1978-01-12"), "address": "2342 May", "Atlanta", "GA", "salary": 6500.00, "superssn": "11541100", "phone": 17645 \} a) Correct b) Not correct 6. Does the following code represents a JSON document in a standard format? "fname": "Mohamed", "Iname": "Mahmod", "ssn": "11165102", "salary": 4600.00, "superssn": "761100", "dno": None, "phone": 12345 , \} a) Correct b) Not correct 7. Which of the following python mongodb statements is correct? a) db.people.insert_one( { ssn:None,manager:True,age:20,phone:["123","345","567"] }}) b) db.people.insert_one(\{"manager":True, "name":-"Ali","age":20, }) c) db.people.insert_one( { "ssn":null,"name":"Ali","age":-20 }) d) None of the above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

3540416641, 978-3540416647

More Books

Students also viewed these Databases questions