Week5 Session 1- Interview Questions
1. What is [Link], and why is it popular?
[Link] is an open-source, cross-platform JavaScript runtime environment that executes
JavaScript code outside a web browser. It is popular because it uses a non-blocking, event-driven
architecture that is ideal for building scalable and high-performance applications.
2. How does [Link] differ from other JavaScript runtime environments?
Unlike traditional JavaScript environments that run in a browser, [Link] runs JavaScript on the
server. It uses the V8 JavaScript engine, allowing for fast execution, and supports non-blocking
I/O operations for high concurrency.
3. What are the main features of [Link]?
Main features of [Link] are as follow:-
● Asynchronous and Event-Driven: Handles multiple requests efficiently without blocking.
● Single-Threaded Architecture: Achieves scalability using an event loop.
● Fast Execution: Powered by Google’s V8 engine.
● NPM: Provides access to a large repository of open-source libraries.
● Cross-Platform: Compatible with multiple operating systems
4. What is npm, and why is it used in [Link]?
NPM (Node Package Manager) is a package manager for [Link]. It is used for installing,
managing, and sharing libraries and dependencies for [Link] applications.
5. What is non-blocking I/O in [Link]?
Non-blocking I/O allows [Link] to handle multiple requests without waiting for one to finish,
improving performance.
6. Name some real-world applications built with [Link].
Some real world applications built with [Link] are :-
● Netflix: Streaming platform
● LinkedIn: Backend API
● Walmart: E-commerce
● PayPal: Payment gateway