Question Bank

3705 approved questions from the community

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

EASY
SINGLE CHOICE
30s
Nodejs
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
45s
Nodejs
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
45s
Nodejs
by Mohamed

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

MEDIUM
SINGLE CHOICE
40s
Nodejs
by Mohamed

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

EASY
MULTIPLE CHOICE
30s
Nodejs
by Mohamed

How can you implement custom property behavior in Kotlin classes?

MEDIUM
MULTIPLE CHOICE
45s
Kotlin
by Mohamed

What occurs during a 'smart cast' in Kotlin?

MEDIUM
SINGLE CHOICE
30s
Kotlin
by Mohamed

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

MEDIUM
SINGLE CHOICE
30s
Kotlin
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
45s
Kotlin
by Mohamed

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

MEDIUM
SINGLE CHOICE
30s
Kotlin
by Mohamed

What are the benefits of using extension functions in Kotlin?

MEDIUM
MULTIPLE CHOICE
45s
Kotlin
by Mohamed

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

EASY
SINGLE CHOICE
25s
Kotlin
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
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 CHOICE
45s
Kotlin
by Mohamed

How can you create a singleton in Kotlin using the most succinct syntax?

EASY
SINGLE CHOICE
30s
Kotlin
by Mohamed

What is the primary difference between 'val' and 'var' in Kotlin?

EASY
SINGLE CHOICE
25s
Kotlin
by Mohamed

Which of the following are built-in primitive types in Kotlin?

EASY
MULTIPLE CHOICE
30s
Kotlin
by Mohamed

How does Kotlin improve the developer experience for Android development compared to Java?

MEDIUM
MULTIPLE CHOICE
45s
Kotlin
by Mohamed

What are the key strengths of Kotlin when running on the JVM?

MEDIUM
MULTIPLE CHOICE
45s
Kotlin
by Mohamed
PreviousPage 177 of 186Next