Você está na página 1de 12

Q1.WHAT IS STICKY INTENT?

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 4

o Option 1 : A. sendIntentcast()
Option 2 : B. sendStickyBroadcast()
Option 3 : C. sendBroadcast(Intent)
Option 4 : D. Both B&C

Q2.Which of the following statements are correct with regards to calling place
GoogleAuthUtil.getToken()?
A) call getToken() on the UI thread
B) call getToken() on AsyncTask

o Difficulty Level :

o Competency : E0

o Status : Incorrect

o Marks Obtained : 0

o Response : 3
o Option 1 : A. Statement A is true, while Statement B is false.
Option 2 : B. Statement B is true, while Statement A is false.
Option 3 : C. Both statements are true.
Option 4 : D. Both statements are false.

Q3.Which of the following can you use to display an HTML web page in an Android
application?

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1
o Response : 3

o Option 1 : A. WebBrowser
Option 2 : B. BrowserView
Option 3 : C. WebView
Option 4 : D. Browser
Option 5 : E. HtmlView

Q4.Which of the following would you have to include in your project to use the SimpleAdapter
class?
o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 2
o Option 1 : A. import android.content;
Option 2 : B. import android.widget;
Option 3 : C. import android.database;
Option 4 : D. import android.database.sqlite;
Option 5 : E. import android.util;

Q5.What is Dalvik?

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 3

o Option 1 : A. In Android in Stable for Android package file


B. In this Package file containing all of the files to related for a single Android
Option 2 :
application.
C. The Dalvik VM is an interpreter-only virtual machine that executes files in the
Option 3 : Dalvik Executable (.dex) format, a format that is optimized for efficient storage
and memory-mappable execution.
Option 4 : D. The NinePatch class permits drawing a bitmap in nine sections.

Q6.What is the purpose of the ContentProvider class?


o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 3
o Option 1 : A. To play rich media content files.
Option 2 : B. To create and publish rich media files.
Option 3 : C. To share data between Android applications.
Option 4 : D. To access the global information about an application environment.
Option 5 : E. To maintain global application state.

Q7.Can an application be started on powerup?

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 2

o Option 1 : A. No
Option 2 : B. Yes
Option 3 : C. Throws Error
Option 4 : D. Depends on condition

Q8.Which of the following would you have to include in your project to use the APIs and classes
required to access the camera on the mobile device?
o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 2
o Option 1 : A. import android.drivers;
Option 2 : B. import android.hardware.camera;
Option 3 : C. import android.camera;
Option 4 : D. import android.util;
Option 5 : E. import android. hardware;

Q9.What is the ListActivity class used for?

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 1

Option 1 : A. Create a View to display a list of items from a data source.


Option 2 : B. List all the activities currently running on the Android device.
Option 3 : C. List all the activities that are installed on the Android device.
Option 4 : D. List the activities whose IntentFilters match with a particular Intent type.

Q10.Consider the XML fragment below, which is taken from one of the files in an Android
project:
<MyElement xmlns:"http://schemas.androd.com/apk/res/android"
android:layout_width = "fill_parent"
android:layout_height = "fill_parent"
android:text = "Some Text">

Which of the following are true about the XML fragment above?
Note: There may be more than one right answer.

o Difficulty Level :

o Competency : E0

o Status : Incorrect

o Marks Obtained : 0

o Response : 1,3,6
Option 1 : A. It is taken from the manifest XML file of the Android project.
Option 2 : B. It is taken from an XML file used to define a view.
Option 3 : C. It is taken from the package file (.apk) of the Android project.
Option 4 : D. The xmlns: attribute is a compulsory attribute.
E. If this is not the outer most tag in the XML file then it need not contain the
Option 5 :
xmlns: attribute.
F. MyElement should be the name of a class derived, directly or indirectly, from
Option 6 :
the View class.

Q11.How is nine-patch image different from a regular bitmap?

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 4

o Option 1 : A. No difference
Option 2 : B. The NinePatch class permits drawing a bitmap in nine sections.
C. It is a resizable bitmap resource that can be used for backgrounds or other
Option 3 :
images on the device.
Option 4 : D. Both B&C

Q12.What Single screen is an Application?


o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 1
Option 1 : A. Activity
Option 2 : B. Intent
Option 3 : C. resource
Option 4 : D. None Of these

Q13..dex format is a

o Difficulty Level :

o Competency : E0
o Status : Correct

o Marks Obtained : 1

o Response : 2

o Option 1 : A. GSensor extension


Option 2 : B. Dalvik extension
Option 3 : C. Anroid extension
Option 4 : D. Intent extension

Q14.Which of the following formats is not supported in Android?


o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 3
o Option 1 : A. MP4
Option 2 : B. MPEG
Option 3 : C. AVI
Option 4 : D. MIDI

Q15.What is .apk extension?

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 4

o Option 1 : A. In Android in Stable for Android package file


B. In this Package file containing all of the files to related for a single Android
Option 2 :
application.
Option 3 : C. In this file itself is a compressed collection of an AndroidManifest.xml file.
Option 4 : D. All of Above

Q16.Which of the following are classes that can be used to handle the Bluetooth functionality on
a device?
o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 4
o Option 1 : A. Adapter
Option 2 : B. Manager
Option 3 : C. Matcher
Option 4 : D. BluetoothAdapter

Q17.Which of the following statements are correct with regards to signing applications?
a) All applications must be signed.
b) No certificate authority is needed.
c) When releasing application special debug key that is created by the Android SDK build tools
can be used.

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 4

o Option 1 : A. a) and b) are true


Option 2 : B. a) and c) are true
Option 3 : C. b) and c) are true
Option 4 : D. all statements are true

Q18.What is Android-Positron?
o Difficulty Level :

o Competency : E0

o Status : Correct
o Marks Obtained : 1

o Response : 2
o Option 1 : A. A con-hand line tool to create Android project files.
Option 2 : B. A framework to create unit tests for Android projects.
Option 3 : C. A resource editor to create user interface for Android applications.
Option 4 : D. A tool to generate Android byte code from .class files.
Option 5 : E. An emulator to execute and debug Android projects.

Q19.Which of the following packages provide the classes required to manage the Bluetooth
functionality on an Android device?

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 2

o Option 1 : A. android.hardware
Option 2 : B. android.bluetooth
Option 3 : C. android.bluez
Option 4 : D. org.bluez

Q20.What are the features of Android?


o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 4
o Option 1 : A. Components can be reused and replaced by the application framework.
Option 2 : B. Optimized DVM for mobile devices
Option 3 : C. SQLite enables to store the data in a structured manner.
Option 4 : D. All of the Above.

Q21.A User Defined JSON, XML, Bitmap, or other file, injected into the application build
process, which can later be loaded from code.

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 1

Option 1 : A. Resource
Option 2 : B. Intent
Option 3 : C. Sticky Intent
Option 4 : D. Activity

Q22.Suppose Screen1 is the main screen of an Android application MyAndroid. Now if another
screen, Screen2 has to be opened from Screen1, then which of the following are true?
Note: There may be more than one right answer.

o Difficulty Level :

o Competency : E0

o Status : Incorrect

o Marks Obtained : 0

o Response : 2,6
o Option 1 : A. Screen2 has to be a part of MyAndroid.
Option 2 : B. Screen2 can exist in any other Android application installed on the device.
Option 3 : C. Screen2 will always be launched asynchronously.
Option 4 : D. Screen2 can be launched synchronously.
Option 5 : E. Screen2 can return a result code to Screen1 if launched with startActivity.
F. Screen2 can return a result code to Screen1 if launched with
Option 6 :
startActivityForResult.

Q23.Android usage in real scenario is

o Difficulty Level :

o Competency : E0

o Status : Correct
o Marks Obtained : 1

o Response : 4

A. imagine a situation that you are in a country where no one understands the
o Option 1 : language you speak and you cannot read or write. However, you have mobile
phone with you.
B. With a mobile phone with android, the Google translator translates the data of
Option 2 :
one language into another language by using XMPP to transmit data.
C. You can type the message in English and select the language which is
Option 3 : understood by the citizens of the country in order to reach the message to the
citizens.
Option 4 : D. All of these

Q24.What is ADB?
o Difficulty Level :

o Competency : E0

o Status : Incorrect

o Marks Obtained : 0

o Response : 4
o Option 1 : A. Android Debug Bridge
Option 2 : B. A command-line debugging application shipped with the SDK
Option 3 : C. It provides tools to browse the device.
Option 4 : D. All of above

Q25.What is Intent?

o Difficulty Level :

o Competency : E0

o Status : Incorrect

o Marks Obtained : 0

o Response : 4

o Option 1 : A. A class which describes what a caller desires to do.


Option 2 : B. The caller will send this intent to android's intent resolver.
Option 3 : C. both A & B
Option 4 : D. None of these.

Q26.Which of the following statements are correct?


o Difficulty Level :

o Competency : E0

o Status : Incorrect

o Marks Obtained : 0

o Response : 2,3,5
A . The AndroidManifest.xml is optional and a default will be supplied if your app
o Option 1 :
doesnt provide one.
B . The AndroidManifest.xml must supply a unique Application package name for
Option 2 :
your App.
C . All Android applications must provide an Activity specified in
Option 3 :
AndroidManifest.xml.
Option 4 : D . You can specify your Apps target API in the AndroidManifest.xml.
Option 5 : E. The App name you specify in AndroidManifest.xml must be unique.

Q27.Inflate Exception is a

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 1

Option 1 : A. When an error conditions are occurred, this exception is thrown


Option 2 : B. When a surface is not created or resized, this exception is thrown
Option 3 :
C. This exception is thrown from the lockCanvas() method, when invoked on a
Surface whose is SURFACE_TYPE_PUSH_BUFFERS
Option 4 :
D. This exception is thrown at the time of trying to add view an invalid
WindowManager.LayoutParamstoken

Q28.Which of the following Integrated Development Environments can be used for developing
software applications for the Android platform?
o Difficulty Level :

o Competency : E0
o Status : Correct

o Marks Obtained : 1

o Response : 2
o Option 1 : A. Android IDE
Option 2 : B. Eclipse
Option 3 : C. Visual Studio 2005
Option 4 : D. Visual Studio 2008

Q29.Which of the following statements correctly describe the signing process?

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 1,2,5

Option 1 : A. All applications must be signed in order to be deployed.


Option 2 : B. For local & non-Google Play development a self-signed certificate will work.
Option 3 : C. There are 3 signing modes: debug, test and release.
D. To distribute a test app to more than 100 targets a test certificate from Google
Option 4 :
must be issued for that App.
E. A release mode certificate will be issued by Google for a one off fee when you
Option 5 :
register as an Android developer and it will be valid for all apps you sign with.

Q30.Which of the following are Android build modes?


Note: There may be more than one right answer

o Difficulty Level :

o Competency : E0

o Status : Correct

o Marks Obtained : 1

o Response : 1,2
Option 1 : A. Debug mode
Option 2 : B. Release mode
Option 3 : C. Production mode
Option 4 : D. Development mode

Você também pode gostar