Answered step by step
Verified Expert Solution
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] })
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started