版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
第1題WhatoperatingsystemistheunderlyingAndroidbasedon?ALinuxBWindowsCMacOSDUnix第2題ThecharacteristicsoftheAndroidsystemarenotincludedAOpensourceBBasedonLinuxCFormobilephonedevicesonlyDYoucandevelopapplicationswithJava第3題WhatlayersdoesAndroid'sarchitectureinclude?AHardwareAbstractionLayer(HAL)BLinuxKernelCApplicationDApplicationFramework正確答案:ABCD第4題ThecommondevelopmentlanguagesforAndroidapplicationdevelopmentareAJavaBKotlinCPythonDPHP正確答案:AB第1題TheAndroidSDKintheAndroiddevelopmentenvironmentreferstoAJavaruntimeBAndroidvirtualmachineCAndroidsoftwaredevelopmentpackageDJavavirtualmachine第2題TheofficialrecommendeddevelopmentenvironmentforAndroidapplicationsisAEclipseBAndroidStudioCVisualStudioDKeilQuizofTheFirstAndroidApplication第1題Inwhichdirectoryistheconstantstring.xmlplacedintheAndroidproject?Ares/layoutBres/valuesCassetsDlayout第2題AndroidManifest.xmlisAJavasourcecodefileBInventoryfilesandconfigurationfilesofthewholeapplicationCApplicationBuildScriptDLayoutfile第3題InAndroidprojects,theactivity_main.xmlfileisgenerallyAProfilesBJavasourcecodefileCLayoutfileDBuildthescript第4題IntheAndroidproject,build.gradleisgenerallyALayoutfileBJavasourcecodeCConfigurationfileDApplicationbuildscriptQuizofAndroidProgramDebugging第1題Intheandroidprogram,whatlevelofloginformationisLog.w()usedtooutput?ADebugBWarningCErrorDCommon第2題ThefunctionofLog.v(Stringtag,Stringmsg)methodisAOutputredundantinformationBOutputerrormessageCOutputdebugginginformationDOutputordinaryinformation第3題ThefunctionofLog.e(Stringtag,Stringmsg)methodisAOutputredundantinformationBOutputordinaryinformationCOutputerrormessageDOutputwarningmessage第4題Whichofthefollowinglogshasthehighestlevel?ADEBUGBWARNCINFODERROR第5題?DeviceFileExplorerisafilebrowserforAndroiddevices.ItsfunctionsincludeACreatenewfilesandfoldersBDownloadthefileCUploadDSynchronize正確答案:DCBA第6題ThetypesofLogcatinformationareAWarningmessageBErrorinformationCRedundantinformationDDebugginginformation正確答案:ABCDQuizofLayout第1題ThetypeofconstraintthatdoesnotbelongtotheconstraintlayoutisALinearconstraintBRelativepositioningCChainconstraintDCentersandtendencies第2題ThechainconstraintmodeintheconstraintlayoutdoesnotincludeASpreadoutsideBWeightedCPackedDSpreadinside第3題TherearemanylayoutsinAndroid,whichareusedtoaccommodatesub-controlsandsub-layouts,whichareinheritedfromAViewGroupBLayoutCContainerDLinerLayout第4題ThefollowingstatementiswrongAAbsoluteLayoutislaidoutintheformofatable.BLinearLayoutisalineararrangementarrangedhorizontallyorvertically.CRelativeLayoutisarrangedaccordingtorelativeposition.DFrameLayoutisablankareapre-bookedonthescreen,whichcanfillsomeViewelementsintoit.第5題UnderwhichdirectoryisthelayoutfileintheAndroidprojectAres/layoutBres/valueCassetsDres/drawable第6題ThecommonlayoutinandroidisAFrameLayout,LinenarLayout,ConstraintLayout,TableLayoutBActivity,Service,BroadCast,ContentProvideCFlowLayout,BorderLayout,GridLayout,CardLayoutDBroadcast,Linenarlayout,Relativelayout,ContentProvide第7題ThefollowingdoesnotbelongtotheandroidlayoutABorderLayoutBFrameLayoutCLinearLayoutDTableLayout第8題IfyouuseLinearLayouttoachieveverticalarrangementofcomponents,whatattributesshouldbeaddedinxmltoset?
Aandroid:orientation="vertical"Bandroid:vertical="true"Candroid:orientation="horizontal"Dandroid:horizontal="true"ProgrammingAssignment:designingpersonalizedbusinesscards第1題QuizofSimpleViews第1題Buttonisabuttonusedtorespondtotheuser'sclickevent.
第2題CheckBoxisamulti-selectbuttonandcannotbeusedalone.
第3題ImageViewcanonlyloadpictureslocally.
第4題RadioButtonisaradiobuttonthatneedstobeusedinconjunctionwithRadioGrouptoprovidetwoormoremutuallyexclusiveoptions.
第5題WhichofthefollowingattributesisusedtorestricttheEditTextinputtype?AinputTypeBkeyboardCtextDSrc第6題WhichofthefollowingViewscanbeusedtodisplayprogressAProgressBarBEditTextCTextViewDButton第7題TherearemanyViewsinAndroid,allofwhichareinheritedfrom()withoutexception.AViewBControlCWindowDTextView第8題AfterToastiscreated,whichofthefollowingmethodsneedstobecalledatthistime?AshowBmakeTextCcreateDview第9題IfweneedtocapturetheeventsofaView,weneedtocreate()fortheView.AListenerBAttributeCWayDEngineering第10題WhichofthefollowingViewisusedtodisplaypictures?
AImageViewBTextViewCEditTextDButtonProgrammingAssignment:Designregistrationpage第1題QuizofActivity第1題WhenIntentpassesdata,whichofthefollowingdatatypescanbepassedASerializableBCharsequenceCParcelableDBundle正確答案:ABCD第2題ThemethodsthatneedtobecalledwhenActivityisfirstcreatedareAOnResume()BOnCreate()COnStart()DOnStop()正確答案:ABC第3題IntentcanbedividedintoAExplicitIntentBImplicitIntentCActionIntentDDataIntent正確答案:AB第4題InthelifecycleofActivity,whatstatewillActivitybewhenpartofitisoverwrittenbyanAlertDialog?ASuspendBExerciseCStopDDestroy第5題WhichofthefollowingdoesnotbelongtotheactivitylifecyclemethodAonInit()BonCreate()ConDestroy()DonResume()第6題ThefollowingarenotonActivityResult()methodparametersAresultBrequestCodeCresultCodeDData第7題Amongthefollowingoptions,theexecutionmethodwhenActivitygetsthefocusisAonResumeBonStartConPauseDonDestroy第8題ThefollowingisthewrongdescriptionofActivity'slifecyclemethodAIntheonResumestage,userscannotinteractwithActivity.BIntheOnstopstage,theoriginalActivitybecameinvisibleandwasoverwrittenbythenextActivity.CIntheonDestorystage,thisisthelastmethodcalledbeforeActivitywaskilled.DOnPausestage,atthisstage,itisvisiblebutnotinteractive.第9題ActivitygenerallyoverloadsthosemethodstomaintainitslifecycleAonCreate(),onStart(),onDestory(),onRestart(),onResume(),onPause(),onStop()BonCreateView(),onStart(),onDestory(),onRestart(),onResume(),onPause(),onStop()ConCreateMenu(),onStart(),onDestory(),onRestart(),onResume(),onPause()DonStart(),onRestart(),onResume(),onPause(),onStop(),onEed()第10題ExitActivitytosavetheoperationofsomeresourcesandstates,whichfunctionofthelifecyclecanbeperformedAonPauseBonCreateConResumeDonStart第11題Whatisthefirstmethodthatneedstobeexecutedintheactivitylifecycle?
AonCreateBonStartConReStartDonResume第12題ThefollowingfunctionsofIntentinAndroidareAAchievedatasharingbetweenapplicationsBItcanswitchbetweeninterfaces,containactionandactiondata,andconnectthelinksofthefourmajorcomponents.CItisalonglifecycle.Aprogramwithoutauserinterfacecankeeptheapplicationrunninginthebackgroundwithoutdisappearingbecauseofswitchingpages.DDealwiththeoverallworkofanapplicationProgrammingAssignment:Confirmationofregistrationinformation第1題QuizofAndroidThread第1題NetworkconnectionscanbeprocessedinAndroid'sUIthread.
第2題ThemainthreadofAndroidapplicationsismainlyresponsibleforhandlingUI-relatedevents.
第3題IntheHandlermechanism,Messageindicatestheinformationcarried.第4題RegardingHandlerinAndroid,thefollowingstatementiswrong(
)Apost()isthemethodtogetmessages.BobtainMessage()isamethodtogetmessages.CsendMessage()isamethodtosendmessages.DhandleMessage()isthemethodtodealwithmessages.第5題WhendevelopingAndroidapplications,theprincipleofthesingle-threadedmodelreferstoADon'tblockUIthreads.BEnsurethatonlyAndroidUIcontrolsareaccessedintheUIthread.COperationsrelatedtoUIupdatescanbeputintheUIthread,includingbackgrounddatadownload.DTrytocompletealloperationsintheUIthread.正確答案:ABQuizofAdvancedViews第1題RecyclerViewcanachieveahorizontallisteffect.
第2題ThedataoftheListViewisloadedthroughtheadapter.第3題ThecorrectstatementaboutRecyclerViewisARecyclerViewcannotsetclickevents.BRecyclerViewentriescannotsetclickevents.CTheRecyclerViewusestheRecyclerView.Adapteradapter.DRecyclerViewismorepowerfulthanListView.正確答案:CD第4題ThewrongstatementaboutListViewisAListViewcannotsetclickevents.BListViewentriescannotsetclickevents.CWhenthedataexceedsthedisplayrange,ListViewautomaticallyhasscrollablefeatures.DListViewcanalsodisplaydatacontentwithoutsettingAdapter.正確答案:ABD第5題Whichofthefollowingclassesisusedtoconstructarraytypedata?AArrayAdapterBSimpleAdapterCAdapterDCursorAdapter第6題Use()whenListViewisboundtomultiplevaluesofanarrayorListcollection.AArrayAdapterBSimpleAdapterCSimpleCursorAdapterDBaseAdapter第7題ListViewisacommonlyused()typeView.AListBButtonCPictureDThedrop-downlistQuizofDatastorage第1題ThetransactionoperationofSQLitedatabasesatisfiesatomicity,consistency,isolationandpersistence.
第2題Theupdate()methodoftheSQLiteDatabaseclassisusedtodeletethedatainthedatabasetable.
第3題ThefilestoragemethodinAndroidisdividedintointernalstorageandexternalstorage.
第4題SQLiteisalightweightdatabasethatcomeswithAndroid,whichsupportsbasicSQLsyntax.
第5題InthefollowingcodethatinitializesSharedPreferences,thecorrectoneisASharedPreferencessp=newSharedPreferences();BSharedPreferencessp=SharedPreferences.getDefault();CSharedPreferencessp=SharedPreferences.Factory();DSharedPreferencessp=getSharedPreferences();第6題InthefollowingdescriptionoftheSQLitedatabase,Whichoneiswrong(
)ATheSqliteOpenHelperclasshasthefunctionofcreatingadatabaseandupdatingthedatabaseversion.BTheSqliteDatabaseclassisusedtooperatethedatabase.CEverytimethegetWritableDatabasemethodofSqliteDatabaseiscalled,theonCreate()methodofSqliteOpenHelperisexecuted.DWhenthedatabaseversionchanges,SqliteOpenHelper'sonUpgrade()methodwillbecalledtoupdatethedatabase.第7題WhenAndroidqueriesthetablesofthedatabase,itwillusethe()methodintheSQLiteDatabaseclass.Ainsert()BexecSQL()Cquery()Dupdata()第8題Inthefollowingmethods,sharePreferencesobtainsitseditorby(
).AgetEdit()Bedit()CsetEdit()DgetSharedPreferences()第9題Amongthefollowingoptions,thefileoperationmodeparameterthatdoesnotbelongtothegetSharedPreferencesmethodis(
).AContext.MODE_PRIVATEBContext.MODE_PUBLICCContext.MODE_WORLD_READABLEDContext.MODE_WORLD_WRITEABLE第10題InthefollowingdescriptionoftheSharedPreferencesaccessfile,Whichoneiswrong().AItisamobilestoragesolution.BSharedPreferencesdealswithkey-valuepairs.CThepathtoreadxmlis/sdcard/shared_prefsDThesavingformatofthetextisxml.第11題Thedatastoragemethodofandroidis()AContentProviderBSharedPreferenceCSQLiteDAlloftheaboveProgrammingAssignment:Savingregistrationinformation第1題QuizofBluetoothcommunication第1題BluetoothSocketismainlyresponsibleforBluetoothconnection,readingandwritingdata.
第2題Youcanusethelow-powerBluetoothAPItoconnectclassicBluetoothdevices.第3題Bluetoothcommunicationiswidelyusedintheconnectionbetweenmobileappsandsmarthardwareduetoitslowcost,lowpowerconsumptionandlongdistance.
第4題Speechrecognitiontechnologyisakindofhuman-computerinteractiontechnology.
第5題Speechrecognitiontechnology,alsoknownasAutomaticSpeechRecognition(ASR),isatechnologythatallowsmachinestoconvertspeechsignalsintocorrespondingtextorcommandsthroughrecognitionandunderstandingprocesses.
第6題HuaweiHiAIcanbeusedonanydeviceaboveAndroid8.0.
第7題Huawei'svoicerecognitionmethodtoobtainrecognitionresultsis()AonResults()BonPartialResults()ConEnd()DonEvent()正確答案:AB第8題ThewaytosendandreceivedatainAndroidclassicBluetoothis()Aread()Bwrite()Csend()Dreceive()正確答案:AB第9題ThepermissionsthatgenerallyneedtobeaddedforAndroidclassicBluetoothcommunicationare()Aandroid.permission.BLUETOOTHBandroid.permission.BLUETOOTH_ADMINCandroid.permission.INTERNETDandroid.permission.WRITE_EXTERNAL_STORAGE正確答案:AB第10題ThewaytocancelspeechrecognitioninHuawei'svoicerecognitionAPIis()Acancel()BstopListening()Cdestroy()DonEnd()第11題ThebroadcastofBluetoothdevicesfoundinAndroidis()ABluetoothDevice.ACTION_FOUNDBBluetoothAdapter.ACTION_DISCOVERY_STARTEDCBluetoothDevice.ACTION_DISCOVERY_STARTEDDBluetoothAdapter.ACTION_FOUNDQuizofSmarthome第1題TCPisaconnectionlesscommunicationprotocol.
第2題WhatparametersdoestheTCPclientneedtoconnecttotheserver?AIPaddressBPortnumberCDNSaddressDMACaddress正確答案:AB第3題Smarthomesystemsinclude()AHomeenvironmentcontrolsystemBHomewiringsystemCHomenetworksystemDHomesecuritysystem正確答案:ABCD第4題Smarthomecanbedividedinto()accordingtotechnicalclassification.ABussystemtechnologyBWirelesscommunicationtechnologycategoryCPowercarriertechnologycategoryDBroadc
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 健康素養(yǎng)志愿服務(wù)政策保障與資源整合
- 聲帶白斑的術(shù)后護(hù)理要點(diǎn)
- 健康環(huán)境建設(shè)與行為文明提升
- 健康教育科室在居民健康素養(yǎng)提升中的作用
- 剖宮產(chǎn)產(chǎn)婦的出院指導(dǎo)
- 健康傳播循證技術(shù)應(yīng)用規(guī)范
- 偏遠(yuǎn)地區(qū)3D打印醫(yī)療技術(shù)的多學(xué)科協(xié)作模式
- 多學(xué)科合作優(yōu)化管道護(hù)理模式
- ESD穿孔縫合術(shù)后患者再手術(shù)原因分析
- 2026年長沙環(huán)境保護(hù)職業(yè)技術(shù)學(xué)院?jiǎn)握芯C合素質(zhì)筆試備考試題帶答案解析
- 全球AI應(yīng)用平臺(tái)市場(chǎng)全景圖與趨勢(shì)洞察報(bào)告
- 2026.05.01施行的中華人民共和國漁業(yè)法(2025修訂)課件
- 維持性血液透析患者管理
- 2025年大學(xué)大四(臨床診斷學(xué))癥狀鑒別診斷試題及答案
- 2026液態(tài)氧儲(chǔ)罐泄漏事故應(yīng)急處置方案
- 直腸解剖課件
- 2025年消控員初級(jí)證試題及答案
- 遼寧省丹東市鳳城市2024-2025學(xué)年八年級(jí)上學(xué)期1月期末語文試題
- 樓宇智能弱電系統(tǒng)培訓(xùn)資料
- 人力資源調(diào)研報(bào)告
- 下水箱液位控制系統(tǒng)設(shè)計(jì)
評(píng)論
0/150
提交評(píng)論