Question Bank
246 approved questions from the community
What information is typically found in a package.json file?
Which files are used by npm and yarn to ensure deterministic, consistent package installations across different machines?
What are the primary functions of NPM (Node Package Manager)?
Which command-line based version manager is commonly used to update and switch between Node.js versions?
In a non-blocking I/O model, the application thread must stop and wait for a file read operation to complete before continuing with other tasks.
What is the primary architectural difference between Node.js and traditional servers like Apache/PHP?
Which of the following are distinct phases or components of the Node.js event loop?
Which components are part of the event-driven programming architecture in Node.js?
How does Node.js handle multi-threading for compute-heavy tasks if it operates on a single main thread?
What are the key features and characteristics of Node.js?
How can you implement custom property behavior in Kotlin classes?
What occurs during a 'smart cast' in Kotlin?
What is the function of the Elvis operator (?:) in Kotlin?
Which features does the 'when' expression in Kotlin provide?
What is a major difference between 'if' in Kotlin compared to Java?
What are the benefits of using extension functions in Kotlin?
How do you perform string interpolation in Kotlin for an expression like adding two numbers?
What are the characteristics and use cases for the 'Unit' type in Kotlin?
Kotlin code can be executed without a main function by using 'script mode' with file extensions like .kts.
Which of the following statements about Kotlin type inference are true?