WorksheetsQuiz for 15th Jan
Total questions: 8
Worksheet time: 5mins
Which React hook is best suited for handling complex state logic with multiple sub-values?
useState
useEffect
useReducer
useMemo
In RESTful API design, which HTTP status code is most appropriate when a resource is successfully created?
200
201
204
409
Which MongoDB aggregation stage is used to filter documents?
$group
$match
$project
$lookup
What is the default port number on which a React development server runs?
(a)
If a MongoDB replica set requires a minimum majority of nodes to elect a primary, how many nodes are required in a 5-node replica set?
(a)
In Express.js, middleware functions have access to req, res, and (a) .
To read environment variables in Node.js, we use (a) .
Which MERN stack skills or components do you find most important while building full-stack applications?
