W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
24 questions for “Core Node.js Modules”
Found in 1 field. Select a question to see its full answer.
Matching topics
Node.js
Core
Node.js
Modules
15
Node.js
HTTP & HTTPS
Modules
2
Node.js
Node.js
Fundamentals & Runtime Architecture
1
Information Technology
24 questions in 1 technology
#
Question
Technology
Topic
Level
1
What is the difference between require() (CommonJS) and import (ES
Modules
) when loading
Node.js
's own
core
modules
?
Node.js › Core Node.js Modules
Node.js
Core
Node.js
Modules
Beginner
2
What does the node:events module's EventEmitter class provide, and what naming convention do most
Node.js
core
APIs follow when using it?
Node.js › Core Node.js Modules
Node.js
Core
Node.js
Modules
Beginner
3
What is the node: prefix for
core
module imports, and why was it introduced?
Node.js › Core Node.js Modules
Node.js
Core
Node.js
Modules
Beginner
4
What does the node:os module provide, and what are some commonly used functions from it?
Node.js › Core Node.js Modules
Node.js
Core
Node.js
Modules
Beginner
5
What does the URL/URLSearchParams API provide, and why is it generally preferred over the older querystring module today?
Node.js › Core Node.js Modules
Node.js
Core
Node.js
Modules
Beginner
6
What does the node:path module provide, and why should you always use it instead of manually concatenating file path strings?
Node.js › Core Node.js Modules
Node.js
Core
Node.js
Modules
Intermediate
7
What does the node:zlib module provide, and how would you use it to compress an HTTP response?
Node.js › Core Node.js Modules
Node.js
Core
Node.js
Modules
Intermediate
8
What does the node:readline module provide, and what is a common use case for it?
Node.js › Core Node.js Modules
Node.js
Core
Node.js
Modules
Intermediate
9
What is the util module's inspect() function used for, and how does it relate to how console.log() displays objects?
Node.js › Core Node.js Modules
Node.js
Core
Node.js
Modules
Beginner
10
What does the node:crypto module provide, and what's the difference between hashing and encryption?
Node.js › Core Node.js Modules
Node.js
Core
Node.js
Modules
Intermediate
Show all 24 questions in Information Technology