Search Header Logo

Android Development Associate

Authored by Andri Ramdhon

Computers

University

Used 118+ times

Android Development Associate
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?

findViewByReference(int id)

retrieveResourceById(int id)

findViewById(int id)

findViewById(String id)

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

During an Activity life-cycle, what is the first callback method invoked by the system?

onCreate()

onStart()

onStop()

onRestore()

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What does the following line of code achieve?

Intent intent = new Intent(FirstActivity.this, SecondActivity.class );

Starts an activity

Creates an implicit Intent.

Creates a hidden Intent.

Create an explicit Intent.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is NOT a valid usage for Intents?

Activate a SQLite DB Connection.

Activate a Broadcast receiver.

Activate a Service.

Activate and Activity.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the parent class of all Activity widgets?

Layout

ViewGroup

View

Widget

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the name of the class used by Intent to store additional information?

Parcelable

DataStore

Extra

Bundle

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

You can create a custom view by extending class Activity.

True

False

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?