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
3 months agoMyong
3 months agoMinna
4 months agoLang
4 months agoBulah
4 months agoHoa
4 months agoKiley
5 months agoDalene
5 months agoSabrina
5 months agoNicolette
5 months agoPhuong
5 months agoDalene
5 months agoJules
5 months agoDana
1 year agoSamuel
1 year agoOsvaldo
1 year agoMarta
1 year agoCrissy
1 year agoYvonne
1 year agoArt
1 year agoYuki
1 year agoBilli
1 year agoCarmelina
1 year agoTheron
1 year agoKaron
1 year agoBarney
1 year agoRosalyn
1 year agoStephen
1 year agoRoyce
1 year agoMammie
1 year agoWillard
1 year agoTwanna
1 year agoEulah
1 year ago