WorksheetsAndroid app develeopment Internal Practice Quiz
Total questions: 10
Worksheet time: 3mins
Which Android component is responsible for handling background tasks like playing music or fetching data from the internet?
Service
Activity
Spinner
Intent
Folder in which images getting placed in android studio:
res
drawable
manifest
gradle
Which keyword is use to declare variable in Kotlin?
var
variable
#
$
What is the correct syntax for a lambda expression in Kotlin?
{ x + y }
x, y -> x + y
x -> y + x
{ x, y -> x + y }
Adapter acts like a bridge between a data source and ________
Source Code
User
User Interface
View
It is a lower layer of android OS:
Memory
Linux Kernel
API
Libraries
Which type of Intent is used to launch a new Activity in Android?
Implicit
Explicit
Broadcast
Both Implicit & Explicit
What is the default visibility of properties and functions in Kotlin classes if not explicitly specified?
public
Private
Protected
implicit
Which function is used to start a new activity in Kotlin for Android?
resumeActivity()
endActivity()
callActivity()
startActivity()
________ are the functions without name in Kotlin.
non-parameterized
parameterized
lamba
anonymous
