Loading

Quipoin Menu

Learn • Practice • Grow

node-js / Node.js vs Traditional Servers
mcq
Direction: Choose the correct option

Q1.

How does Node.js differ from traditional servers like Apache?
A. Node.js uses multiple threads per request
B. Node.js is event-driven and non-blocking, while traditional servers are often thread-based
C. Node.js is slower for I/O operations
D. Node.js cannot serve static files
Direction: Choose the correct option

Q2.

What is a key advantage of Node.js over traditional servers for I/O-heavy applications?
A. Higher scalability with fewer resources
B. Easier to write synchronous code
C. Better CPU utilization
D. Built-in database support
Direction: Choose the correct option

Q3.

Traditional servers like Apache are typically?
A. Multi-threaded and blocking
B. Single-threaded and event-driven
C. Process-based and asynchronous
D. Single-threaded and non-blocking
Direction: Choose the correct option

Q4.

For which type of application is Node.js particularly well-suited?
A. Heavy mathematical computations
B. Image processing
C. Data streaming and real-time apps
D. CPU-intensive applications
Direction: Choose the correct option

Q5.

What is a potential drawback of Node.js compared to multi-threaded servers?
A. CPU-intensive tasks can block the event loop
B. It requires more memory per connection
C. It cannot handle any concurrent requests
D. It does not support HTTP