Question Bank

133 approved questions from the community

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

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

MEDIUM
MULTIPLE RESPONSE
40s
Kotlin
by Mohamed

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

MEDIUM
MULTIPLE RESPONSE
45s
Kotlin
by Mohamed

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

MEDIUM
MULTIPLE RESPONSE
45s
Kotlin
by Mohamed

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

MEDIUM
MULTIPLE RESPONSE
45s
Kotlin
by Mohamed

Which of these are significant purposes of the 'this' keyword in Java?

MEDIUM
MULTIPLE RESPONSE
40s
Java
by Mohamed

What is the rule regarding overloading and overriding static methods in Java?

MEDIUM
MULTIPLE CHOICE
35s
Java
by Mohamed

In Java, what effect does the 'final' keyword have when applied to different entities?

MEDIUM
MULTIPLE RESPONSE
45s
Java
by Mohamed

Which of the following are true regarding garbage collection and reference types in Java?

MEDIUM
MULTIPLE RESPONSE
45s
Java
by Mohamed

Which of the following are valid use cases for using wrapper classes in Java?

MEDIUM
MULTIPLE RESPONSE
45s
Java
by Mohamed

What is the primary role of the ClassLoader in the Java runtime environment?

MEDIUM
MULTIPLE CHOICE
35s
Java
by Mohamed

Which aspects of Java are considered 'non-object-oriented' features?

MEDIUM
MULTIPLE RESPONSE
45s
Java
by Mohamed

Which of the following are core features of Java?

MEDIUM
MULTIPLE RESPONSE
45s
Java
by Mohamed

Which of these are examples of semantic HTML tags?

MEDIUM
MULTIPLE RESPONSE
40s
HTML
by Mohamed

The <em> tag should be used when you want to emphasize text, whereas the <i> tag is typically used for styling text in italics without added semantic weight.

MEDIUM
TRUE FALSE
25s
HTML
by Mohamed

What are data-* attributes in HTML5 used for?

MEDIUM
MULTIPLE CHOICE
30s
HTML
by Mohamed

What is the role of the 'lang' attribute in the <html> tag?

MEDIUM
MULTIPLE CHOICE
35s
HTML
by Mohamed

Which of these are commonly used meta tags in HTML?

MEDIUM
MULTIPLE RESPONSE
40s
HTML
by Mohamed
PreviousPage 2 of 7Next