0% found this document useful (0 votes)
11 views12 pages

Mearn Interview Question

The document outlines a comprehensive curriculum covering core and advanced concepts in JavaScript, Node.js, React, Express.js, and MongoDB. It includes topics such as data types, promises, event handling, server-side rendering, and database management. Additionally, it features interview questions and practical coding challenges related to these technologies.

Uploaded by

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

Mearn Interview Question

The document outlines a comprehensive curriculum covering core and advanced concepts in JavaScript, Node.js, React, Express.js, and MongoDB. It includes topics such as data types, promises, event handling, server-side rendering, and database management. Additionally, it features interview questions and practical coding challenges related to these technologies.

Uploaded by

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

Core JavaScript Concepts Advanced JavaScript Concepts

Data Types in JavaScript Prototype and Prototype Chaining


Undefined and Null Constructor Functions
Var, Let, Const (Scope and Differences) Function Currying
Hoisting Memoization
Scope and Scope Chain Promises (Promise.all, Promise Chain)
Closure in JavaScript Async/Await
This Keyword Debouncing and Throttling
Coercion in JavaScript Call Stack
NaN (Not a Number) Event Loop
Strict Mode Callback Queue and Microtask Queue
First-Class Functions Callback Hell
Anonymous Functions Event Bubbling and Capturing
Event.preventDefault() and
Named Function Expressions Event.stopPropagation()
Function Expressions vs. Function Statements Call, Apply, Bind
Block Scope and Shadowing High-Order Functions
Parameters vs. Arguments Generator Functions
Pure and Impure Functions eval()

Data Copying (Shallow and Deep Copy) setTimeout, setImmediate, process.nextTick


Set Cursor to Wait Using JavaScript Promise.all
anced JavaScript Concepts
exec() and test() in Regular Expressions
Methods to Create Objects
Map, Filter, Reduce
Map and forEach
WeakSet, WeakMap
Deferred Scripts
Polyfill
Prototype Inheritance
Class and Prototype Inheritance
Observer Pattern
DOM (Document Object Model)
BOM (Browser Object Model)

Window and History Object


Local Storage, Session Storage, Cookies
Deferred and Async
High-Order Functions
Event Loop

Temporal Dead Zone


Pass by Value and Reference
Core Node JS Concept
REPL in Node.js Error Handling in Node.js
Global Error Handling in Node.js Authentication Types

Middleware in Node.js Define I/O in Node.js

Why Node.js is Single-threaded Basic Dynamic Routing


Event-driven Programming in Node.js Code Debugging
Event Emitter in Node.js CORS

Event Handler in Node.js Session Management


Callback in Node.js TLS/SSL
Routing in Node.js Assert Module
app.use and app.get in Express Unit Testing
Modules in Node.js Test Pyramid

Default Middleware in Node.js JWT (JSON Web Tokens)


File System Module in Node.js
OS Module in Node.js
Buffer Class in Node.js
Streams in Node.js
Commonly Used Libraries in Node.js
HTTP Methods
Event-driven Programming in Node.js
Advance Node JS Concept
Concurrency Handling in Node.js Thread Pool in Node.js
Fork and Spawn in Node.js Worker Threads in Node.js

Multithreaded Programming in Node.js Crypto Module

Asynchronous Programming in Node.js DNS Lookup in Node.js


Control Flow Functions in Node.js Memory Leaks
Node Inspector Punycode in Node.js
Multiprocess and Multithreading in
Node.js
Piping in Node.js
Reactor Pattern in Node.js
Optimizing Node.js Applications
Template Engines (EJS and Pug)

How Node.js is Most Frequently Used


Timing Features in Node.js
Libuv Library in Node.js
Cluster in Node.js
Error-first Callback Pattern
Child Processes in Node.js
Child Threads
Exit Codes in Node.js
I/O and Non-I/O Operations
React Basics Concept Components and Rendering Concept

How does React.js work? Stateless vs. Stateful components.

What is JSX and its benefits? Code splitting and lazy loading.

Explain the purpose of State and Props in React. Optimizing a React application.
Difference between Virtual DOM and Real DOM. Error boundaries and their usage.

Component lifecycle and its stages. High Order Components (HOCs).


Controlled vs. uncontrolled components. Conditional rendering and list
Event handling in React.js.
Functional vs. Class components.

Advanced Topics

Performance Optimization Concept State Management Concept


Context API vs. Redux for state
React Fiber and its impact. management.

SSR (Server-Side Rendering) vs. CSR (Client-Side Rendering). Redux toolkit and Redux thunk.

Code splitting and dynamic imports for optimization. Passing data from child to parent.
Memoization and React.memo. Fallback UI and error handling.

Additional Concept
Importance and use of React Profiler.
Common libraries used with React.js.
Implementing 404 pages in React.
Comparison of SSR and CSR.
React Hooks Concept React Routing Concept

Explanation of hooks like useState,


useEffect, useRef, useCallback,
and useMemo. Routing in React.js.
Custom hooks and how to create
them. Dynamic routing.
React hooks in detail and best Protected routes and authentication
practices. handling.

Advanced Topics

Advanced Hooks and APIs Concept Testing and Debugging Concept


Advanced usage of useReducer, Writing test cases for React
useLayoutEffect. components.
How to use useSearchParam and Testing libraries in React, such as Jest
useLocation hooks. and React Testing Library.
Diffing algorithm in React for virtual
DOM updates. How to validate forms in React.
Custom hooks for reusable logic.
Other Core Concepts

Fragments in React.

Prop drilling and context API.


Usage of keys and reconciliation
algorithm.
Advantages of React.js.

Unit testing React components.

Build and Deployment Concept

Code dubbing and error handling.


React Fiber and the reconciliation
process.
Configuring Webpack and Babel in
React.
Core Concept of Express Js

What is Express.js, and how does it differ from Node.js?

How do you set up a basic Express server?

What are middleware in Express, and how do they work?

How can you handle routing in Express?

How do you handle errors in an Express application?

What are the different types of HTTP methods supported by Express?

How can you serve static files using Express?

How do you parse JSON and URL-encoded data in Express?

What is the purpose of the app.use() function?

How can you implement CORS in an Express application?


Advance Concept of Express Js

How can you implement authentication in an Express application?

What are the best practices for structuring an Express application?

How do you implement rate limiting in Express?

What is the role of the next() function in Express?

How can you integrate a template engine (like Pug or EJS) with Express?

How do you handle file uploads in Express?

What is the purpose of using environment variables in an Express app?

How do you connect an Express application to a database (e.g., MongoDB)?

What is the significance of promises and async/await in Express?

How can you implement a logging mechanism in Express?


Core MongoDB Concept Advanced MongoDB Topics Concept
Sharding - Detailed understanding of sharding and
What is MongoDB? partitioning.

Why use MongoDB? Replica Set - Configuration and usage of replica sets.
MongoDB vs. RDBMS - Comparison of Transactions - Achieving transactions in MongoDB
NoSQL and SQL databases. and ACID compliance.

Collections and Documents - WiredTiger Storage Engine - Features and


Understanding MongoDB’s structure. optimizations.
Advanced Aggregation - Complex aggregations with
_id - Importance and uniqueness. $lookup, $group, and $project.

Indexes - Types, usage, and how they Optimize Query Performance - Techniques and
improve query performance. strategies.

Embedded Documents - Storing related Schema Design Best Practices - Designing efficient
data within a single document. schemas in MongoDB.
Aggregation - Basics of aggregation and
pipelines. Change Streams - Real-time data change tracking.
Replication - Concept and need for MongoDB Atlas - Overview and use of MongoDB’s
replication. managed cloud service.
Basic CRUD Operations - Create, Read,
Update, Delete.
MongoDB Data Types - BSON data types
(e.g., string, number, date).
Additional Interview-Based Concept
Index Types - Compound, text, geospatial,
and hashed indexes.
Performance Tuning - Identifying slow
queries and improving performance.
Data Modeling - Relational vs. document-
based data models.

Error Handling and Retry Logic - Handling


network errors andIndexes
TTL (Time-To-Live) connection loss.
- Automatic data
expiration.

CAP Theorem - Consistency, Availability,


Partition tolerance in MongoDB.

Backups and Restorations - Backup


strategies and tools.
Migration - Migrating data from RDBMS to
MongoDB.
Technical Interview Question
Reverse number in js (By 3 type) Using while loop,
Using forloop, Using split join function Find the Missing Number in an Array
Reverse String Delete value from the array
Apply offer of 10 % of array of no. Find the Kth Largest Element in an Array
Check even numer in array (Using filter and for
loop) Merge Two Sorted Arrays
Check vowel in string Check if Two Strings are Anagrams
Find largest number in array. (Using for loop, using
sort method) Remove Duplicates from a Sorted Array
Sort array of object on value of key Find the Intersection of Two Arrays
Find the First Non-Repeating Character in a
Largest and smallest number in array String
Remove duplication value from array (Using Set,
Using filter. using for loop) Add key and value in single object
Sort array of number
Sort array of string
Check prime number
Check palindrome no.
Factorial no
Merge two array and sort them
Count number of letter occurence in string (Using
for of and reduce)
Average of number
Check prime number in arraysss
Add value in middle of array
Serach value from array (Binary Search) / (Linear
Search)

You might also like