MCQ Chapter 5
Chapter 5
Native data handling
1) Android
component that controls external elements of file is called
- intent
 - resource
 - view
 - manifest
 
Ans:B: resource
2) Android library
that provides access to database is
- android.database
 - android.content
 - android.app
 - android.opengl
 
Ans:A: android.database
3) Android
component that manages app's configuration file is called
- manifest
 - fragment
 - view
 - intent
 
Ans:A: manifest
4) Tab that shows
system and error messages is
- terminal
 - messages
 - TODO
 - comments
 
Ans:B: messages
5) In android
studio, tab in which memory usage of app is shown is called
- CPU
 - memory
 - ADB logs
 - logcat
 
Ans:B: memory
6) Android library
that provides access to standard functions of an operating system is
- android.os
 - android.text
 - android.view
 - android.webkit
 
Ans:A: android.os
7) Multiple
inheritance concept is indirectly used by using
- public class
 - child class
 - sub class
 - super class
 
Ans:C: sub class
8) One of
application component, that manages database issues is called
- Services
 - Content Providers
 - Broadcast Receivers
 - Activities
 
Ans:B:
Content Providers
9) Android library that provides access to
model of application is
- android.opengl
 - android.content
 - android.app
 - android.database
 
Ans:C: android.app
10) In android,
functionality of one class can be used in other class by using option
- extends
 - extended
 - extending
 - extend
 
Ans:A: extends
11) Tab that
stores history of most visited places is
- Favorites
 - Structure
 - Build variants
 - Project
 
Ans:A: Favorites
12) By default in
android studio during app development, directory made for xml files is
- res/layout
 - res/values
 - AndroidManifest.xml
 - Build.gradle
 
Ans:B: res/values
13) Method that is
used to produce log messages in android is
- Log.d()
 - Log.D()
 - Log.R()
 - Log.r()
 
Ans:A: Log.d()
14) In android
studio, quick options can be accessed from
- tool bar
 - menu bar
 - navigation bar
 - editor tab
 
Ans:B: menu bar
15) By default in
android studio during app development, file that holds information about app's
fundamental features and components is
- AndroidManifest.xml
 - res/values
 - Build.gradle
 - res/layout
 
Ans:A: AndroidManifest.xml
16) Requests from
Content Provider class is handled by method
- onCreate
 - onSelect
 - onClick
 - ContentResolver
 
Ans:D: ContentResolver
17) A type of
class that will be responsible to design main screen activity on first time
launch of application is called
- Activity class
 - Parent class
 - Child class
 - Inherited class
 
Ans:A: Activity class
18) On
implementing method of onStartCommand(), service must be stopped after task is
completed using
- stopSelf()
 - stopService()
 - stopSelf() or stopService()
 - endService()
 
Ans:C: stopSelf() or stopService()
19)  A class
that allows to display messages on logcat windows is
- Toast Class
 - Log class
 - makeTest class
 - Show class
 
Ans:B: Log class
20)  In
android studio, virtual console type tab that is used as command line interface
is called
- memory
 - CPU
 - logcat
 - ADB logs
 
Ans:D: ADB logs
Comments
Post a Comment