Quiz2_07-05-2025

Quiz2_07-05-2025

Professional Development

10 Qs

quiz-placeholder

Similar activities

[FAST TRACK] Android class quiz 10

[FAST TRACK] Android class quiz 10

Professional Development

15 Qs

[FAST TRACK] Android quiz 11

[FAST TRACK] Android quiz 11

Professional Development

15 Qs

Smartphone Integration Pack

Smartphone Integration Pack

Professional Development

10 Qs

[FAST TRACK] Android quiz 08 (03.06)

[FAST TRACK] Android quiz 08 (03.06)

Professional Development

15 Qs

[FAST TRACK] Android quiz week 07 (27.05)

[FAST TRACK] Android quiz week 07 (27.05)

Professional Development

15 Qs

Duit

Duit

Professional Development

12 Qs

Cloud Computing

Cloud Computing

University - Professional Development

10 Qs

Refresher Of Mi A2 & Redmi 6

Refresher Of Mi A2 & Redmi 6

Professional Development

6 Qs

Quiz2_07-05-2025

Quiz2_07-05-2025

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Uzma Sulthana

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the primary purpose of AsyncTask in Android?

To manage databases

To run operations in the UI thread

To perform background operations and publish results on the UI thread

To create services

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which method is called after doInBackground() completes?

onPostExecute()

onCancelled()

onProgressUpdate()

onPreExecute()

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which permission is needed to access the internet in Android?

android.permission.ACCESS_NETWORK_STATE

android.permission.INTERNET

android.permission.ACCESS_WIFI_STATE

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which stream is used to read server responses?

InputStream

OutputStream

FileOutputStream

BufferedOutputStream

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A broadcast receiver runs on which thread?

UI thread

Worker thread

Background thread

Main thread

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which intent is used to send broadcasts?

Intent.ACTION_SEND

sendBroadcast(Intent)

setBroadcastIntent()

createBroadcast()

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which method starts a service explicitly?

bindService()

onStartCommand()

runService()

startService()

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?