Admin Dashboard

Result for: Gaurav Vivekanand Urade

Exam Name MERN STACK
Total Marks 47.0
Score 0.0
Percentage 0.00%
Question Analysis
Sr. No. Question Selected Answer Correct Answer
1 What is the primary purpose of the useState hook in React? No answer selected To manage local component state
2 When does a useEffect hook with an empty dependency array [] run? No answer selected Only once after the initial mount
3 Why does React use a Virtual DOM? No answer selected To optimize UI updates by minimizing direct DOM manipulation
4 How are lifecycle events handled in functional components? No answer selected Using Hooks (e.g., useEffect)
5 In Redux, what is the role of a "Reducer"? No answer selected To update state based on actions as a pure function
6 What is the best way to pass data from a child component to a parent? No answer selected Using Callback functions as props
7 What is the importance of the key prop when rendering lists in React? No answer selected To help React identify which items have changed or moved
8 When should you use React.memo? No answer selected To prevent unnecessary re-renders of a component
9 What problem does the Context API primarily solve? No answer selected Prop Drilling across multiple levels
10 Where should static data be defined in a functional component to avoid re-creation on every render? No answer selected Outside the component function
11 What does JSX stand for? No answer selected JavaScript XML
12 In a controlled component, where is the form data handled? No answer selected By the component's state
13 What is the main benefit of using 'Interfaces' in TypeScript? No answer selected Defining the shape/structure of an object
14 What is the purpose of the useParams hook in React Router? No answer selected To access dynamic parameters from the URL
15 What is a Higher-Order Component (HOC)? No answer selected A function that takes a component and returns a new component
16 Which JavaScript engine powers Node.js? No answer selected V8 Engine
17 What is the primary role of 'Middleware' in Express.js? No answer selected To execute code during the Request/Response cycle
18 Which HTTP method is typically used to update an existing resource in a REST API? No answer selected PUT / PATCH
19 Which Node.js module is used for handling file system operations? No answer selected fs
20 How many parts does a JSON Web Token (JWT) consist of? No answer selected 3
21 How do you define a dynamic path parameter in an Express route? No answer selected /user/:id
22 How can you handle asynchronous operations in Node.js? No answer selected Using Callbacks, Promises, or Async/Await
23 Which middleware is used to parse JSON bodies in Express 4.x+? No answer selected express.json()
24 What is the main purpose of the Node.js Event Loop? No answer selected To handle non-blocking I/O operations
25 Why is module.exports used in Node.js? No answer selected To share functions or objects between files
26 Is Node.js fundamentally single-threaded? No answer selected Yes
27 How many arguments does an Express global error-handling middleware take? No answer selected 4 (err, req, res, next)
28 What does CORS stand for? No answer selected Cross-Origin Resource Sharing
29 What happens when you run npm install --save-dev? No answer selected It installs a dependency for development only
30 What is the use of process.env in a Node.js application? No answer selected To access environment variables
31 What type of database is MongoDB? No answer selected NoSQL (Document-oriented)
32 In MongoDB, what is a single record called? No answer selected Document
33 What is the purpose of a 'Schema' in Mongoose? No answer selected To define the structure of documents in a collection
34 Which operator is used to update a specific field in a MongoDB document? No answer selected $set
35 What is the role of $match in a MongoDB Aggregation Pipeline? No answer selected To filter documents based on a condition
36 What is the default port for a MongoDB server? No answer selected 27017
37 Why is the populate() method used in Mongoose? No answer selected To replace IDs with actual documents from other collections
38 A 'Collection' in MongoDB is equivalent to what in SQL? No answer selected Table
39 What is the primary benefit of Database Indexing? No answer selected To improve query performance speed
40 Is the _id field in a MongoDB document immutable by default? No answer selected Yes
41 What is the output of typeof null in JavaScript? No answer selected "object"
42 What is a "Closure" in JavaScript? No answer selected A function bundled with its lexical environment
43 What does the Array .map() method return? No answer selected A new array with transformed elements
44 What is 'Hoisting' in JavaScript? No answer selected Moving declarations to the top of their scope
45 What does Promise.all() reject? No answer selected As soon as any one promise rejects
46 Which symbol represents the ES6 Spread operator? No answer selected ...
47 Which symbol represents the ES6 Spread operator? No answer selected ...
Page 1
Admin Dashboard