Android Multiple Choice Questions

Download as pdf or txt
Download as pdf or txt
You are on page 1of 22
At a glance
Powered by AI
The main takeaways are that Android is an open source platform licensed under the Apache/MIT license and owned by the Open Handset Alliance. The first phone to run Android was the T-Mobile G1.

The main licensing options for Android are the GNU GPL, Apache/MIT, and OSS licenses, with Android being licensed under the Apache/MIT license.

The first phone released that ran the Android OS was the T-Mobile G1.

1)Androidislicensedunderwhichopensourcelicensinglicense?

A.GnusGPL
B.Apache/MIT
C.OSS
D.Sourceforge
Ans:B

2)AlthoughmostpeoplesfirstthoughtwhentheythinkofAndroidis
Google,AndroidisnotactuallyownedbyGoogle.Whoownsthe
Androidplatform?
A.OracleTechnology
B.Dalvik
C.OpenHandsetAlliance
D.TheabovestatementisandAndroidisownedbyGoogle
Ans:C

3)AsanAndroidprogrammer,whatversionofAndroidshouldyou
useasyourminimumdevelopmenttarget?
A.Versions1.6or2.0
B.Versions1.0or1.1
C.Versions1.2or1.3
D.Versions2.3or3.0
Ans:A

ANDROIDMultipleChoiceQuestionsandAnswers

4)WhatwasGooglesmainbusinessmotivationforsupporting
Android?
A.Toleveltheplayingfieldformobiledevices
B.TodirectlycompetewiththeiPhone
C.Tocornerthemobiledeviceapplicationmarketforlicensingpurposes
D.Toallowthemtoadvertisemore
Ans:D

5)WhatwasthefirstphonereleasedthatrantheAndroidOS?
A.GooglegPhone
B.TMobileG1
C.MotorolaDroid
D.HTCHero
Ans:B

6)Fromaphonemanufacturerspointofview,whatmakesAndroidso
great?

A.Asidefromsomespecificdrivers,itprovideseverythingtomakeaphonework
B.Itmakesthehardwareworkbetter
C.ItallowsthemtocompetewithApplesiPhone
D.Itallowsuserstocreateapps,generatingrevenueforthecompanies
Ans:A

7)WhatisafunnyfactaboutthestartofAndroid?
A.ItwasorginalygoingtobecalledUFO
B.ThefirstversionofAndroidwasreleasedwithoutanactualphoneonthe
market
C.Androidsmainpurposewastounlockyourcardoorwhenyouleftthekeys
insideofit.
D.Wasgoingtobeaclosedsourceapplicationtomakemoremoneyforits
company.
Ans:B

8)WhatyearwastheOpenHandsetAllianceannounced?
A.2005
B.2006
C.2007
D.2008
Ans:C

9)AdevicewithAndroidinstalledisneededtodevelopappsfor
Android.

A.True
B.False
Ans:B

10)Androidtrieshardto______________lowlevelcomponents,
suchasthesoftwarestack,withinterfacessothatvendorspecificcode
canbemanagedeasily.
A.confound
B.absract
C.modularize
D.compound
Ans:B
11)Googlelicensedsomeproprietaryapps.
A.True
B.False
Ans:A
12)WhatpartoftheAndroidplatformisopensource?
A.lowlevelLinuxmodules
B.alloftheseanswers#Theentirestackisanopensourceplatform
C.nativelibraries
D.applicationframework
E.completeapplications
Ans:B
13)WhendidGooglepurchaseAndroid?

A.2007
B.2005
C.2008
D.2010
Ans:B
14)Androidreleasessince1.5havebeengivennicknamesderived
how?
A.Adjectiveandstrangeanimal
B.Food
C.Somethingthatstartsw/A>Somethingthatstartsw/B
D.Americanstates
Ans:B

15)WhichoneisnotanicknameofaversionofAndriod?
A.cupcake
B.Gingerbread
C.Honeycomb
D.Muffin
Ans:D

16)Androiddoesntmakeanyassumptionsaboutadevicesscreen
size,resolution,orchipset.:
A.True
B.False
Ans:A
17)Whyarethesofewusersleftwithversions1.0and1.1?

A.Thefirstphoneswerereleasedwithversion1.5
B.1.0and1.1hadsecurityholesthatforcedcarrierstorecallphonesusingthem
C.1.0and1.1arejustnumberdesignationsfortheversionApplesiPhoneis
running
D.Everyonewith1.0and1.1wereupgradedto1.5overtheairautomatically
Ans:D
18)WhichAndroidversionhadthegreatestshareofthemarketasof
January2011?
A.1.1
B.1.5
C.2.3
D.3.4
Ans:B
19)WhichpieceofcodeusedinAndroidisnotopensource?
A.Keypaddriver
B.WiFi?driver
C.Audiodriver
D.Powermanagement
Ans:B

20)AndroidisbuiltupontheJavaMicroEdition(J2ME)versionof
Java.
A.True
B.False
Ans:B

21)WhichamongtheseareNOTapartofAndroidsnativelibraries?

A.Webkit
B.Dalvik
C.OpenGL
D.SQLite
Ans:B
22)AndroidisbasedonLinuxforthefollowingreason.
A.Security
B.Portability
C.Networking
D.Allofthese
Ans:D
23)WhatoperatingsystemisusedasthebaseoftheAndroidstack?
A.Linux
B.Windows
C.Java
D.XML
Ans:A
24)WhatyearwasdevelopmentontheDalvikvirtualmachine
started?
A.2003
B.2005
C.2007
D.2006
Ans:B
25)WhatisakeydifferencewiththedistributionofappsforAndroid
baseddevicesthanothermobiledeviceplatformapplications?

A.ApplicationsaredistributedbyAppleAppStoreonly
B.Applicationsaredistributedbymultiplevendorswithdifferentpolicieson
applications.
C.Applicationsaredistributedbymultiplevendorswiththeexactsamepolicies
onapplications.
D.ApplicationsaredistributedbytheAndroidMarketonly.
Ans:B
26)WhendevelopingfortheAndroidOS,Javabytecodeiscompiled
intowhat?
A.Javasourcecode
B.Dalvikapplicationcode
C.Dalvikbytecode
D.Csourcecode
Ans:C
27)Whatdoesthe.apkextensionstandfor?
A.ApplicationPackage
B.ApplicationProgramKit
C.AndroidProprietaryKit
D.AndroidPackage
Ans:A
28)Whenyoudistributeyourapplicationcommercially,youllwantto
signitwithyourownkey.
A.True
B.False
Ans:A
29)HowdoesGooglecheckformalicioussoftwareintheAndroid
Market?

A.Everynewappisscannedbyavirusscanner
B.UsersreportmalicioussoftwaretoGoogle
C.Googleemployeesverifyeachnewapp
D.AseperatecompanymonitorstheAndroidMarketforGoogle
Ans:B
30)Whichofthesearenotoneofthethreemaincomponentsofthe
APK?
A.DalvikExecutable
B.Resources
C.NativeLibraries
D.Webkit
Ans:D
31)WhatisthenameoftheprogramthatconvertsJavabytecodeinto
Dalvikbytecode?
A.AndroidInterpretiveCompiler(AIC)
B.DalvikConverter
C.Dexcompiler
D.MobileInterpretiveCompiler(MIC)
Ans:C
32)WhatwasthemainreasonforreplacingtheJavaVMwiththe
DalvikVMwhentheprojectbegan?
A.Therewasnotenoughmemorycapability
B.Javavirtualmachinewasnotfree
C.JavaVMwastoocomplicatedtoconfigure
D.JavaVMrantooslow
Ans:B
33)AndroidApplicationsmustbesigned.

A.Aftertheyareinstalled
B.Beforetheyareinstalled
C.Never
D.Withintwoweeksofinstallation
Ans:B
34)WhichofthefollowingarenotacomponentofanAPKfile?
A.Resources
B.AllofthesearecomponentsoftheAPK
C.NativeLibraries
D.Dalvikexecutable
Ans:B
35)TheAWTandSwinglibrarieshavebeenremovedfromthe
Androidlibraryset.
A.True
B.False
Ans:A
36)TheR.javafileiswhereyouedittheresourcesforyourproject.
A.True
B.False
Ans:B
37)Whatiscontainedwithinthemanifestxmlfile?
A.Thepermissionstheapprequires
B.Thelistofstringsusedintheapp
C.Thesourcecode
D.Allotherchoices
Ans:A

38)WhatiscontainedwithintheLayoutxmlfile?
A.Orientationsandlayoutsthatspecifywhatthedisplaylookslike.
B.Thepermissionsrequiredbytheapp.
C.Thestringsusedintheapp.
D.Thecodewhichiscompiledtoruntheapp.
Ans:A
39)Theemulateddeviceforandroid.
A.Runsthesamecodebaseastheactualdevice,allthewaydowntothemachine
layer.
B.Ismoreofasimulator,andactsasavirtualmachinefortheAndroiddevice.
C.Runsthesamecodebaseastheactualdevice,howeveratahigherlevel.
D.Animaginarymachinebuiltonthehopesanddreamsofbabyelephants.
Ans:A

40)YourJavasourcecodeiswhatisdirectlyrunontheAndroid
device.
A.True
B.False
Ans:B
41)TheEmulatorisidenticaltorunningarealphoneEXCEPTwhen
emulating/simulatingwhat?
A.Telephony
B.Applications
C.Sensors
D.Theemulatorcanemulate/simulateallaspectsofasmartphone.
Ans:C
42)Howisasimulatordifferentfromanemulator?

A.EmulatorsareonlyusedtoplayoldSNESgames,simulatorsareusedfor
softwaredevelopment
B.TheemulatorisshippedwiththeAndroidSDKandthirdpartysimulatorsare
not
C.Theemulatorcanvirtualizesensorsandotherhardwarefeatures,whilethe
simulatorcannot
D.Theemulatorimitatesthemachineexecutingthebinarycode,ratherthan
simulatingthebehaviorofthecodeatahigherlevel.
Ans:D

43)TheRfileisa(an)generatedfile
A.Automatically
B.Manually
C.Emulated
D.Noneoftheabove
Ans:A
44)Anactivitycanbethoughtofascorrespondingtowhat?
A.AJavaproject
B.AJavaclass
C.Amethodcall
D.Anobjectfield
Ans:B
45)Tocreateanemulator,youneedanAVD.Whatdoesitstandfor?
A.AndroidVirtualDisplay
B.AndroidVirtualDevice
C.ActiveVirtualDevice

D.ApplicationVirtualDisplay
Ans:B
46)TheAndroidSDKshipswithanemulator.
A.True
B.False
Ans:A
47)The___________filespecifiesthelayoutofyourscreen.
A.Layoutfile
B.Manifestfile
C.StringsXML
D.Rfile
Ans:A
48)Themanifestexplainswhattheapplicationconsistsofandglues
everythingtogether.
A.True
B.False
Ans:A
49)TheAndroidSoftwareDevelopmentKit(SDK)isallyouneedto
developapplicationsforAndroid.
A.True
B.False
Ans:A
50)WhatisthedrivingforcebehindanAndroidapplicationandthat
ultimatelygetsconvertedintoaDalvikexecutable?

A.Javasourcecode.
B.Rfile.
C.theemulator.
D.theSDK
Ans:A
51)WhiledevelopingAndroidapplications,developerscantesttheir
appson
A.EmulatorincludedinAndroidSDK
B.PhysicalAndroidphone
C.ThirdpartyEmulators(Youwave,etc.)
D.Allthreeoptionswillwork.
Ans:D

52)Whatfileisresponsibleforglueingeverthingtogether,explaining
whattheapplicatinconsistsof,whatitsmainbuildingblocksare,
ext?
A.Layoutfile
B.StringsXML
C.Rfile
D.Manifestfile
Ans:D
53)TheXMLfilethatcontainsallthetextthatyourapplicationuses.
A.stack.xml
B.text.xml
C.strings.xml
D.string.java
Ans:C

54)Whichofthefollowingisthemostresourcehungrypartof
dealingwithActivitiesonAndroid
A.Closinganapp
B.Suspendinganapp
C.Openinganewapp
D.Restoringthemostrecentapp
Ans:C
55)WhatrunsinthebackgroundanddoesnthaveanyUI
components?
A.Intents
B.ContentProviders
C.Services
D.Applications
Ans:C
56)WhatisanActivity?
A.Asinglescreentheuserseesonthedeviceatonetime
B.Amessagesentamongthemajorbuildingblocks
C.Acomponentthatrunsinthebackgroundwithoutanyinterface.
D.Contextreferringtotheapplicationenvironment.
Ans:A
57)Whenanactivitydoesntexistinmemoryitisin.
A.Startingstate
B.Runningstate
C.Loadingstate
D.Inexistentstate.
Ans:A

58)WhichofthefollowingisNOTastateinthelifecycleofaservice?
A.Starting
B.Running
C.Destroyed
D.Paused
Ans:D
59)Thereisnoguaranteethatanactivitywillbestoppedpriortobeing
destroyed.
A.True
B.False
Ans:A
60)Intents
A.aremessagesthataresentamongmajorbuildingblocks
B.triggeractivitiestobeing,servicestostartorstop,orbroadcast
C.areasynchronous
D.allofthese
Ans:D

61)Inanexplicitintent,thesenderspecifiesthetypeofreceiver.
A.True
B.False
Ans:B
62)animplicitintentisthesenderspecifiesthetypeofreceiver?
A.True
B.False
Ans:A

63)Whentheactivityisnotinfocus,butstillvisibleonthescreenitis
in?
A.runningstate
B.Pausedstate
C.stoppedstate
D.destroyedstate
Ans:B
64)Anactivityinastoppedstateisdoingnothing.
A.True
B.False
Ans:B
65)Applicationcontextsareindependentoftheactivitylifecycle.
A.True
B.False
Ans:A

66)Serviceshaveanyuserinterfacecomponents
A.True
B.False
Ans:B
67)BroadcastreceiversareAndroidsimplementationofasystem
widepublish/subscribemechanism,ormoreprecisely,whatdesign
pattern?
A.Observer
B.Facade
C.Mediator

D.Command
Ans:A
68)Therecanbeonlyonerunningactivityatagiventime.
A.True
B.False
Ans:A
69)YAMBAstandsforYetAnotherMobileBankingApp.
A.True
B.False
Ans:B

70)Listsandadaptersaremoreorganizationalaidsthanuser
interfaceelementsinAndroid.
A.True
B.False
Ans:A
71)WhatbuiltindatabaseisAndroidshippedwith?
A.SQLite
B.Apache
C.MySQL
D.Oracle
Ans:A
72)CreatingaUI(UserInterface)inAndroidrequirescarefuluseof
A.JavaandSQL
B.XMLandJava
C.XMLandC++

D.Dreamweaver
Ans:B

73)Agoodexampleappshoulddemonstratemostoftheaspectsofthe
applicationframeworkthatareuniquetoAndroid.
A.True
B.False
Ans:A
74)WhatwillservicesbeusedforintheYambaproject?
A.Recompilethesourcecode
B.Itwillupdatetweetsperiodicallyinthebackground
C.Theserviceswillpausetheapp
D.Configurestheuserinterface
Ans:B
75)Whichanswerisnotpartofthedesignphilosophytalkedaboutin
chapterfive?
A.Alwayswholeandcomplete
B.Smallincrements
C.Lagreincrements
D.Refactoringcode
Ans:C
76)AppWidgetsarecanbeplaceonthehomescreenbytheuserto
checkforupdatesareavailable?
A.True
B.False
Ans:A

77)TheandroidOScomeswithmanyusefulsystemservices,which
includeprocessesyoucaneasilyaskforthingssuchasyour..
A.Alloftheseandmore.
B.Location
C.SensorReadings
D.WiFi?HotSpots
Ans:A
78)WhatdoestheGargentameaninhisDesignPhilosophywhenhe
saysthattheprojectwill,Alwaysbewholeandcomplete?
A.Hemeansthatwhenwefinishtheentireprojectwewillhaveaworking
application,eventhoughtherewillbepointsalongthewaywhenwewillstopand
theapplicationwillnotrun.
B.Hemeansthattheprogrammustalwaysbeabletocompile.
C.Hemeansthatwewillworkontheprogrambyaddingselfcontainedchunksto
itsothatateverystoppingpointtheapplicationrunsasthoughitwereawhole
andcompleteapplication.Eachadditionalchunksimplyaddsanewfunctionality
totheapplication.
D.Noneoftheabove
Ans:C
79)AnAndroidapplicationisaloosecollectionofcontentproviders,
activities,broadcastreceivers,andservices.
A.True
B.False
Ans:A
80)WhichofthefollowingisNOTanactivitywewillbecreatingfor
theYAMBAproject?

A.PreferencesActivity
B.UpdateActivity
C.TimelineActivity
D.StatusActivity
Ans:B
81)ThetimelinereceiverwillreceivemessagesfromtheAndroid
system.
A.True
B.False
Ans:B
82)StatusdatawillbeexposedtotherestoftheAndroidsystemvia:
A.Intents
B.Acontentprovider
C.Networkreceivers
D.Alteringpermissions
Ans:B

83)IftheUIbeginstobehavesluggishlyorcrashwhilemaking
networkcalls,thisislikelydueto
A.Networklatency
B.Hardwaremalfunctions
C.VirusontheServer
D.Activitymanagercontainstoomuch.
Ans:A
84)HowdoesGargentaapproachtheproblemoftheappacting
sluggishlyduetonetworklatency?

A.Startingover
B.SwitchingAPIlevels
C.Refactoringcode
D.Multithreading
Ans:D

ANDROIDObjectivetypeQuestionsandAnswerspdffree
download::

April28,2014

iqapdf(http://interviewquestionsanswerspdf.com/author/iqapdf/)

AndroidMultipleChoice

Questions(http://interviewquestionsanswerspdf.com/category/androidmultiplechoicequestions/)

Leavea

Comment(http://interviewquestionsanswerspdf.com/2014/04/androidmultiplechoicequestionsand
answers/#respond)

85TOPANDROIDMultipleChoiceQuestionsandAnswerspdf
(http://interviewquestionsanswerspdf.com/tag/85topandroidmultiplechoicequestionsandanswerspdf/)

100REALTIMEAGILETESTINGMultipleChoiceQuestionsandAnswers
(http://interviewquestionsanswerspdf.com/2014/04/agiletestingmultiple
choicequestionsandanswers/)
30REALTIMEBLACKBERRYMultipleChoiceQuestionsandAnswers
(http://interviewquestionsanswerspdf.com/2014/04/blackberrymultiple
choicequestionsandanswers/)
ADDCOMMENT

Requiredfieldsaremarked*.Youremailaddresswillnotbepublished.
Comment

You might also like