Node.js Fundamentals
-
What is Node.js?
-
Why should we use Node.js?
-
How does Node.js work internally?
-
How is Node.js different from a browser runtime?
-
Why is Node.js single-threaded?
-
If Node.js is single-threaded, how does it handle concurrency?
-
What is the V8 engine?
-
Why does Node.js use the V8 engine?
-
What is I/O in Node.js?
-
What is non-blocking I/O?
-
Difference between blocking and non-blocking code
-
Difference between synchronous and asynchronous execution
-
What is event-driven programming?
-
What is control flow in Node.js?
-
What is a control flow function?
JavaScript Concepts (Node Context)
-
What are callbacks?
-
What is an error-first callback?
-
What is callback hell?
-
What are first-class functions?
-
What is closure?
-
What is lexical scope?
-
What is hoisting?
-
Difference between
var,let, andconst -
Difference between
==and=== -
What is the global object in Node.js?
Event Loop & Async Basics
-
What is the Event Loop?
-
What is the role of the event queue?
-
How does Node.js handle multiple requests concurrently?
-
What are Promises?
-
What problem do Promises solve?
-
What is promise chaining?
-
What is async/await?
-
How does async/await improve readability?
Modules & Package Management
-
What are modules in Node.js?
-
What is CommonJS?
-
What are ES Modules?
-
Difference between CommonJS and ES Modules
-
What is require()?
-
How do you import a module in Node.js?
-
Difference between exports and module.exports
-
What is NPM?
-
What are the main functions of NPM?
-
What is package.json?
-
What is node_modules?
-
Difference between local and global package installation
-
How do you install, update, and remove dependencies?
-
Difference between npm and yarn
File System & Utilities
-
What is the fs module?
-
Difference between synchronous and asynchronous fs methods
-
What is a Buffer?
-
When is Buffer used?
-
What are streams?
-
Types of streams in Node.js
-
Difference between readFile() and createReadStream()
-
What is piping in Node.js?
-
What is backpressure in streams?
Server & HTTP
-
How do you create a simple HTTP server in Node.js?
-
What are the different types of HTTP requests?
-
What are Node.js API functions?
-
How many types of API functions exist in Node.js?
-
What is middleware?
-
What is Express.js?
-
Difference between Node.js and Angular
-
Difference between frontend and backend development
-
What is routing in Express.js?
Environment, Process & Debugging
-
What are environment variables?
-
How do you use process.env?
-
What is NODE_ENV?
-
What is REPL?
-
What happens when you run
node index.js? -
Difference between
__dirnameandprocess.cwd() -
How do you debug a Node.js application?
-
How do you execute JavaScript code from a file?