Professional Documents
Culture Documents
Unit 5: Activity and Multimedia With Databases Mcqs (22617 Mad)
Unit 5: Activity and Multimedia With Databases Mcqs (22617 Mad)
contact us on business@cwipedia.in
1. If you want to navigate from one activity to another then android 1/1
provides you which class? *
A) Object
B) startActivity
C) Intent
A) It is a kind of an intent
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscore… 1/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
A) Explicit intents
B) Implicit intents
C) Start intents
A) Adapter
B) Activity
C) Fragments
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscore… 2/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
6. For creating Fragments the java class needs to extend which base 1/1
class? *
A) MainActivity
B) MiniActivity
C) Fragment
7. You can shut down activity by calling its _______ method * 1/1
A. onDestory()
B. finishActivity()
C. finish()
A. object
B. context
wrong
C. activityGroup
D. contextThemeWrapper
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscore… 3/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
a)device memory
b)external memory
c) security sandbox
a)AccountAuthenticatorActivity
b) ActivityGroup
c) ExpandableListActivity
d) FragmentActivity
e) ListActivity
a)LauncherActivity
b)PreferenceActivity
c) TabActivity
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscore… 4/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
a)Object
b)Context
c) ContextWrapper
d)ContextThemeWrapper
a)Activity
b)Services
c)ContentProvider
d)BroadcastReceiver
a)Using Intent
b)Using SQLite
c)Using ContentResolver
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscore… 5/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
a)DialogFragment
b)ListFragment
c)PreferenceFragment
d)CursorFragment
a)Started
b)Bound
c)a & b
17. If your service is private to your own application and runs in the same 1/1
process as the client (which is common), you should create your
interface by extending the ________class? *
a) Messenger
b) Binder
c) AIDL
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscore… 6/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
B - GPRS permission
C - Internet permission
D - WIFI permission.
19. How many protection levels are available in the android permission 1/1
tag? *
20. If you want share the data accross the all applications ,you should go 1/1
for? *
a)Shared Preferences
b)Internal Storage
c)SQLite Databases
d)content provider
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscore… 7/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
A - Worker Thread
B - Own Thread
C - Main Thread
A - onCreate() −> onStart() −> onActivityStarted() −> onResume() −> onPause() −>
onStop() −> onActivityDistroy() −> onDestroy()
C - OnCreate() −> onStart() −> onPause() −> onResume() −> onStop() −> onDestroy()
D - −>onResume()
C-A&B
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscore… 8/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
24. What is the difference between content values and cursor in android 1/1
SQLite *
A - Content values are key pair values, which are updated or inserted in the database
C-A&B
A-4
B - 10
C-2
Feedback
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscore… 9/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
a)true
b)false
A - Only one
B- Two
A - onReceive()
B - onCreate()
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscor… 10/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
A - onPreExecution
B - doInBackground
C - onProgressUpdate
D - OnPostExecution
E - onPostExecution
30. How to upgrade SQLite the database from a lower version to a higher 1/1
version in android SQlite? *
B - Using cursor
C - Using intent
31. What is the difference between content values and cursor in android 1/1
SQlite? *
A - Content values are key pair values, which are updated or inserted in the database
C-A&B
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscor… 11/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
A - Shared Preferences
B - Cursor
C - SQlite database
D - Not possible
B - Java interface
A. Atomicity
B. Acitivity
C. Activity Lifecycle
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscor… 12/13
13/09/2020 Unit 5: Activity and Multimedia With Databases MCQs (22617 MAD)
35. Can a user save all database updates in onStop ()? * 1/1
Feedback (cwipedia.in) *
ANS KEY
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy
Forms
https://docs.google.com/forms/d/e/1FAIpQLSfu5gfnAXStkPzA70hBwyaVHlMCF7yFJNvG5ALzSN9DqRG7ng/viewscore?viewscor… 13/13