Loading...
QUIZ

Certification Test

 
Que No. 1 ) What is Kotlin?

A.) A web framework
B.) A database management system
C.) A statically-typed programming language
D.) A markup language


Que No. 2 ) Who developed Kotlin?

A.) Google
B.) JetBrains
C.) Apple
D.) Microsoft


Que No. 3 ) Which platform is Kotlin primarily used for?

A.) Mobile app development
B.) Web development
C.) Game development
D.) Data science


Que No. 4 ) What is the main advantage of Kotlin over Java?

A.) It's easier to learn
B.) It's a functional programming language
C.) It's more concise and expressive
D.) It has better performance


Que No. 5 ) In Kotlin, what keyword is used to declare a variable?

A.) var
B.) val
C.) variable
D.) let


Que No. 6 ) Which of the following is a valid way to create a constant in Kotlin?

A.) const myConstant = 42
B.) val myConstant = 42
C.) let myConstant = 42
D.) final myConstant = 42


Que No. 7 ) What is the type inference feature in Kotlin?

A.) The ability to automatically assign a type to a variable based on its value
B.) A type that can only hold null values
C.) The process of explicitly declaring variable types
D.) A type used for defining classes


Que No. 8 ) Which symbol is used for string interpolation in Kotlin?

A.) $ (dollar sign)
B.) # (hash)
C.) @ (at sign)
D.) % (percent)


Que No. 9 ) Which keyword is used to declare a function in Kotlin?

A.) method
B.) func
C.) fun
D.) procedure


Que No. 10 ) What is the primary function of the main function in a Kotlin program?

A.) To define a class
B.) To serve as the entry point of the program
C.) To declare variables
D.) To handle exceptions