Search Header Logo

PRM392 - PT2

Authored by Trung Hiếu

Other

Used 7+ times

PRM392 - PT2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

28 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

A service can handle:

perform file I/O

interact with a content provider

network transactions

play music

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

A handler can receive messages from many threads, and update user interface

Main Thread

Worker thread

UI thread

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is not a method of Asyntask?

onProgressUpdate

doOnBackground

onPreExecute

onPostExecute

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When use a recycler view, before set adapter for the recycler, you must:

setLinearManager

setManagerLayout

setLayoutManager

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

When use asyntask, we can update UI on below methods:

onProgressUpdate

onPreExecute

onPostExecute

doInBackground

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to pass an object to other activity?

object extends Serializable putExtra object to intent

only putExtra object to intent

object have to implements Serializable, then putExtra object to intent

Can't pass object by intent

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is called first when press to soft back button of android device?

finish()

destroyActivity()

endActivity()

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?