0% found this document useful (0 votes)
507 views

MEAN Stack Developer - Assignment

The document contains questions from an assignment or test for a MEAN stack developer position. It includes multiple choice questions about Angular code, Node.js, MongoDB queries, and other topics related to building applications with the MEAN stack.

Uploaded by

mdatabase56
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
507 views

MEAN Stack Developer - Assignment

The document contains questions from an assignment or test for a MEAN stack developer position. It includes multiple choice questions about Angular code, Node.js, MongoDB queries, and other topics related to building applications with the MEAN stack.

Uploaded by

mdatabase56
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy