Okay, let me think this through step-by-step. The key things to look for are the correct use of curly braces and commas in the document being inserted.
I'm not sure, but I think option A) db.test.push({x:2,y:\'apple\'}) might also be valid because push is used for adding elements to an array in mongodb.
Jospeh
6 months agoMyong
6 months agoMinna
6 months agoLang
7 months agoBulah
7 months agoHoa
7 months agoKiley
7 months agoDalene
7 months agoSabrina
8 months agoNicolette
8 months agoPhuong
8 months agoDalene
8 months agoJules
8 months agoDana
2 years agoSamuel
2 years agoOsvaldo
2 years agoMarta
2 years agoCrissy
2 years agoYvonne
2 years agoArt
2 years agoYuki
2 years agoBilli
2 years agoCarmelina
2 years agoTheron
2 years agoKaron
2 years agoBarney
2 years agoRosalyn
2 years agoStephen
2 years agoRoyce
2 years agoMammie
2 years agoWillard
2 years agoTwanna
2 years agoEulah
2 years ago