wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Android app develeopment Internal Practice Quiz

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

Which Android component is responsible for handling background tasks like playing music or fetching data from the internet?

a)

Service

b)

Activity

c)

Spinner

d)

Intent

2.

Folder in which images getting placed in android studio:

a)

res

b)

drawable

c)

manifest

d)

gradle

3.

Which keyword is use to declare variable in Kotlin?

a)

var

b)

variable

c)

#

d)

$

4.

What is the correct syntax for a lambda expression in Kotlin?

a)

{ x + y }

b)

x, y -> x + y

c)

x -> y + x       

d)

{ x, y -> x + y }

5.

Adapter acts like a bridge between a data source and ________

a)

Source Code

b)

User

c)

User Interface

d)

View

6.

It is a lower layer of android OS:

a)

Memory

b)

Linux Kernel

c)

API

d)

Libraries

7.

Which type of Intent is used to launch a new Activity in Android?

a)

Implicit

b)

Explicit

c)

Broadcast

d)

Both Implicit & Explicit

8.

What is the default visibility of properties and functions in Kotlin classes if not explicitly specified?

a)

public

b)

Private

c)

Protected

d)

implicit

9.

Which function is used to start a new activity in Kotlin for Android?

a)

resumeActivity()

b)

endActivity()

c)

callActivity()

d)

startActivity()

10.

________ are the functions without name in Kotlin.

a)

non-parameterized

b)

parameterized

c)

lamba

d)

anonymous