Search Header Logo

Android Development Quiz

Authored by ahmed sabbah

Computers

University

Used 1+ times

Android Development Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

Parcelable

DataStore

Extra

Bundle

2.

MULTIPLE CHOICE QUESTION

30 sec • 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)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

onCreate()

onStart()

onStop()

onRestore()

4.

MULTIPLE CHOICE QUESTION

1 min • 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.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the parent class of all Activity widgets?

Layout

ViewGroup

View

Widget

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can create a custom view by extending class Activity.

True

False

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the Android project folder “res/” contain?

Resource files

Java Activity classes

Java source code

Libraries

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers