Quiz Android 1

Quiz Android 1

Professional Development

15 Qs

quiz-placeholder

Similar activities

Basic Forex by C'Joh

Basic Forex by C'Joh

Professional Development

10 Qs

BSBCRT411 Creative thinking techniques

BSBCRT411 Creative thinking techniques

Professional Development

10 Qs

New Harrier & Safari Assessment

New Harrier & Safari Assessment

Professional Development

20 Qs

Ta-cause du mardi - Samsung et Technologie 5G

Ta-cause du mardi - Samsung et Technologie 5G

Professional Development

10 Qs

Contract Law

Contract Law

Professional Development

15 Qs

Chapter 1. Sport Management. History of Sport Management

Chapter 1. Sport Management. History of Sport Management

University - Professional Development

10 Qs

Android Test 7

Android Test 7

Professional Development

15 Qs

( BDRG ) AGL Set 1

( BDRG ) AGL Set 1

Professional Development

15 Qs

Quiz Android 1

Quiz Android 1

Assessment

Quiz

Business

Professional Development

Hard

Created by

ivi gam

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

How to share view model between fragment-fragment, activity-fragments?

Init view model using "by viewmodels()" function of fragment-ktx

Init view model using "by activityViewModels()"" function of fragment-ktx

Init view mode by using "ViewModelProvider(fragment context).get"

Init view model by using "ViewModelProvider(activity context).get"

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is different between DataBinding and FindViewById method?
DataBinding generate binding class at runtime and findViewById run at compile time.
DataBinding generate binding class at compile time and findViewById run at runtime.
DataBinding and findViewById run at compile time.
DataBinding and findViewById run at runtime

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What happens when you use the API 15 features but set compile Sdk Version to 14?

Get error when run application

Get error when compilation

All of above

No errors

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which sentences is wrong when say about lateinit and lazy keyword
lateinit if for non-null properties, it means no need to check null for it.
lateinit can only be used with var (mutable) properties whereas lazy can only be used for val (immutable) properties.
lateinit and lazy can work with primitive type.
While using Singleton Pattern (Object Declaration in Kotlin) we should use lazy, as it will be initialized upon first use.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many threads can be executed at a time?
Only one thread
Only main (main() method) thread
Multiple threads
Two threads

6.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Android uses “Intents” to communicate and send data between different components which make it vulnerable to malicious attacks. Which of the following choices are component level Permissions to protect this type of communication? (Multi select)

Activity

Service

Content Provider

Widgets

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Android SQLite database files are stored under the ………………………………… directory
/data/database/<application-path>/databases/
/data/data/<application-path>/databases/
/data/files/<application-path>/databases/
/data/mydata/<application-path>/databases/

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?