KOTLIN QUIZ DESCRIPTION Total Questions −30 00 Max Time − 15:00 Kotlin is a statically-typed programming language which runs on the? JCM JVM JPM JDM What stores data and its info? databank database datastore datakeeper Which OS is open source for kotlin? Linux Mac OS Both A & B JVM, Android, JavaScript and Native Kotlin mutable in which way? val var const final What is the use of React Native as multiplatform in kotlin? Google Oracle GitHub Facebook Which the right code to declare nullable variable in Kotlin? val text: String = null val text: String? = null val text: nullable = null val text: String Something that needs a specific value to be True conditionals booleans loops variables A program. An Icon A set of instructions for your computer A handbook A blueprint Classes can be inherited from other classes using keyword... colon ( : ) extend implement comma ( , ) To make something repeat over and over again. repeat loop go-over repeater How can you declare a variable in Kotlin? value my_var: Char value Char : my_var my_var: Char value my_var: Char What is the most important benefits of using Kotlin? Kotlin language is easy to learn as its syntax is similar to Java. It is an expressive language which makes code readable and understandable. It is is a functional language and based on JVM. All are Correct Which is the right declaration to make a variable with the Character data type? val char = 'ABC' val char = "A" val char = 'A' val char = A How to write correct parameters in Kotlin? fun sum(Int: ValueA, Int: valueB) fun sum(Int ValueA, Int valueB) fun sum(valueA: Int, valueB: Int) fun sum(valueA Int, valueB Int) Can we migrate code from Java to Kotlin? Yes No According to code convention, what format used for the function name? camelCase PascalCase snake_case kebab-case A function which can accepts a function as parameter or can returns a function is called ... Extensions Lambda High-Order Function Nullable Receiver What is preferable to use as developer? Kotlin Java what kinds of programming types does Kotlin support? OOPS Procedural Programming Both A & B None of the Above What does AI mean? Artificial Intelligence Artificial Interrogation Variable Kotlin by default is nullable. True False Mention the collection in the kotlin! list, set, dan map array, set, dan map list, setter, hashMap arrayList, set, map Which is the correct data class? class DataUser(name : String, address : String) data class DataUser(name : String, address : String) data class DataUser(val name : String, val address : String) open data class DataUser(val name : String, val address : String) Which of follwing targets currently not supported by Kotlin? LLVM NET CLR Javascript No one How to write correct parameters in Kotlin? fun sum(Int: ValueA, Int: valueB) fun sum(Int ValueA, Int valueB) fun sum(valueA: Int, valueB: Int) fun sum(valueA Int, valueB Int) By default functions in Kotlin are ... Private Internal Protected Public Which of the following is Use for reading contents of file to ByteArray? bufferedReader() readText() readBytes() readLines() What is the use of data class in Kotlin? extract the basic data types delete the basic data types present the basic data types holds the basic data types What are the basic data types in Kotlin? Characters Numbers & Strings Booleans & Arrays All are Correct Elvis operator keyword? ?: ?? :? ?. Previous Next Total Question16 Wrong Answer13 Right Answer13