MEAN Stack Developer - Assignment / Test
sharmanish2109@gmail.com Switch account Saving disabled
* Indicates required question
Section 3: Questions from 26 to 35
30) Select the correct Anguler Code option from the following option which covers below *
Importing an
expense-entry.component.html and expense-entry.component.css file and provides application
name as app-expense-entry which can be used by parent components to call
Option 1 Option 3
Option 2 Option 4
27) Select the correct code to start the node js server on port 8080 and return Hello World! *
Option 1 Option 2
Option 4 Option 3
33) Select the correct Mongodb query which represents the *
Fetch the movie details for each comment.comments collection have movie_id fields which as
foreign key with movies collection _id field
Option 1 Option 2
Option 3 Option 4
29) Select the correct code which read the users.json file and provide data as a part of API response *
Option 2 Option 3
Option 1 Option 4
26) Command to install body-parser in node js globally and store its entry in package.Json file. *
node install -global body-parser –save
node install -g body-parser –s
npm install –global body-parser –s
npm install -g body-parser –save
31) Select the correct query which represents *
From the posts collection find the records where likes greater than 1
Option 1 Option 2
Option 3 Option 4
28) Select the correct code from the option which will fetch the response from the URL and if *
response.err then it will console error else console fetched response
Option 3 Option 1
Option 4 Option 2
32) Select the correct which represents *
Update all the records where postName is GIBOTS and increase likes by 1
db.posts.updateAll({postName:"GIBOTS"}, { $inc: { likes: 1 } })
db.posts.updateMany({postName:"GIBOTS"}, { $inc: { likes: 1 } })
db.posts.updateMany({postName:"GIBOTS"}, { $ins: { likes: 1 } })
db.posts.updateAll({postName:"GIBOTS"}, { $ins: { likes: 1 } })
Back Next Page 5 of 9 Clear form
Never submit passwords through Google Forms.
This form was created inside of gibots. Report Abuse
Forms