MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Kotlin
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
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)
Q.2
What are Booleans?
A question
True and False
A decision
Percents
Q.3
What is the meaning of HTML?
Hypertext Making Language
Hightext Markup Language
Hypertext Markup Language
Q.4
What does AI mean?
Artificial Intelligence
Artificial Interrogation
Q.5
Why do we need abstract class?
to inherited values from other classes
to avoid creating instances of the class
to not inherit values from other classes
to create an instance of the class
Q.6
When you use a data class, what functions will the compiler automatically provide?
paste(), toDouble(), notEquals()
toString(), cut(), dan isEmpty()
equals(), copy, dan toInt()
copy(), equals, dan toString()
Q.7
What value isuntil 12
10 11 12
10 11
11 12
All is wrong!
Q.8
Elvis operator keyword?
?:
??
:?
?.
Q.9
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
Q.10
Which keyword used to create a mutable variable?
var
val
const
mutable
Q.11
Deklarasi variabel Kotlin yang bersifat immutable?
val
var
const
final
Q.12
Manakah OS di bawah ini yang Open Source?
Android
Linux
Mac OS
Both A & B
Q.13
Mana yang lebih lama?
Swift
Objective C
Q.14
Bahasa pemrograman apa saja yang bisa digunakan untuk mengembangkan aplikasi Android Native?
Java
Kotlin
PHP
Swift
Both A & B
Q.15
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)
Q.16
What is Java used on?
Wifi Routers
Blu-Ray Players
Operating Systems
TV's
All of above
Q.17
What is the best known programming language ever?
Python
Kotlin
Java
Ruby
SQL
Q.18
Does programming pay you good money?
Yes, programming pays good money.
No, people make more money by making burgers.
Q.19
Which of these can be used for programming?
Python
HTML
JavaScript
Node.js
All of above
Q.20
Which ways can you use for an HTML file?
.htm
.html
.tml
Both A & B
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page