第七章单元测试
  1. 下列选项中,设置MediaPlayer网络音频文件数据源的方法的是_____。

  2. A:setDataPath() B:load() C:setDataSource() D:create()
    答案:setDataSource()
  3. 使用create()方法创建的MediaPlayer实例处于_____状态。

  4. A:Started B:Initialized C:Idle D:Prepared
  5. 下列选项中,调用_____方法能够设置MediaPlayer实例在子线程中执行异步操作。

  6. A:seekTo() B:prepareAsync() C:setDataSource() D:prepare()
  7. VideoView中指定需要播放URI视频地址使用的方法是_____。

  8. A:setVideoURI() B:setDataSource() C:setURI() D:setVideoPath()
  9. VideoView中设置播放器进度条使用的方法是_____。

  10. A:setMediaController() B:setVideoURI() C:setVideoPath() D:setVideoURL()
  11. 在百度语音合成中需要合成播放声音调用_____方法。

  12. A:batchSpeak() B:resume() C:synthesize() D:speak()
  13. 在百度AI语音合成中要使用_____ 类实例对象。

  14. A:SpeechRecognizer B:SpeechSynthesizer C:Speech D:SpeechConstant
  15. MediaPlayer能够同时播放多个音频。

  16. A:对 B:错
  17. 使用Glide图片加载库时,使用方法Glide.with(Context context).load(String url).into(ImageView imageView)可以访问网络图片。

  18. A:对 B:错
  19. Google提供了ZXing工具,可以完成生成二维码和解析二维码的操作。

  20. A:错 B:对

温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!
点赞(4) dxwkbang
返回
顶部