Вы находитесь на странице: 1из 5

1] A class which can create only an object, that object can be share able to all other classes is

called ______________.
Object Class
Singleton class
fragment class
None of the above
2] _________contains a file that should be compiled into a .apk file.
src
manifest
assets
None of the above

3] What does the src folder contain?


Image and icon files
XML resource file
The application manifest file
Java source code files

4] Android tries hard to _____low-level components, such as the software stack, with
interfaces so that vendor-specific code can be managed easily.
confound
absract
modularize
compound
5] View pager is used for _________.
Swiping Activities
Swiping Fragments
Paging Down List Items
View Pager Is Not Supported By Android SDK

6] Which component is not activated by an Intent?


activity
services
contentProvider
broadcastReceiver
7] What operating system is used as the base of the Android stack ?
Java
XML
Linux
Windows
8] Which is a batch file and shell script which was used to create a new Android project.?
Activity Start
Activiry Creator
ActivityNew
None of the above

9] What runs in the background and doesn't have any UI components?


Intents
Content Provider
Services
Applications
10] What built-in database is Android shipped with?
SQLite
Apache
MySQL
Oracle
11] _______ XML file that contains all the text that your application uses.
stack.xml
text.xml
strings.xml
string.java
12] Which of these are not one of the three main components of the APK?
Dalvik Executable
Resources
Native Libraries
Webkit
13] What is an Activity?
A single screen the user sees on the device at one time
A message sent among the major building blocks
A component that runs in the background without any interface
Context referring to the application environment

[14] _______________facilitates content access, publishing and messaging between


applications and application components.
android.content
android.webkit
android.app
android.widget
[15] Which of the following is NOT a state in the lifecycle of a service?
Starting
Running
Destroyed
Paused
16] Android is based on Linux for the following reason :
Security
Portability
Networking
All of these
17] A ___________ makes a specific set of the application data available to other applications.
Content provider
Broadcast receivers
Intent
None of the above
18] What runs in the background and doesn’t have any UI components?
Intents
ContentProvider
Services
Application
19] The requests from Content Provider class is handled by which method ?
onCreate
onSelect
onClick
ContentResolver
20] ______________is used to test the android application without the need for mobile or
tablet etc.
Manifest
Android Virtual Device
Fragment
None of the above
21] What is contained within the manifest xml file?
The list of string used in app
The permissions the app requires
The source code
All of these
2] _______________ is a view which contains the group of items and displays in a scrollable
list.
DialogView
ListView
GroupView
None of the above
23] Parent class of Service?
Object
context
ContextWrapper
contextThemeWrapper

24] What is a thread in android?


Same as services
Background activity
Broadcast receiver
Independent dispatchable unit
25] Layouts in android?
Frame Layout
Linear Layout
Relative Layout
All of these
6] _____________ identifies the linear layout as horizontal or vertical.
Fragmentation
orientation
Detailing
None of the above
27] If you delete __________file, android creates it automatically.
R.java
manifest
Fragment
None of the above
28] The basic building element of Android's user interface is called _________.
View
ContentProvider
ViewGroup
Layout
29] _____________acts as bridge between emulator and IDE.
ADT
ADB
Controller
Debug
30] Which among these are NOT a part of Android's native libraries?
Webkit
Dalvik
openGL
SQLite