Question Bank

246 approved questions from the community

What information is typically found in a package.json file?

EASY
MULTIPLE RESPONSE
35s
Nodejs
by Mohamed

Which files are used by npm and yarn to ensure deterministic, consistent package installations across different machines?

MEDIUM
MULTIPLE RESPONSE
30s
Nodejs
by Mohamed

What are the primary functions of NPM (Node Package Manager)?

EASY
MULTIPLE RESPONSE
30s
Nodejs
by Mohamed

Which command-line based version manager is commonly used to update and switch between Node.js versions?

EASY
MULTIPLE CHOICE
30s
Nodejs
by Mohamed

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.

EASY
TRUE FALSE
20s
Nodejs
by Mohamed

What is the primary architectural difference between Node.js and traditional servers like Apache/PHP?

EASY
MULTIPLE CHOICE
30s
Nodejs
by Mohamed

Which of the following are distinct phases or components of the Node.js event loop?

MEDIUM
MULTIPLE RESPONSE
45s
Nodejs
by Mohamed

Which components are part of the event-driven programming architecture in Node.js?

MEDIUM
MULTIPLE RESPONSE
45s
Nodejs
by Mohamed

How does Node.js handle multi-threading for compute-heavy tasks if it operates on a single main thread?

MEDIUM
MULTIPLE CHOICE
40s
Nodejs
by Mohamed

What are the key features and characteristics of Node.js?

EASY
MULTIPLE RESPONSE
30s
Nodejs
by Mohamed

How can you implement custom property behavior in Kotlin classes?

MEDIUM
MULTIPLE RESPONSE
45s
Kotlin
by Mohamed

What occurs during a 'smart cast' in Kotlin?

MEDIUM
MULTIPLE CHOICE
30s
Kotlin
by Mohamed

What is the function of the Elvis operator (?:) in Kotlin?

MEDIUM
MULTIPLE CHOICE
30s
Kotlin
by Mohamed

Which features does the 'when' expression in Kotlin provide?

MEDIUM
MULTIPLE RESPONSE
45s
Kotlin
by Mohamed

What is a major difference between 'if' in Kotlin compared to Java?

MEDIUM
MULTIPLE CHOICE
30s
Kotlin
by Mohamed

What are the benefits of using extension functions in Kotlin?

MEDIUM
MULTIPLE RESPONSE
45s
Kotlin
by Mohamed

How do you perform string interpolation in Kotlin for an expression like adding two numbers?

EASY
MULTIPLE CHOICE
25s
Kotlin
by Mohamed

What are the characteristics and use cases for the 'Unit' type in Kotlin?

MEDIUM
MULTIPLE RESPONSE
40s
Kotlin
by Mohamed

Kotlin code can be executed without a main function by using 'script mode' with file extensions like .kts.

EASY
TRUE FALSE
20s
Kotlin
by Mohamed

Which of the following statements about Kotlin type inference are true?

MEDIUM
MULTIPLE RESPONSE
45s
Kotlin
by Mohamed
PreviousPage 2 of 13Next