版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
站名:站名:年级专业:姓名:学号:凡年级专业、姓名、学号错写、漏写或字迹不清者,成绩按零分记。…………密………………封………………线…………第1页,共1页东北师范大学《Android程序开发》2025-2026学年第一学期期末试题(B卷)注意事项:1.请考生在下列横线上填写姓名、学号和年级专业。2.请仔细阅读各种题目的回答要求,在规定的位置填写答案。3.不要在试卷上乱写乱画,不要在装订线内填写无关的内容。4.考试时间120分钟专业学号姓名题号一二三四五六七八总分统分人复查人得分得分评分人一、单项选择题(每题1分,共20分)1.以下哪个不是Android开发中常用的布局管理器?A.LinearLayoutB.RelativeLayoutC.ConstraintLayoutD.TableLayout2.在Android中,以下哪个类负责处理应用程序的生命周期?A.ActivityB.ServiceC.ContentProviderD.Application3.以下哪个不是Android开发中的四大组件?A.ActivityB.ServiceC.BroadcastReceiverD.Intent4.在Android中,以下哪个方法用于获取当前应用程序的版本号?A.getPackageManager().getPackageInfo(packageName,0).versionNameB.getPackageManager().getPackageInfo(packageName,0).versionCodeC.getPackageManager().getInstalledPackages(0).versionNameD.getPackageManager().getInstalledPackages(0).versionCode5.在Android中,以下哪个属性用于设置Activity的布局?A.setContentView()B.setLayout()C.setLayoutResource()D.setView()6.在Android中,以下哪个类用于处理网络请求?A.HttpURLConnectionB.HttpClientC.HttpUrlConnectionD.HttpGet7.在Android中,以下哪个方法用于获取当前设备的屏幕分辨率?A.getApplicationContext().getResources().getConfiguration().screenWidthDpB.getApplicationContext().getResources().getConfiguration().screenHeightDpC.getApplicationContext().getResources().getConfiguration().screenWidthD.getApplicationContext().getResources().getConfiguration().screenHeight8.在Android中,以下哪个方法用于获取当前设备的系统版本?A.getApplicationContext().getPackageManager().getSystemAvailableFeatures()B.getApplicationContext().getPackageManager().getSystemProperties()C.getApplicationContext().getPackageManager().getSystemVersion()D.getApplicationContext().getPackageManager().getSystemProperties().getProperty("ro.build.version.release")9.在Android中,以下哪个方法用于获取当前设备的网络类型?A.getApplicationContext().getPackageManager().getNetworkInfo()B.getApplicationContext().getPackageManager().getNetworkState()C.getApplicationContext().getPackageManager().getNetworkType()D.getApplicationContext().getPackageManager().getNetworkSubtype()10.在Android中,以下哪个方法用于获取当前设备的IMEI号?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.imei")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode11.在Android中,以下哪个方法用于获取当前设备的MAC地址?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.macaddr")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode12.在Android中,以下哪个方法用于获取当前设备的CPU信息?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.cpuinfo")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode13.在Android中,以下哪个方法用于获取当前设备的存储信息?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.storage")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode14.在Android中,以下哪个方法用于获取当前设备的电池信息?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.battery")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode15.在Android中,以下哪个方法用于获取当前设备的传感器信息?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.sensor")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode16.在Android中,以下哪个方法用于获取当前设备的摄像头信息?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.camera")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode17.在Android中,以下哪个方法用于获取当前设备的蓝牙信息?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.bluetooth")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode18.在Android中,以下哪个方法用于获取当前设备的GPS信息?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.gps")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode19.在Android中,以下哪个方法用于获取当前设备的NFC信息?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.nfc")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode20.在Android中,以下哪个方法用于获取当前设备的Wi-Fi信息?A.getApplicationContext().getPackageManager().getDeviceId()B.getApplicationContext().getPackageManager().getSystemProperties().getProperty("duct.wifi")C.getApplicationContext().getPackageManager().getInstalledPackages(0).versionNameD.getApplicationContext().getPackageManager().getInstalledPackages(0).versionCode二、多项选择题(每题2分,共20分)1.以下哪些是Android开发中常用的布局管理器?A.LinearLayoutB.RelativeLayoutC.ConstraintLayoutD.TableLayout2.以下哪些是Android开发中的四大组件?A.ActivityB.ServiceC.BroadcastReceiverD.Intent3.以下哪些是Android开发中常用的网络请求类?A.HttpURLConnectionB.HttpClientC.HttpUrlConnectionD.HttpGet4.以下哪些是Android开发中常用的传感器?A.陀螺仪B.加速度计C.磁力计D.光线传感器5.以下哪些是Android开发中常用的摄像头功能?A.拍照B.录像C.滤镜D.分辨率6.以下哪些是Android开发中常用的蓝牙功能?A.蓝牙耳机B.蓝牙音箱C.蓝牙鼠标D.蓝牙键盘7.以下哪些是Android开发中常用的GPS功能?A.定位B.导航C.
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年无人驾驶物流运输报告及未来五至十年配送效率报告
- 2026年自动驾驶安全标准报告及未来五至十年智能交通报告
- 2026年生物基材料在包装行业的创新应用报告
- 肺脏基质细胞对树突状细胞生物学特性的影响:机制与展望
- 肺癌患者血清β2-微球蛋白水平与化疗疗效的关联性研究
- 肺炎支原体:感染特征、耐药态势与阿奇霉素耐药机制解析
- 办公设备维修合同(2026年保修协议)
- 育龄期女性生殖道菌群特征及其与不孕症相关性的深度剖析
- 育德启智铸魂乡村:农村初中“成人”教育的探索与实践
- 肥厚型心肌病异常心电图与心脏骤停的关联剖析:ST-T改变、室性心律失常与房颤视角
- 2026年人教版(新教材)小学信息技术三年级全一册第二学期(第5-8单元)期末质量检测卷及答案(二套)
- 2026内蒙古赤峰市人大常委会办公室所属事业单位竞争性比选人员3人备考题库及一套完整答案详解
- 四川-(2025年)高考四川卷历史高考真题(含答案)
- JG/T 368-2012钢筋桁架楼承板
- 施工现场模块化箱式房制作与安装工法
- 《流体压强与流速的关系》说课课件(全国实验说课大赛获奖案例)
- 大厦综合物业管理服务投标方案
- 医院医疗设备管理及维修
- 混凝土搅拌站消防培训课件
- 生育服务证办理承诺书
- 部队安全员职责
评论
0/150
提交评论